This content has been marked as final. Show 5 replies
I just copy & pasted your code into a new flash document, published it and uploaded it to my server, works perfectly for me.
I just changed (for testing purposes) the if statement to the 21th date and player around with it.
You can see it here that it works:
The check is set to 21, so tomorrow you should see another screen.
Thanks for responding!
That's really weird. So if my script is correct it must be something else I'm doing wrong.
I'm using Dreamweaver MX and use it's interface to imbed the Flash movie into my page. Here is what it puts in:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="158" height="98">
<param name="movie" value="../flash/Work%20Files/ScriptTest2.swf">
<param name="quality" value="high">
<embed src="../flash/Work%20Files/ScriptTest2.swf" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="158" height="98"></embed></object>
Do you see a problem there?
Do you have any suggestions as to where I can look next if this isn't the issue?
Instead of using dreamweaver, just publish the HTML directly out of flash by going to file -> publish, the files will be placed on the same location as your fla has been saved. Upload it to your server and have a try again.
NUTS! It still doesn't work. When I do a "Publish Preview" in Flash, it works correctly. When I do the same "Publish Preview" in HTML it doesn't work. It doesn't seem possible, but that's what's happening.
I tried what you suggested by bypassing Dreamweaver and putting the Flash generated HTML page up on the server and got the same result. Can the problem be somewhere else? I'm sorry to be a pest!
wow if that also doesn't work then I'm really done with my ideas on how to fix it.
Send me you your fla file to funkysoulzh[at]gmail.com so I can have a look at your fla.