ActionScript 3.0 :: SWF Plays Under Another SWF?

May 24, 2010

I have a menu SWF that comes up in a UILoader, and this file then uses this code to go to another SWF:

var loadit = new Loader();
addChild(loadit);
loadit.load(new URLRequest("physics.swf"));

Which it does fine, but then the original menu SWF plays again underneath the newly loaded SWF, and I'm not sure why? Is there any way of stopping this?

View 6 Replies


Similar Posts:


ActionScript 3.0 :: Flash File Plays One And Stops In End And Only Plays Again

Dec 11, 2011

I want my flash file plays one and stops in the end and only plays again if  play again button is pressed.How do i do it?

View 1 Replies

Actionscript 3.0 :: Movie To Loop - Movie Plays A Certain Number Of Times Then Plays The Opening Of A Screen Then Stops

Aug 30, 2011

I want my movie to loop. Would prefer an If/Else loop so that the movie plays a certain number of times then plays the opening of a screen then stops. This is a simple 4 screen ad I am doing for a school project. Can't get it to work. I tried containing my code in the proper loop syntax, didn't work. Then wrapping the loop in a function and calling that with a timer event, didn't work. My final solution was to call my whole movie in a timer event set to play once. Then calling the entire movie again in a second timer event set to play 20 times and set to start at an interval when the first movie ended. This did work but each time the movie plays thru function calls drop off making the movie degrade.

[Code]....

View 5 Replies

White Box Before Swf Plays?

Jun 1, 2009

I looked for similar questions on the forum, but couldn't find a reference. This is likely an inane question (with a simple answer), but here goes.I have created slideshows for a site with a blue background. In quick succession, the page loads, a white box appears where the swf will play, and then the Flash movie starts. The background color of the Flash file matches the background color of the site. How do I get rid of the white box that appears beforehand?

View 2 Replies

CS3 : Keep Button From Activating Until After Mc Plays?

Jul 17, 2009

