|
-
attachMovie not working in Flash 8
Hi guys,
I'm trying the 30 day trial of Flash 8.
I'm continuing with a project I was doing in Flash 5. When I publish for "Flash Player 5", everything works as before, but there are problems if I publish for "Flash Player 8" (with AS1 or AS2.)
I have the unique content being loaded via "attachMovie" from the library with linkage properties. But they are not loading now !!!
I tried making a new swf and seeing if I could get attachMovie to work in the same way and it did! Is there a problem with this when you update older Flash documents?
BTW - when testing the movie, there are no error messages in the output. Further, it works for Flash Player 6 but not 7.
Thanks for your help,
Chris
Last edited by flashMine; 01-04-2006 at 09:28 PM.
Reason: Extra info
<insert witty signature here>
-
go blues !
make sure you have chnaged the linkage properties in the library, they tend to be a bit wayward.
-
thx for responding, but...
I went through all of that before I posted my original request for help; everything under linkage properties is fine - same as before.
But did you mean that I have to change it to something different to kick start it working?
I've just changed the names under linkage properties (putting "the" in front of everything) and my script accordingly, but same problem: works when published with "Flash Player 5 & 6" but not "Flash Player 7 or 8".
Does anyone have any ideas or encountered this before?
Thx
Chris
Last edited by flashMine; 01-06-2006 at 12:12 PM.
Reason: quick update
<insert witty signature here>
-
Senior Member
Show some code. It should work in Flash8 same way as before. Maybe you are using "add" command somewhere or undefined variables.
-
·»¤«·
Also keep in mind that AS2.0 is case sensitive, where AS1.0 was not. So if even one letter uses the wrong case, it will work in AS 1.0 but it will fail when published as 2.0. I see you use the proper case for 'attachMovie', but if any surrounding code uses improper case(including references to variables, ect.) that can cause a problem.
>flashl!ght<
All the normal names were taken.
Ron Paul was right.
-
Done !
Thanks for your input guys!
I was just going through everything - writing a long account of what I had when I fixed the problem...
I realised that attachMovie WAS working but couldn't see where my movie was failing - I thought it was the with() function - telling my "controller" movieclip to "goToAndPlay("fadeIn")". but then, knowing that I was controlling the fade-in with a variable "i" that I hadn't declared anywhere, found somewhere I could declare it. Now it works like it's supposed to!
I guess Flash 8 really wants us to be pedantic to an extent way beyond Flash 5 ever expected us to be.
Thanks again,
Chris
<insert witty signature here>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|