This content has been marked as final.
Show 7 replies
-
1. Re: Simple Button Problem
Joergen N Oct 31, 2008 4:35 AM (in response to Lena P)Hejsa Sverige from Denmark ;-)
How is myButton created? Is it placed on the stage design time, or is it generated by code? -
2. Re: Simple Button Problem
Lena P Oct 31, 2008 5:01 AM (in response to Joergen N)Hi Denmark!
I guess I can say it is placed on the stage design time. I mean I have created a button and placed it on the time line on a separate layer.
/ Lena -
3. Re: Simple Button Problem
Joergen N Oct 31, 2008 5:05 AM (in response to Lena P)Are you sure, that the button has the exact text "myButton" in instance name? - remember, that upper/lower case matters! -
4. Re: Simple Button Problem
Lena P Oct 31, 2008 5:11 AM (in response to Joergen N)Yes I am, if I understand correctly what "instance name" is. I have named both my button layer and the button itself the name "myButton" exactly spelled.
/ Lena -
5. Re: Simple Button Problem
Joergen N Oct 31, 2008 5:15 AM (in response to Joergen N)If you mail your .FLA to jnd@sks.aaa.dk, I'll have a quick look. -
6. Re: Simple Button Problem
Goshine Oct 31, 2008 10:22 AM (in response to Joergen N)remove the import line ... not needed in this; -
7. Re: Simple Button Problem
iRyFlash Oct 31, 2008 10:35 AM (in response to Lena P)I have copied and pasted directly what you posted into Flash and it works just fine. Your initial post has no errors.
As mentioned the import is not req'd because you have physically placed the symbol on stage.
Again, check the instance name of the button. Click the button on stage and select Properties. Enter the instance name below.

