Quiz Doesn't Go Past The Welcome Page When Test Movie
Oct 21, 2009
I am using a quiz template and have placed video in the first frame. Now the quiz doesn't go past the welcome page when I test movie... I'm sure what I am missing is simple!
When i zoom into the page then move around the edge of the page can be moved past the edge of the browser window showing the static page which appears at the start of the document. Is it possible to use actionscript to stop the page being dragged past a certain point so the static page is not seen? On the example below the static page is white so it does not pose too much of a problem however im using the static page as a sort of instruction page and it looks a bit rubbish if the user drags a page past the edge of the view window and see's the original page. Example below. [URL]
I created a button symbol on the bottom layer, then added action script code in the first frame on the top layer. Clicked 'test movie' so that I could click the button to generate the code:
my_btn.addEventListener(MouseEvent.CLICK, onClick); function onClick(e:MouseEvent):void { trace("The event handler works!"); }
The movie won't test. How would I fix this to work.
gotoAndPlay() is the only actionscript I have in my flash and all I want it to do is go to a frame. If I tell it to go to a frame past a certain one it will not. It always (unless I pick a frame previous to the messed up one) goes to that frame. I have only one scene.
I tryed to do this several times, and it didn't worked. The main problem is that if I test simulate the movie (56Kb) the preloader doesn't work. First it loads the entire file, then it loads the preloader which is not needed then, and the 2nd scene after that.
I have created a SWF file that plays/stops sound. The SWF file works great when previewed in Flash CS4, but does not work when inserted in the HTML file.Here are the 2 files that are automatically generated when I INSERT>MEDIA>SWF in Dreamweaver CS4:
swfobject_modified.js expressInstall.swf Here is the ActionScript3 that I am using in the Flash file:
I've got a couple of questions regarding the same project.
1- When you view URL... in IE, you'll notice that it sometimes doesn't go past the preloader. I asked why this happened in an IRC channel, and was told to use swfobject. However, with swfobject, I have the same problem. Is something else the problem?
My buttons only work when I click on them on the stage while having the "enable simple buttons" option on. They do not work if I try to "test movie," "test scene" and publish it to a SWF. Nothing responds whenever I am in these modes. I am using Adobe Flash Professional CS5 Actionscript 2.0.
i have a movie that has worked fine in past during Html test but ive been doing some dubugging using the flash test latly and it runs fine here but when i go back and try to test in Html mode no errors come just the movie never fully starts (starts up about as much as if there was an error).
I have two scenes in my flash file and in scene 1, first button takes you to frame 2 where movie clip is -works
on (release) { gotoAndStop("scene1",2); } second button takes you to frame 3
but on scene 2 that performs same function as scene 1, the first button
on(press){ gotoAndStop("scene2",2); }
instead of going to frame 2 goes to frame 3. and the second button goes correctly to frame 3.that happens when i test scene! when i test movie all buttons work properly.
Anyone know where to start thinking about logic for an XML quiz with multiple correct answers, that when the user gets the question right, that question is removed from the random array of questions so we never need to answer it again?
I've made a file in photoshop with layer. I brought it into flash. I created the movie and it plays but when I want to use the "test movie" feat. it does nothing. The graphics come up but no movement. I exported it as an .swf file but still no luck.
I'm working on a slideshow using a class that I wrote that builds the slideshow and an XML file that points to the images. I plan on improving it later but for now I just want it to cycle through a set of images, resize them if they're too big or small, and show a loading bar while the image is loading. It works fine if I test it in the Flash IDE or standalone Flash Player, but if I drag the SWF into Firefox or Safari, the loading bar refuses to show up. I also tried publishing to an HTML file and that didn't work either. I figured there could only be two different reasons why it wasn't showing up - either it wasn't being added to the stage, it wasn't being made visible after it's initially set to invisible. I decided to comment out the part of the code that make it invisible to begin with the loading bar showed up, but it wasn't showing how much of the image had been loaded when it changed to a new picture. Here's my code:
[Code]...
For some reason the pictureLoading function isn't being called when I test it in any browser. I've seen the loading bar randomly pop up a few in times in Safari 4 but then I try closing the window and testing it again and I get nothing. Can anyone help me figure this out? About:plugins in Firefox says I have Flash Player 10.0.22 installed, and I'm using Flash CS3 in OS X.
I am having trouble loading a quiz.swf into another another movie. To generate my quiz I goto File > New > Templates > Quiz > Quiz_style_1 And in the first frame of the example quiz I add: stop(); // To prevent playback this._lockroot = true; // to preserve the heirarchy
Then I publish the quiz as testquizex.swf, and I can test this movie and it works fine by itself. Then in a different movie I start with a blank scene I add a keyframe and I insert stop(); var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth()); mc.loadMovie("testquizex.swf");
Now the movie imports and loads into the frame and I can navigate through to the first question page, but the quiz doesn't actually work anymore i.e. drop targets dont work and the score won't increase. Is there anything else I have to do to the stock quiz template to make it importable into another project?
I am getting this error when I load this test page in IE. TypeError: Error #1010: A term is undefined and has no properties. at boombox_mp3_fla::mp3_player_9/item_progress() I have gone through the as3 code in the original Flash file but can't find anything which could be related to this.
I need to embed a SWF on a website. The swf is this interactive map at [URL](where it says select your region). So I found the SWF file and I tried to embed it on a test page, and its not working correctly. [URL] I don't know anything about flash, but the code I used was this:
Code: <embed src=" [URL] The map is showing up, but the continents regions are not click-able, and the drop down text is not showing the continents.
I use URLRequest where I need to load external swf file and pass it some parameters. I am now out of my ideas.
example of my code: var mRequest:URLRequest = new URLRequest("test.swf"); --works fine var mRequest:URLRequest = new URLRequest("m1-9.swf?param1=true"); --doesn't work, output
I was looking at this site:[URL]and i noticed that on a smaller screen with a lower resolution, the page simply moves in, instead of it staying at the normal size and having a scroll bar on the bottom. what extra code would i need to insert in order to do this?
Let me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.
Just wanted to know if any of you know the best way to test your project? We all know pressing (control + enter "Test Movie") will let you test the movie, but what if you have tons of art, music, and other stuff in your library? It can take quite a long time to load, just to test the movie. Anyway around this? Is there anything else I can do (already removed music, but need other art and graphics) to be able to test quicker?
I have a brand new Mac Pro (8-core "nehalem") and I'm having a very frustrating problem. While testing a movie within Flash, the Test Movie window will randomly go completely blank, showing the Stage color. The movie is still running, there's no error, it's just blank. When I resize the Test Movie window, everything reappears. Until a few seconds later, it snaps back to blank.I resize, it reappears, it disappears,I resize,it reappears, it disappears... over and over. Today is my first day really using this machine for Flash. The FLA worked perfectly fine on my old Quad G5 and on my Intel iMac at home, so I don't think it's an issue with my file. The graphics card is an NVIDIA GeForce GT 120 with 512MB VRAM. (the standard card that comes in the 8-cores.)
I'm not sure when it started happening, but I believe after the update my movie keeps looping if I test the movie. This never happened before. I'm not sure what went wrong? I never changed my action script or anything. What can be my problem?
when i use the "rest movie" function or even when i try to hear audio from the library - no sound. this problem is only with flash. all other audio programs work ok. i use cs3 for almost a year with audio - this is new problem which started few days ago.
I have had to go back and update my first ever Flash/ActionScript project. I was just learning so there are 1000's of lines of code all in frame. However, it worked and at least I understand what everything means. he problem:I made a bunch of changes, always doing several tests (test movie). I then made a backup of the file (luckily). I then noticed a number of more things to change, and after changing them and fixing some typos caught by the compiler, I test again. The progress bar slides across, disappears, and my movie never comes up. I checked the folder, and no .swf is there. When I publish, the same thing happens, progress bar completes, but no file was created.
Here are some findings from my own troubleshooting:-While compiling I open the folder and see the .swf is created then deleted- Backed up version still works (as well as other files) -- suggests I changed something causing the malfunction- No compiler errors (if I purposely create errant code, it will throw compiler errors though) -- contradicts conclusion of above- Copied all code (I think, didn't document which code changed too well) that was changed between backup copy and full-up-to-date copy to new blank file and compiled fine- Re-Save As-ed the full-up-to-date copy under new name and folder -- did not fix problem -- interestingly this new file is substantially smaller than original (og. 4.5 mb new 1.8 mb) -- also while trouble shooting the original file went from 4.5 mb to 3.8 mb - Restarted flash and then computer - did not fix- Tried testing on different computer - Errant video loaded with a runtime error #2004 unhandled IOError Error #2036: Load Never Completed -- interestingly enough I don't recall there being any loader or loading going on in the whole programI did a search, and found some recommendations for a similar problem, but for them test movie would work once and then the person would have to restart flash to test again. This is not whats happening (and I did the recommendation anyway and none worked). Each post I see the same problem as here, there are never any responses (lets hope I break this trend).
I purchased a template from template monster. I am tweaking it, trying to replace the flash picture slider with html. I want the flash menu to remain. When I replaced the slider, the menu tabs work but the tab doesn't highlight the page its on. I use flash pro 8 action with script 1.0 & 2.0 .http:[url]......Here is AS code:[code]..
Yesterday i shut down my pc and today i go to open my page to work with it and it give me the next error (An error occurred opening file) The rong of my is that i didnt get any back up and now i search to solve the problem and i didnt see anything happend. Pleace if someone knows anything post is very important.
I wanted this focus off, a class mate gave me a good javascript file to fix this. as you can see it is fixed at [url]...html you can see my problem now, the page doesn't load at the right place anymore.