hmmm... reading Sydney's post, reminds me that events bubbling up the
display list from loaded assets might not be possible, not sure if
events are turned off or not from loaded .swfs...

Jason Merrill
Bank of America  
GT&O and Risk L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GT&O Innovative Learning Blog & subscribe.




 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Helmut Granda
>>Sent: Tuesday, March 18, 2008 1:00 PM
>>To: Flash Coders List
>>Subject: Re: [Flashcoders] Custom method calls from loaded SWFs
>>
>>time to read on event bubbling.. currently I just have the 
>>call on the timeline
>>
>>frame5:
>>callParentMethod();
>>
>>so, i would need to investigate how to make it "bubble"....
>>
>>Would that be the only way to access this method?
>>
>>On 3/18/08, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>>>
>>> Does the event in the .swf bubble?  If so, you should be able to 
>>> detect it's event as it travels up the display list.  If 
>>not, can you 
>>> make it bubble?
>>>
>>> Jason Merrill
>>> Bank of America
>>> GT&O and Risk L&LD Solutions Design & Development eTools & 
>>Multimedia
>>>
>>> Bank of America Flash Platform Developer Community
>>>
>>>
>>> Are you a Bank of America associate interested in 
>>innovative learning 
>>> ideas and technologies?
>>> Check out our internal  GT&O Innovative Learning Blog & subscribe.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> >>-----Original Message-----
>>> >>From: [EMAIL PROTECTED]
>>> >>[mailto:[EMAIL PROTECTED] On Behalf Of 
>>> >>Helmut Granda
>>> >>Sent: Tuesday, March 18, 2008 12:28 PM
>>> >>To: Flash Coders List
>>> >>Subject: Re: [Flashcoders] Custom method calls from loaded SWFs
>>> >>
>>> >>AS3, compiled with Flash IDE.
>>> >>
>>> >>On 3/18/08, Sidney de Koning <[EMAIL PROTECTED]> wrote:
>>> >>>
>>> >>> AS2, AS3, AIR? Tell us more!
>>> >>>
>>> >>>
>>> >>> On Mar 18, 2008, at 5:02 PM, Helmut Granda wrote:
>>> >>>
>>> >>> > Hi All,
>>> >>> >
>>> >>> > I have a small dilema with calling an event from a 
>>loaded SWF, 
>>> >>> > either through a direct call or dispatching an event.
>>> >>> >
>>> >>> > Basically my main application loads different SWFs to a 
>>> >>> > container and there is about 20 of them but one (and 
>>only one) 
>>> >>> > needs to interact with the application.
>>> >>> >
>>> >>> > I tried to put a simple function call callToParent() but
>>> >>of course
>>> >>> > it gives me errors at compile time. whining that the
>>> >>method doesnt
>>> >>> > exists.
>>> >>> >
>>> >>> > Any suggestions? I know the long way to go around to 
>>this is to 
>>> >>> > create a custom class that will load the content in to that 
>>> >>> > class and then make the calls frorm there but I was wondering
>>> >>if there was
>>> >>> > an "easier" way around it.
>>> >>> >
>>> >>> >    TIA
>>> >>>
>>> >>> > _______________________________________________
>>> >>> > Flashcoders mailing list
>>> >>> > [email protected] 
>>> >>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> >>> >
>>> >>>
>>> >>> _______________________________________________
>>> >>> Flashcoders mailing list
>>> >>> [email protected]
>>> >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >>--
>>> >>...helmut
>>> >>_______________________________________________
>>> >>Flashcoders mailing list
>>> >>[email protected]
>>> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> >>
>>> _______________________________________________
>>> Flashcoders mailing list
>>> [email protected]
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>>
>>
>>--
>>...helmut
>>_______________________________________________
>>Flashcoders mailing list
>>[email protected]
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to