I have a simple movie clip of fading in text displaying on page with a sound. also have a button that allows user to go to the next frame. It is an exercise for students that basically goes like this: object presented in each frame, spelling (text) for that object fades in on mc with sound attached to mc, then button activates to let them move on to next. Since they are trigger happy, I don't want the button that allows to move on to activate on the frame until AFTER the movieclip and it's sound have played out (which is like 2 seconds so not a long wait) - otherwise, they would just keep clicking next and not listen to the material presented (it's very young children).

How do I set this up? I knew it's likely very simple, but I'm a newbie. Of course, I could always just do it on the timeline, but I have a ton of material, so am trying to use actionscript to be more efficient. for even younger kids, am considering setting this up so they can move to next frame through any keypress. I know how to set up a certain key, but not ANY key.

View 2 Replies

Unload SWF Still Plays The .flv (audio)?

Jan 4, 2010

I have a captivate generated SWF file which has a .FLV inside it.In flash on click of a button I unload the movie(SWF), the video goes away but the .FLV still plays the audio.

View 2 Replies

FLV Video Plays WAY Too Fast

Aug 6, 2009

I encoded an AVI w/ Media Encoder and dropped the FLV into a Flash playback component.In my compiled SWF, the video plays in hyperspeed (like it has a really fast framerate), but the audio plays normally.It seems like an encoding issue, but could it be something in Flash?I'm guessing there's some setting mismatch -- different bitrate, framerate, dimensions?[code]...

View 5 Replies

Button Plays Sound Twice

Nov 28, 2009

In my flash game, every time you click a button, it plays a short sound. Almost all of the buttons work - Except for a few random handful. Those couple play the sound twice. I don't know why either - I double checked everything.None of the frames have sound. The buttons that play twice are only set to play once. I didn't do anything different between the ones that worked and the ones that don't work.

View 2 Replies

Swf Plays But Isn't Interactive In Html

Dec 2, 2009

What am I doing wrong? When loaded to the server, the swf file works as intended: [Url] But, when embedded in html document, the movie plays but the buttons aren't interactive: [Url]

View 7 Replies

Flash :: Only Plays One Key Frame

Jan 16, 2010

I hope I explain this well. But in my game I have 3 keyframes for my bullet Movieclip. 1 to display its normal state. 2 to show it Blown Up, and 3 to remove it from the stage. A total of 3 frames. When the bullet hits an object, I go to and play the 2nd frame. then when frame 3 hits, I remove it. Here is my code

[Code]...

View 3 Replies

FLV Plays From Computer But Not Website?

Apr 22, 2011

I have set up a splash page video (flv) set up as a FLVplayback. It all works fine from my computer. When I try and link it to my website flv file it comes up as an error code...error opening URL. The link is set up as...[URL]

View 1 Replies

ActionScript 2.0 :: Preload A 2nd SWF While The 1st Plays?

May 16, 2007

My first Flash project involves 2 animations each in it's own HTML page and it works fine and my client is happy - except, as noted below. The first SWF is short, the 2nd much longer.Therefore, the 'getURL' in the first SWF results in a 1-2 second pause, instead of an instant and smooth transition, between the 2 animations, the first time someone accesses them.

View 6 Replies

ActionScript 3.0 :: Have A Swf File That Plays Frame 1 Of Another Swf?

Mar 15, 2008

I need an example of how to have a swf file (empty swf, just has code in it) that plays frame 1 of another swf, And once that swf has played for its duration I would like to click on a button, to open another swf and remove the previous one.

View 7 Replies

Flash 8 :: Template Plays On PC But Not On Server?

Apr 16, 2009

I tried to search but was unable to find. Just to see if I was publishing incorrectly I took a stock flash 8 template and uploaded it to my server putting all files and directories exactly as they were on the local version. Same result as my published version. Works perfect on my pc when I click the index.html file. All loads smoothly and template works perfectly.But when I load the same template onto the server via filezilla (all loads fine and the file sizes appear to all be correct). All I get is blank page on screen and says done in bottom of page. (Mozilla)SO, on IE I get page error and nothing loads. On mozilla I get nothing at all just blank page and at the bottom it says done?

So I guess what I am asking is: Is there something that I am missing when uploading a flash8 template straight out of the box. No edits no changes just upload to see how it looks from the server?NOTE: On same server I loaded a FULL FLASH template that I even made some edits on and loaded it partially finished and it worked fine. The other template in question is a flash banner template I tried from the free downloads section of template monster (Its the one with the green apple split into sections and stacked off center) couldnt find a name for it or template number

View 1 Replies

ActionScript 3.0 :: SoundChannel In Class Only Plays Once

Dec 27, 2010

The soundChannel only plays once.Im guessing this has to do with using a class?[code]...

View 5 Replies

Repeat Movie Clips After Plays Though?

Mar 25, 2011

I have a flash banner with my stage swf that I have loaded four swf files into and they play through sequentially. Now, I need it to repeat and play through again.

View 1 Replies

ActionScript 1/2 :: Load A Swf That Loads Another Swf That Plays Flv's?

Mar 14, 2009

on my web site i load a swf that loads another swf that plays flv's. but it doesn't work! if i load a swf that loads a swf that plays swf's...no problem. here is the code..cs4 as2....

loadMovie("../medicus/medicus.swf","swf_1");

View 3 Replies

ActionScript 3.0 :: RemoveChild But Audio Still Plays

Jul 16, 2009

I have as3 script that loads an external swf which contains flv video:

[Code]....

The movie clip is removed but the audio continues to play. Why is this? What can I do to make sure the audio is removed also?

View 10 Replies

FLVPlayback Plays Audio But No Video?

Jul 30, 2009

this one is really doing my head in and any advice (even vague thoughts) would be really great.I have an FLVPlayback component on the stage and I am loading 8 FLVs in to 8 separate video players within it. I then play the first one and when it ends I randomly select which to play next.Everything seems to work fine except that each time I run it one or two of the clips play back with only audio only and no video. It is not the same clip each time but whichever one it is will consistently fail to playback untill I re publish when it chooses a differrent clip to fail on.I am publishing for FP8 from CS4 on a Mac and it fails when I test movie as well as in FF and Safari.
 
If anyone has any ideas on this at all please shout them out or I am heading for the forrest never to return

View 3 Replies

Published File Plays Very Slow?

Sep 7, 2009

The Flash file that I've attached plays very slow on my other, older computers.  It plays fine on mine, but these older computers play other flash files (i.e adobe.com) fine.  I want to know if I'm missing something here as to how making this play efficiently.  I understand that I am using photographs - rasterized images - but, is it really supposed to take that much power to play it?

View 1 Replies

Professional :: Stop An Animation Once It Plays?

Feb 12, 2010

What I want to do is create a page that many other pages link to. This will be my index page. When it loads, the Flash movies play.But, when they return to this page after leaving it to go somewhere else on my site, I don't want the movies to play again.I thought of just having an HTML page that looks exactly like it and then linking the other pages to it, but, since there are a whole lotta pages that need to link to it, search engines might rank that dummy page more highly making it the landing page and then no one would ever visit the real index page with the animations. What to do? Here's a prototype of the page I'm talking about.

View 2 Replies

Professional :: Swf Plays As Stand Alone But Not In Site?

May 18, 2010

I'm a bit frustrated as I've created a Flash movie with an embedded video.The SWF file works fine when I play it as a stand alone file but when I use the file inside my website, the video portion does not play.I have placed the video file and the Flash file in the correct folder on my site.

View 1 Replies

Professional :: Pause Bg Music As FLV Plays?

Aug 24, 2010

I would like to pause the background music as an FLV with audio plays and have the bg music restart (if possible) after the FLV stops.
 
The website is: iamnvjones.com and the flv movies are on "about me" and contact" page.
 
The way the site is setup now....when a visitor clicks "music off", it turns off the sound for the background music and FLV movie.

View 1 Replies

ActionScript 1/2 :: Mouse Over Plays Animation

Sep 6, 2010

Image mouse overs cause fades the image to "black and white" and calls up a "view more" animation.
 
As far as I can tell, there are no sprites or images associated with this "view more" clip! I have searched everywhere, the images, graphics, movies, root directory.

View 6 Replies

ActionScript 3.0 :: Progressive Download Flv Never Plays?

Jan 20, 2011

Like the title states my Progressive download never plays. Before I waste your time and mine showing the methods used I rather start off simple.

Are there any reasons an flv might not be allowed to stream? I have followed the methods in every Progressive video tutorial I can find (about 7 so far) and they explain the exact same steps yet my flv never plays. I have also done it entirely with just action scripte and nothing. I get the player and my video list but never get the video. I have the Source set to the web directory of my flv in the parameters in the property inspector.

I have also tried to use this method with other types of video and it also never plays. The only thing that works is embedd it which is of course a terrible only choice.

View 7 Replies

Professional :: SWF Plays In Windows Browsers But Not In Mac Ones

Feb 21, 2011

I'm trying to create a simple swf file containing an m4v file along with default player controls. I want to add this to a Web page. I've successfully generated such a file, and using the HTML generated by the publish option, I've gotten it to play on IE, FF, Chrome, and Opera under Windows 7. When I try to open the same Web page from the same location on my Mac, however, I see the player controls with an green animation that indicates loading. The movie itself never loads. I've tried this under Safari, Chrome, and Firefox on Mac, all with the same result. I've also had friends try this on other Macs, with the same result. Is there some difference in how Windows and OS X deal with SWF files that I need to account for?

View 4 Replies

Professional :: Loop A Video - Plays Only Once

Mar 20, 2011

I have tried to loop a video. Though in the SWF, the video plays only once. Can someone see something wrong in the AS3 code below (relevant info tagged like this --->) (FLV instance is called "Film_mc")

[Code]...

View 4 Replies

Professional :: Site Sound When .FLV Plays

Apr 18, 2011

I have a Flash 8 site that plays a music clip throughout the site.  I have a flv video on one of my site's pages and would like to know if there is a way to stop the site's music when the user clicks on the "Play" button of the video and to have the site music start again when the video either ends or the user clicks on stop.

View 1 Replies

SWF Intermittently Plays Wrong Audio

May 16, 2011

I created an interactive exercise to teach music. After the correct answer is given, the user has the option to click on a button and hear a specific sound (a chord played on the piano). The sound button appears only after they give the correct answer, and they can click on it as many times as they want. There are a series of these exercises, each one on a different frame and each one with a different sound.The sound files are called in the button code.

Here's the problem. In some of the exercises, if I keep clicking on the sound button, it plays the correct sound about 20 times in a row but then it will suddenly play a different sound (a chord from one of the other exercises). Then it goes back to playing the correct sound.

View 3 Replies

Professional :: SWF Plays Locally But Not On Server

Jul 4, 2011

I have a SWF (1.8mb) which I placed onto my HTML page using Dreamweaver, and set to autoplay. When I save the file and open it in Firefox/Safari, the movie plays as expected. But when I uploaded the files to my hosting server, the movie doen't appear (not even a box where it should be - just nothing but blank space where it should be). I've made sure that I uploaded the SWF, the HTML file, the expressInstall.swf, and the swfobject_ modified. js file. I also changed the permissions to allow executable scripts. I don't have a Flash blocker installed.[code]

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved