>>Sorry is this an advanced forum?

More or less yes, but I still think your question is totally legit here
(your asking an actionscript question which isn't totally a newbie
thing, it's more intermediate IMO), so don't feel like the thread has to
Flashnewbies.

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team


 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Lee Marshall
>>Sent: Friday, September 07, 2007 3:33 PM
>>To: [email protected]; 
>>[email protected]
>>Subject: RE: [Flashcoders] Function call from a function
>>
>>Sorry is this an advanced forum?
>>
>>________________________________
>>
>>From: [EMAIL PROTECTED] on behalf of 
>>Helmut Granda
>>Sent: Fri 07/09/2007 16:14
>>To: [email protected]
>>Subject: Re: [Flashcoders] Function call from a function
>>
>>
>>
>>you have scope issues, the function never gets called because 
>>the MovieClip cant "see" it.
>>
>>target_mc.closer_mc.onRelease = function()
>>                               _parent.removeMC();
>>                       };
>>
>>or if you are in AS2 you can also use Delegate
>>
>>target_mc.closer_mc.onRelease = Delegate.create ( this, removeMC);
>>
>>also I would recommend joining the flashnewbie list for this 
>>kind of questions.
>>
>>http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie
>>
>>:)
>>
>>On 9/7/07, Lee Marshall <[EMAIL PROTECTED]> wrote:
>>>
>>> I have created a Class that has 2 functions within it
>>>
>>> Function 1 loads a movie clip
>>>
>>> Function 2 removes the movieclip
>>>
>>>
>>> I have a button setup in function 1 that reads like this:
>>>
>>> target_mc.closer_mc.onRelease = function()
>>>                                 removeMC();
>>>                         };
>>>
>>>
>>> Of which contains a removeMovieClip();
>>>
>>>
>>> Except it doesn't does anybody have any advice on calling functions 
>>> from within a function?
>>>
>>> Many thanks
>>> _______________________________________________
>>> [email protected]
>>> To change your subscription options or search the archive:
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> Brought to you by Fig Leaf Software
>>> Premier Authorized Adobe Consulting and Training 
>>> http://www.figleaf.com <http://www.figleaf.com/> 
>>> http://training.figleaf.com <http://training.figleaf.com/>
>>>
>>
>>
>>
>>--
>>...helmut
>>_______________________________________________
>>[email protected]
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com <http://www.figleaf.com/> 
>>http://training.figleaf.com <http://training.figleaf.com/> 
>>
>>
>>_______________________________________________
>>[email protected]
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
>>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to