ActionScript 3.0 :: Can't Even Figure Out How To Learn 3.0
Jun 21, 2009
I had a complete interactive application built in ActionScript 2.0, and now need to revise and update it -- which means converting the old code to 3.0. The first scene is a preloader for the entire application that loads and intro animation before launching the application. I went to the help section figuring that once I had some actionScript in the file, I could delete and experiment with the code until I began to understand (I did take a semester long course in Java, but not much has been retained). If you couldn't tell already, I'm a designer and not a programmer.
I copied the ActionScript from the help section, and pasted it into my Flash document. I went to test movie and got the following error message: "1037: Packages cannot be nested" I can't even figure out what that means! I have nothing else in my document.
Is there anyway of changing an integer of 100, into a 1, 0 and another 0?In context, I've got game with a score. Every time you pick up a coin, it adds 10 to the score, there's 20 coins (so a max score of 200 possible). I've got numbers 0-9 as seperate images. The score currently is a single three digit integer, and I need it to be represented as three single digit integers so I can assign those to an image.
What do you guys think is the best way to learn Actionscript is? I checked the sticky and the links, they are some good links, but I was wondering what is the best way to go about learning Actionscript. Repetition is probably a factor but should I go from tutorial to tutorial or go up in skill gradually?
What would be an advisable way to learn actionscript 3? Is it best to read up and experiment with the basics first or can you jump in at the deep end and try to do more complicated things with the help of forums? Are you going to learn much that way?
I don't seem to find any decent AS3 book for learning Object Oriented Design.
I checked several ones but most assume that you are an intermediate or advanced AS3 developer.One like AS3 Design & Patterns is good but starts simple and get really complicated quickly. Another 2 are Object Oriented AS3 and Advanced AS3 with design patterns is TOO ADVANCED. Now we have OOP books but not for the little guy with limited programming experience like me. What are my alternatives? A friend of mine told me get Head First Java and learn from there it explain Java but especially OOP for beginners. What do you guys think I should do? I feel it is a shame that I need to go to Java to learn OOP because AS3 books are not for beginners.
i'm newbie in flash action script. I would like to be a game flash maker, mmmm....i'm very confused where do i start? what first step should i learn to create game...
There is a AIR based software where in you can see as demos as well as code.. I forgot its name.. can anyone please let me know.. the software is from Adobe.
I'm trying to learn flash to learn times tables, so I want to almost but not quite repeat things. I haven't done programming since punch cards so all the "how to get from Actionscript 2 to 3" is less than helpful.I've got a Game Design book but I"m not finding how to simply copy a chunk of frames to repeat (and then change how it ends to take one answer off).
Would be of amjor benifit to learn the AS3 structure by way of Flex for the next verison of Flash? What I mean is, will Flash 9's AS be AS3 such as it is in Flex... and if so, would it be wise for me to familiarize myself with Flex's way of coding for that very reason?
I am a Java developer. I am good at learning new languages but I can't make head or tail of AS3. It seems like a different mindset that I can't get into or something.Could you provide links a AS3 tutorials that explain everything well, preferable targeted for people who have already programmed?
I am trying to create a class to learn the in's and out's of AS II and i have stumpled into a bit of a problem i cannot resolve. Below is my class, the problem i am running into is on the monitorLoad() method... Take note of the traces, the first one gives me whatever i input into the class and the second one gets lost and traces undefined...so the problem I am running into has to do with where i create the empty movie clip....but i have no idea where i should create it in order to manipulate my loadBar_mov instance i will manually place on my stage...i realize using _root is not that dynamic and i probably should avoid it...but i dunno what else to do.
I'm looking for general recomendations and tutorials in regards to learning to integrate engines and library code into my projects. I think I have the very basics of AS3 sorted, or at least I know how to figure them out (alot due to this forum).
I'm really trying to learn and construct a for loop in a practical, useful manner. I'm familiar with for loops, but I've never used one in a practical application. I understand the syntax.
1)create a page which contain a flash can be add text dynamiclly
2)make an element full screen in the web page
I found that I have to learn the actionscript to reach my requirement. However I have NEVER did the flash dev,and after googling I do not have a clear understanding of actionscript.
So I want to know some basic concepts:
1)what's the runtime environment of as?
We know the javascript run within the browser,but how about the as?
2)how about the run mechanism ?
For js,the browser download the xx.js to local,and run it.How about the as?Since I have download an actionscript example: but I do not find any xx.as,and just the xx.swf,and xx.fla,so is the xx.fla equal to the xx.js?
3)Should the actionscript be complied?
For js,answer is no. Everyone can see the source codes of the xx.js,but when I try to open the xx.fla with a text editor,I found it is a binary file.
4)how to get started with actionscript,I mean the dev environment.
For javascript,I need nothing,just learn the js Syntax,then open my favoriate text eidtor, then I can write a xx.js,and run it. But how about the actionscript? Since from google I heard people said the flex sdk is needed,I am not sure about their realationship.Also, Do I have to learn how to create the flash - xx.swf? what's the realationship between the actionscript and the flash file? Any populate tool?
I have a little math problem with a game I'm making, and I can't for the life of me figure out the formula needed to accomplish something..Say, there's a sniping game, and a BIG image that must scroll from left to right according to the mouse movement.
Something like this:[URL]... In that example, the scene is 550 pixels wide, and the image is 1100, exactly two times the scene, so the formula is kinda easy..
[Code]...
the center of the image would be at x 1500, way over to the right of the scene, outside it, but it would fit inside the screen, like this (the blue square represents the real size of the scene):[URL]..Then when the mouse is at the far right side, that is 550 x, the image center should be at -950 x, like this:[URL]...
I have a 3 screen project and there are two buttons on each screen that have to be able to enable the user to jump to the appropriate screens when clicked on. I am totally new to flash and I have tried off and on for a couple weeks to figure this out in various books and online. I just can't figure out what I'm doing wrong.
I'm trying to remove a child from the display list from a different class than I added it in but it keeps coming up that the parameter child is null. I traced it and it says undefined, but it is still on the stage.Here's what it looks like in the class where I added it:
I had a project requirement which was to stream video to people across the globe (max 100 simultaneous connections) and i was under the impression that a single HTTP server is sufficient. However, a friend of mine said i will have to use an FMS server. How does this basically work ?
If i record video from my webcam and store it for future consumption, where will it be stored ? On my site server ? or on the FMS server What is so special about an FMS server ? Can i turn any server into an FMS server I read somewhere that streaming video via my own server does not allow the user to jump to a particular part in a video. Is this true If the requirement is to stream live video to people, how does this work ? Does the video from the source (webcam) get transferred to my server and then to the FMS server or directly to the FMS server I'm pretty confused about the FMS server concept and some articles or links would really help too, however your expert answers will be invaluable
I am currently trying to figure out a circular alignment problem. so if you look at the following code, it works perfect without the positioning section. All the data is being loaded from a database and when the user clicks on the mc which houses this code in its second frame, it accesses the database and if there are more rows in the database whose owner column matches the name of the clip it will add more circles to the stage and then use other data received from the database to edit it such as its colour. But what I am also trying to do is align the newly added circles in a circular pattern around the mc (when clicked the mc will be centred on the stage.
I am trying to create a game where random figures are revealed. These random figures relate to a list of monetary amounts on the same page. As a number is revealed the corrisponding amount on the page is then deleted, hopefully with a bit of fade, movement, jazzed up a little.I cannot work out a code in order to do it. The code below is how I randomise the hidden amounts via a button.
ok so all i want to do is have a simple button blinking back n forth, on rollover, it stops blinking, and on roll out, it starts again
[Code]...
im sure its stupid but hmmm im still learning this PAIN as3! edit* on top where it says "playit" theres no space in the word...for some reason i cant seem to remove it...