I begin to wonder if there is a general problem with ActionScript 3 here?
At first I started to create a little game with AS3, Flex and the IDE Flash Developer.
But when I tried to implement that game in my book, I got a visual problem.
Instead of showing my game I've got another smaller version of my book inside that page. Creepy!
So, I started to ask here and the answer was that Flex takes the predominance of the book and so won't work in the book.
Ok! Bad for me.
No Flex, no Flash Developer.
I installed the 30 days trial of Flash Professional and builded a little quiz with AS3.
Therefor I have:
- Quiz.fla --> empty document
- Main.as --> created under the stage properties at the point "Class"
No errors in Flash while I test the scene. Great.
Next step was publish it and copy the SWF-File into my book-folder.
And again, instead of my Flash-Document I got an extra book inside my page.
So I deleted line by line in my "Main.as", published it and tried again. But it didn't work.
With a barely naked "Main.as" my book shows 4 dots like a loading action but that's all. These dots run from 1 to 4 visible dots and don't stop.
Also in the console is no hint for an error.
So last step I deleted the link to the "Main.as" from my "Quiz.fla", published and copied it into my book-folder.
And ... wonder ... it works.
My question now, is this only a local problem on my PC?
Or does anyone else have problems with AS3-Class and Megazine3?
I really despair of this problem!
I don't understand why I can't use AS3 code in my book.