If you are having a problem with flash objects not showing up or disappearing on your html pages this may be a fix for you:
Look in the <head of your html source code. You will notice
<script src="../../../Scripts/AC_RunActiveContent.js "type="text/javascript"></script> Flash CS3 automatically adds this code when you embed a flash file. It also automatically adds the AC_RunActiveContent.js file to your directory.
1. Make sure you upload the AC_RunActiveContent.js file.
2. Make sure the path in your souce code is correct. If your files are in the same directory, it should just read...
<script src="Scripts/AC_RunActiveContent.js "type="text/javascript"></script>
That fixed it for me.
This is just one more "bright idea" someone at Adobe had to "improve" Flash and Dreamweaver in their new CS3 version of the software. Can somebody take the guy who thought of these "improvements" out back someplace and beat him with a wet noodle or something?
If you have CS3, you are going to notice a LOT of problems. I have had it only a few weeks... so far I have a good number of problems both in Flash and in Dreamweaver.
First, Dreamweaver rewrote the php code on ALL the pages I had created before installing CS3 rendering all the pages totally unusable. The work around for that was to rewrite ALL the pages and save using CS3. I am SILL trying to catch up on the rewrites. Seems once you rewrite the php using the new CS3 it stays. But, it is a major pain in the butt.
I was working on a deadline and had to get this working for a client. After sitting at my pc for 27 hours straight with no sleep, I talked with Adobe's level2 technical support. After first accusing me of being mistaken, then trying to blame the problem on WS_FTP Pro, and at LAST... after 3 hours on the phone with me and FINALLY admitting there is a problem with Dreamweaver, I was told there would be a bug report made. Who knows if it will really get fixed. Until then just be warned, if you have php you have previously written when you install the new CS3 it may just eat it.
You may want to save back up copies outside your site area and try opening and saving them in CS3 after the instillation. I don’t know if this will work because I haven’t tried it. But, it was something I thought of after my 30 hour ordeal.
Then, I found that Flash Actionscript 3 no longer accepts the old way of creating button links.
Remember the old simple way?
on (release) {getURL('http://www.somepage.com');
}
That was all it took and your button link was complete!
Current section cannot have actions applied to it.
Well, now you can no longer create actions on the button itself. They have to go on a separate layer in the first frame (preferably) of an all inclusive (meaning you put ALL your actions in it) action file. Oh and now the code looks like
this...
myButton.addEventListener(MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event: MouseEvent) {
var request:URLRequest = new URLRequest("http://somepage.com");
navigateToURL(request);
}
Many Thanks to Gary for that snippet of code:
http://flashgameu.com/ask_gary/ask_g...n_as3_way.html
If you want to use the Actionscript 2.0 way, you MUST select Actionscript 2.0 BEFORE you create your movie.
It will take some getting used to CS3 but I am “told” it is much better than the older MX I was using. Maybe someday CS3 and I will be friends. I do like the new Photoshop, at least.