Thank you very much for the fast answer, but I'm not an advanced programmer in Flex, so I would need a bit more help from you. I wouldlike you to tell me if it is possible to do what I want to do? and could you be more specific n the information you gave me please?
I think you mean something like this:
private function progreso(event:StyleEvent):void
(this.systemManager.getChildAt(systemManager.numChildren) as Preloader).getChildAt(XXXXXXXX).dispatchEvent(event)
/////////////////////// (this.systemManager.getChildAt(systemManager.numChildren) as Preloader)) -------->gets the preloader
///////////////////////(this.systemManager.getChildAt(systemManager.numChildren) as Preloader).getChildAt(XXXXXXXX) -------------> would get the progressbar (only If I have XXXXXvalue)
let me tell you that the method that I posted on the last message was a part of this class:
public class PreloaderDisplayBase extends Sprite implements IPreloaderDisplay
PreloaderDisplayBase is my Preloader.
I hope you can help me.
Sebastián Toro O
You will have to search the systemManager for the preloader.
Var n:int = systemManager.numChildren
For (var i:int = 0; I < n; i++)
If (systemManager.getChildAt(i) is Preloader)
Var preloader:Preloader = systemManager.getChildAt(i);
Var myProgressBar:IPreloaderDisplay = preloader.getChildAt(0);
Flex SDK Developer
Adobe Systems Inc.
Alex, you have solved my problem, thank you very much for your time and help.
May G-d bless you
Sebastián Toro O.