ActionScript 3.0 :: Create An Animation For A School Assignment?
May 14, 2011
I have to create an animation for a school assignment... Anyway I'm quite new to Adobe Flash and I'm using Action Script 3.0. I have created the first segment of my animation and I'm now onto the second part but when i go to change the stage background of my second segment it changes the background of my first segment. If you don't understand this just say so and I'll rewrite.
[Im new to these forums so if I have posted in the wrong section could Admin/Mod move it.
View 1 Replies
Similar Posts:
Jan 7, 2010
Basically at my school we are doing a project that allows you to walk around the school like you can on "Google Street View". Me being a geek, the teacher asked me to make a prototype using my house to see if this idea would work. So today I went on Flash and made two working Flash/SWF files, one being a "Google Street View"type of thing of my upstairs and one of my downstairs of my house. I made two SWFs because at school there are many different people working on the project so there will be many different SWFs to combine.
So after making the two SWFs (the upstairs one called Untitled-2 and the downstairs called downstairs) I tried to merge them together. Each one of the SWFs have action script on these" Arrows" that allows you to guide around my house. The action script on all the arrows is:
on (Release) {
gotoAndStop(Frame Number);
}
I made a new Flash Document and one the first scene I had a Button That Said "Begin". Once Pressed, it takes you to scene 2. On scene two I went to File > Import > Import to Library and Selected Untitled-2.swf. Untitled-2.swf was then in my library. I clicked and dragged it into the stage of Scene 2 and in the timeline only 1 keyframe pooped up. I thought it would work so I previewed the Flash Movie. The Begin Button show up, and when I clicked it preview file Flashed each Keyframe in Untitled-2.swf even though the first frame in Untitled-2.swf has the action script: stop(); The whole thing is uncontrollable and I dont know what to do. I hope you understood what I wrote (Im not the best with spelling and grammar). So in a nut shell, how can I combine 2 SWF files In Flash, whilst maintaining all the action script in each file.
View 1 Replies
Jan 12, 2012
I have an XMLList in actionscript
var xmlList:XMLList = new XMLList();
var xmlList2:XMLList = new XMLList();
xmlList = xmlList2;
If I make operations on xmlList2, is xmlList affected?
View 1 Replies
Dec 6, 2011
ok lets say you create a button that when held down play an animation of 20 frames if realsed it goes to frame one and stops if held down it plays out this animation. for the topic lets say you have a fire animation and you want the fire to apear and if the user hold its down the animation reaches the end of the time line and loops back and plays the last 5 frames of the animation and as soon as it is let go it goes to and stops at frame one. Well i know how to make a button that when held down plays out an animation. And i know how to say when released goes to and stops at frame one. What i dont know how to do is to loop the fire at the last 5 or 6 frames so the user can hold it down all day long and play out that animation.
View 1 Replies
Dec 1, 2010
we had a school project to make a device. My partner said that we should make a computer game for our school project. I asked in another forum if it is possible to do it in less than a week. They told me flash is the best for beginners. I was thinking of making a clone of hangaroo but replace it with another animal and my country's language. Is this possible in flash? Is there noob-friendly tutorials out there that explains the basics of how to make a hangaroo style flash game?
View 2 Replies
Oct 20, 2009
Edit, it works when i upload it to my school server!
View 1 Replies
Aug 28, 2009
For the last couple of weeks, i've been trying to develope an interactive yearbook for my school. Im using an external XML, and trying to push all the data in the xml to assigned arrays. Also im trying to use a for loop to create empty movie clips. This empty clips will serve as "pages" if the total number of students is greater than 25. Also, on these pages im trying to attachMovie to a specific x, and Y, as you'll see in my source code.
Other than that, i can not figure out where im going wrong.When i first try to publish it, it gives me an error saying that the path is undefined, and will not load ANYTHING. if i make a few changes, it just sits there blanky.
[Code]...
View 1 Replies
Jan 14, 2011
I'd created an interactive quizz that worked great [URL] Then I decided to spruce up the background and add a "title slide" [URL] Both ran great on my home computer, but the second version bugs out on the school's computers! Everything seems fine until you try to advance past frame 2 using the "next question" button, and although you see the button's over and down states, the slide never advances. I only changed one line of code between the two examples, the one declaring the slide number variable, and the logic must be correct as everything runs great on my machine at home! Both machines are running IE7 and have Flash player 10 installed. Do you know of any issues with network compatibility that I may have overlooked? As I don't have CS5 on the machines at school, I can't run the .fla files directly for debugging, so I don't know what to do to locate the error.
View 5 Replies
Oct 26, 2010
I'm in desperate search for a professional Flash Developer who wouldn't mind taking a few moments to participate in an interview about a past or recent Flash Project he/she has worked on. Unfortunately for me, I have had 2 people commit to this, and back out. The first completely ignored all messages and inquiries after I sent the information to her. After having no choice but to search for another person, I found another that was eager to help. Two days after I sent him the related material, I received a message stating he wasn't aware that it was a Flash project, and that they don't do any Flash in house, so as of last night, my second lead has turned into a dead end. I am now on my last ditch effort to find someone that would be willing to share their experience with me, so I can complete my assignment on time, which - by the way - is due Friday, October 29th.
[Code]...
View 1 Replies
Oct 30, 2009
You all know the new generation of fancy, mostly Flash-based file uploaders like SWFUpload that can show a progress bar while uploading - a great improvement especially for shaky and low-bandwidth connections.
However, these uploaders all bring their own logic of how to handle uploads on the client side. I am looking for an unobtrusive way to "fancify" existing, classical file uploads, i.e. introducing a progress bar to normal file upload forms.
Due to the architecture of uploading files, this is most likely not possible without some tweaking on the client side.
I am looking for a solution that keeps the tweaking to an absolute minimum, e.g. a component that adds itself to the onsubmit event of a normal form, performs the file upload, displays a nice progress bar, puts the resulting temporary (server side) file path into the form, and submits it. On the server side, I just have to modify my script to use the file path provided by the flash uploader, instead of $_FILES and consorts, and think about security for a moment.
This is not exactly what all the Flash-based uploaders do: They can use data from a form, but they do not provide possibilities to submit the form as is, what is what I'm looking for. I am looking for a (probably) Flash based upload function taken a step further.
View 6 Replies
Jun 16, 2009
Im looking to stream educational DVDs within my school, i now have a spare server but im not 100% sure what adobe flash product i need to do this?As ive seen a few different options to buy but thinking will the Adobe Flash Media Streaming Server 3.5 be good enough?Also the streamed files are they all via web page or can you use something like VLC player and connect to streamed files that way?
View 3 Replies
Jun 23, 2009
To enter static text in Flash, the only measurement option available for the text size is points,while the measurement for"Letter Spacing" appears to be pixels (based on my own observations, can't find documentation to verify this). Can either option be changed so that both options are measuring pixels or point/em units?
For instance in InDesign, the type size is in points and the "Tracking" is 1/000th em (see comment here). Both measurements are based on the same basic unit, while Flash seems to be using two different basic units of measuring.
View 1 Replies
Oct 5, 2011
i have a big assignment to schedule in the end of the month/ i've made a game which made of pictures and videos (flv), and when i've inserted the third flv movie i tried to test my project. and when i have exported it, it reaches the end and just doing nothing: no errors, no file, just nothing. my project is on 1920X1080 resolution, i have 23 videos of 10 seconds each, that i need to insert, and the quality is 1500 bits.the first two inserted movies succeeded, but from the third and above, nothing happend.
View 1 Replies
Aug 6, 2011
So I have this issue I have never seen before and am unsure how to solve. I might be dumb but Im pretty sure I can do this. any ways can some one tell me why the following throws a Target of Assignment must be a refrene value?
public class test
{
private var t:Test = new Test();
[Code]....
There is a reason I am doing it this way. How ever I am not here to disuss that I am here to discuss why I am getting this error. loadFile(fileToLoad:String) takes a string, I am essentially giving it a string..
View 4 Replies
Jan 16, 2012
I wirte my own jsfl commands and put them into "Commands/myScript" folder, and Flash-IDE can recognize/run them without any problem.But when I assigned key shortcut to my commands in "Commands/myScript" folder, and restart Flash-IDE, my shortcuts will NOT WORKING.To correct this problem, I have to open Keyboard Shortcuts Setting window, switch to my own commands, not doing any change and click OK, then my shortcuts work again now(I have to do these EVERY TIME after Flash-IDE started).
View 1 Replies
May 4, 2010
Target of assignment must be a reference value
for (var z:int=0; z<this.tags.getItemAt(i).yearPopularity.length; z++) {
summedPopularity.getItemAt(z) = summedPopularity.getItemAt(z) + tags.getItemAt(i).yearPopularity.getItemAt(z);
}
View 3 Replies
Sep 8, 2011
I am looking to create an interface where i can load an swf file into a particluar level, in this case level2, above an empty level1 and my main movie on level0.Once the swf is loaded (into level2), i want to trigger an action causing the swf in level2 drop to level1 ... and populate level2 with a new swf. The swf in level1 would unload in a particular frame of the timeline in the level2 swf.I have tried the swapDepth action but that does not seem to be working as i intended.
View 4 Replies
Apr 7, 2005
I have been playing with this for a day and haven't been able to figure out the proper path to load this variable.So I have a main movie, a menu (movie clip) in it, and each menu option loads an external swf in a movie clip instance (called content) in the main movie.Loading the movies works fine.My problem is I want assign a variable that I have declared in a loaded movie in the 'content' instance.
Main Movie
|
- Menu (MC)
-onrelease -loads movie.swf, assigns defaultpage var a value
[code]....
Here is the onrelease code I'm using
on (release) {
this._parent.content.loadMovie("company.swf"); //this works
this._parent.content.defaultpage = "somevalueinhere"; //this doesnt
}
View 5 Replies
Feb 18, 2009
I have got a component within my flash form. I have a button that sends information to PHP (this is working). What I need is checking whether the check box is selected or not, so that if it is my button will go to one place, and if not then it will go to another (which I know will be done with an 'if' statement).
View 4 Replies
Jun 19, 2009
I have loaded a .obj into away3D with a given material (not using the .mtl file), and through the course of rendering, I want to change the object's material. Here is how I load the .obj:
var object:Object3D;
function loadObject():void
{
[code].....
View 3 Replies
Jul 18, 2011
Why cant i do this in actionscript 3
[Code]...
Is there another way to achieve the same results?
View 1 Replies
Jan 22, 2011
Im working on a multiplikation test in flash as a school project. I just wondering what the problem of this action script can be?The point with this script is that if svar1_txt equal to the number 10 that the user type in, it should give one point and number one is gonna show up in po�ng_txt.
var po�ng:Number = 10;
if (parsetInt(svar1_txt) = 10){
po�ng++;
po�ng_txt=String(po�ng);
}
View 2 Replies
Feb 11, 2012
[Code]....
I keep getting this message <b> Left side of assignment operator must be variable or property</b> How can I get around it?
View 2 Replies
May 16, 2010
I keep getting this error on the following line:
Code:
dc.score += 3;
dc is an instance of the document class, which contains the score variable. But in the class, I have score declared as a variable, not as a constant.
Code:
public var score:uint = 0;
I remember that the code worked an hour ago, but I don't recall changing anything here.
I also get these:
1195: Attempted access of inaccessible method updateScores through a reference with static type rd2:dclass.
1195: Attempted access of inaccessible method spawnUmbrella through a reference with static type rd2:dclass.
View 5 Replies
Oct 27, 2010
I don't know how to fix this error - 1105: Target of assignment must be a reference value.Here's my code:
Code:
var myListener:Object = new Object();
myListener.onKeyDown = function() {
[code]......
View 3 Replies
Jun 2, 2009
I am getting an error with the following code:
this.footerUp = false;
//User has clicked on footer to move up
function footerUp(p_event : Event) {
[code]....
the error is:
1168: Illegal assignment to function footerUp. It is referring to the lines in red.
View 9 Replies
May 25, 2004
onClipEvent (load) {
_root.acc = 100;
}
acc is a dynamic text, but when I run the movie it gives an undefined error. What do i do?
View 4 Replies
May 1, 2009
I was wondering if anybody knew how to create the title animation as seen in 10 Things I hate about you opening credits.URL...
View 1 Replies
Jul 16, 2009
Im looking to create a rollover animation that looks like the one you will find on the 2advanced sites lower navigation bar. Click on the button "view demo reel" for the example.
View 1 Replies
Mar 9, 2009
I'm in a class in which I have to create a web app with animation, etc. The animation part I got after some sweat. I managed to create some buttons with the graphics for the 4 states. When I try to use those button is where I start getting lost. I've reference 3 or 4 books, lynda.com videos, etc. I can follow the code when I see it, but I have no idea what to do. Some seem to set the stop and start in the button, some in a layer with AS3 -
What I have is a background layer with static graphics, another layer with the animation, also static in that the picture changes BOOM each time, no tweening. There's a layer with audio that is lines up with the animation. I can get the audio and animation to play together. I just can't get them both to stop and start when I hit any buttons.
View 3 Replies