ActionScript 2.0 :: External Movie Doesn't Play Second Time After Refreshing

Nov 10, 2006

I used a preloader to play an external movie that loops. Both files are uploaded to a site. When I open the preloader in my browser the first time, everything works fine. The preloader loads correctly and plays the external movie automatically, which continues to loop correctly. So no problems so far.

Now, here's where problems begins:

If I refresh the browser or close it, and try to view the preloader/external movie again, nothing gets shown. I can manually play the external movie by right-clicking and selecting Play from the menu.

The only other way I can view the preloader/external movie again is if I delete the preloader from the cache and refresh/restart the browser.

My external movie does not have a stop in the first frame and it is uneditable so I can't add that in. However, the preloader should start playing the external movie when it is in the cache.

Here is the script in the preloader:

Frame 1:

Code:
mcLoader = new MovieClipLoader ();
loadListener = new Object ();
mcLoader.addListener(loadListener);

[Code].....

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Flash - Replay / Reload And Play The Same External Movie The Whole Time?

Dec 9, 2003

On the new site we are working on, it has Flash and HTML. The problem is when you click on the navigation buttons(which are flash) they should load a new external movie and open the new HTML page at the top. When you publish the file and click on the buttons, the HTML page loads, but flash seems to reload and play the same external movie the whole time. Here is the code I used:

[Code]...

View 4 Replies

Choppy Scaling / Moving - Doesn't Seem To Be Refreshing Well

Aug 17, 2009

I made a carousel with actionscript 3 and it doesn't seem to be refreshing well. It's very choppy. Here's the file [URL] The framerate is 30fps

[Code]...

basically as ellipsePosition increments, the x and y values of the doc increment around the carousel. There is more to it for the scaling and alpha changes, but I get the same result if I remove them. I tried changing the framerate up alot. I also decreased the step size of ellipsePosition and it still acted the same. In DirectX I would create a backbuffer but I'm not sure that would be a reasonable fix for actionscript. Surely there is something built in, actionscript is by no means low level. It's a really vague question but is there anything thats very common that could cause this or that could prevent this, or is this expected behavior of flash.

View 3 Replies

ActionScript 3.0 :: Using If With Other Operators And Refreshing Any Time?

Sep 14, 2009

I am hardly getting experienced on Actionscript3 but I sometimes get stuck.I want to use complex if function. what I am trying to say is;if, gezegenler.rotation not equal to 0 or 120 or 60 info text = ajdusting.

ActionScript Code:
else if (geegenler.rotation !==0||120||60){
bilgi.text = "adjusting....";}

is this usage possible or not Also, use stage as an event listener to update the textbox. But the event is mouse event and mouse move.. are there any muuch reliable ways doing this? Because when I do not move my mouse it does not change.

[Code]...

View 3 Replies

ActionScript 1/2 :: Loading An External SWF But Doesn't Play

Apr 7, 2009

I'm trying to load an external SWF with the following code:

[Code]...

It loads the SWF, but doesn't play it correctly when I test it. Here's how the loaded movie is supposed to look: [URL] But instead, it plays without the transitions, like this:[URL] I've been trying to figure this out for a few days and have tried adding "this._lockroot = true;" to the SWF I'm trying to load, but I can't get it to play correctly. Can anyone tell me what I'm doing wrong?

View 2 Replies

ActionScript 3.0 :: Control External Mp3 Play Time?

May 2, 2011

How can I control the playing time of an external mp3 using actionscript ?

I need to only play a 10 second clip of this sound file so how can I control the length of play time?[code]...

View 0 Replies

Professional :: Movie Doesn't Play - CS5 Web Premium

Jun 11, 2010

I just installed CS5 Web Premium and took a movie, imported and exported with skin and html. [URL] It doesn't play, there is no skin. Everything is in the root directory - the SkinOverAll.swf, RooftopRites.swf. I don't see an embed statement in the HTML. Shouldn't there be one?

View 19 Replies

Professional :: Exporting SWF From FLV Movie But It Doesn't Play?

Mar 30, 2011

Im working between Dreamweaver & Flash cs4
 
Now i have a FLV video clip that i want play on a webpage with a full screen option so this is what im doing:
 
File > Import > Video
 
On my computer > Browse > (Found my file 17.8mb) > Load external video with playback component  > continue
 
Skin: SkinOverPlayStopSeekFullVol.swf   
 
Now its been imported i export it into my directory that im upload to my server (the swf file is now 59kb)
 
In dreamweaver drag the file onto my webpage and upload.  When i view the page online it gives me an empty white box.  Meaning its not playing.

View 1 Replies

Flash :: Movie Doesn't Auto-Play?

May 29, 2009

When I export my flash movie to be hosted then embed it on my site (myspace) the flash banner(no controls) doesn't AutoPlay. I checked and unchecked Paused at Start in the publish settings, published and exported, but both times when I hover/click on the blank/unloaded movie the menu shows the Play option unchecked. My file has a preloader and the movie/content starts on frame 2. I have CS4/AS3.have the movie autopaly on it own. (I wish Adobe would have named the option Autoplay instead of Paused at Start,I wonder who came up with that).Here's my code:

Code: Select allstop();
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);

[code].....

View 2 Replies

ActionScript 2.0 :: External Movie Loads But Next Movie Doesn't

Feb 9, 2005

I have a modular movie format. All movies load into a shell/base movie. I have a video intro that loads into the loader component in an external movie. This movie in turn loads into the actual main movie.What I'm trying to figure out is when the video intro gets done playing, I want it to move to the the next frame (#3) so it can run a behavior I have there to load another movie in its place.I've tried the "on complete" with several variations to no avail.I have a button that will move you to the frame #3, but I want to make it happen automatically if I could.

View 8 Replies

ActionScript 1/2 :: Play Movie Only One Time?

Sep 15, 2010

I need the movie to play just once (the top header) per user session and then other pages not to restart the same movie from the beginning...At the same time protection against hotlinking should remain. Is it possible to make this without storing the swf file on the user's machine?[code].,,.

View 12 Replies

ActionScript 2.0 :: Broken Linkage - Load .swf Into Another Movie The Sound Doesn't Play?

Apr 14, 2005

I have an mp3 exported for actionscript with the linkage name bgmusic.When I play the sound using a sound object, it works fine.However, I take that same .swf and load it into another movie and the thing breaks... the sound doesn't play.How do I fix the linkage so that it'll play again?

View 5 Replies

ActionScript 3.0 :: Play Movie Clips For A Certain Amount Of Time Only?

Dec 28, 2010

I have a movie clip loaded using action script 3 at the start of my animation, I want ito to end at the 120th frame. But I can't use the stop(); command because it will also stop the rest of my animations from the 121st frame onwards. how can I stop the movie clip without stopping the rest of my animations?

View 5 Replies

Play Frame In Movie Clip Based On Time Of Day?

Apr 29, 2009

So what time trying to do is play a specific frame in the movieclip based on the time of day:

PHP Code:

onClipEvent (enterFrame) {
var myDate = new Date();
var hour = myDate.getHours();

[code]....

but when I change to "gotoandPlay" the movieclip just loads from the beginning frame and seems like it doesnt check the time.

View 7 Replies

ActionScript 2.0 :: Play The Movie Each Time The Button Is Clicked?

Oct 22, 2002

I have a mc inside a frame on the main time line. a button on the main time line. i want to play the movie each time the button is clicked. another situation is i hv loaded a movie using loadMovie command. i want to play it again. currently i m using unloadMovie & loadMovie in succession. is there any other way of doing it...

View 4 Replies

ActionScript 2.0 :: Make A Movie Clip Play At A Random Time?

May 14, 2003

How do you make a movie clip play at a random time? And keep on playing at random times until the flash movie is over.

View 1 Replies

ActionScript 2.0 :: Refreshing Movie After SO Reset?

May 19, 2009

Do you have any idea how I would refresh my movie or put the changes into place when a user presses this button to reset the shared object positions:

[Code]...

View 3 Replies

Actionscript 3 :: Start Video And Play Movie Clip At The Same Time In Flash?

Sep 27, 2011

Is it possible (in AS2 or AS3) to have a button that starts a video as well as an MC at the same time? The idea being that the video will play alongside a movieclip that contains animated quotes from the dialog of the video, so syncing would be critical to.

View 1 Replies

ActionScript 3.0 :: Movie Clip Fancy Animations - All The Time The Movies Inside Will Play

Sep 15, 2008

Does anyone knows how something similar can be done: [URL] surface I mean the video clips, which zoom when you mouse over them, then when you click they will go forward, blurring the background. Then on close, everything will go back t the home screen. And all the time the movies inside will play.

View 2 Replies

Professional :: Sound Play One Time When The Movie Is Tested BEFORE The Mouse Is Even Over The Movieclip Object?

Apr 17, 2010

I am using Flash CS4. To illustrate, I created a new flash file and added a short tick sound to the library. I set the properties of the sound to export to Actionscript and named the class "overSound". I added a Movieclip object to the stage to represent a button and gave it an instance name of "overButton". On frame 1 of the main timeline I added the following code:

[Code]...

View 5 Replies

Button From External SWF To Play Movie In Main SWF

Oct 11, 2009

I'm building a website, in which the 'Gallery Page' has a link to an external swf file, which is a scrolling clip of thumbnails.
 
What I want to do, is create each thumbnail into a button, which will then play a Movie Clip from a frame located in the Main swf file. (So basically, each thumbnail button is a small photo, will play that photo in a large scale as a movie)
  
eg.
 
thumbnail1_btn  needs to go to main swf and play movieclip1.mc, frame 1
thumbnail2_btn nends to go to main swf and play movieclip1.mc, frame 2

View 2 Replies

ActionScript 2.0 :: Load External File Then Play Movie?

Dec 17, 2009

Is it possible for a movie to stop until an external file has fully loaded at which point the main movie will then play?

View 1 Replies

ActionScript 2.0 :: Get Data From Mysql Database And Post It To A Flash Movie Dynamically Without Refreshing Browser?

Dec 18, 2003

is it possible to get data from mysql database and post it to a flash movie dynamically without refreshing browser?

View 6 Replies

ActionScript 2.0 :: Play A Movie Which Defined In A External Txt File Variable?

Apr 9, 2010

for example i have 2 movie clip, clip1 and clip2, and i want to play one of them, which defined in a external txt file variable like this:&c=1& or &c=2&my problem is, i have just one frame to make this!i tride to make simple my question, it's a bigger project!there is more than 2 movies and can't use if(), i just want to change the number of end of movie clip instans name some thing like this:

ActionScript Code:
clipname= "clip"
var trc = new loadVars()

[code]....

View 9 Replies

ActionScript 2.0 :: Importing And The Jungle - Play An External Swf Inside A Movie Clip?

Sep 23, 2009

It's been asked something like a million times and will probably continue to be asked long as there remains one Newbie on the planet. It is: How does one play an external swf inside a movie clip? But before the reader does an eye-roll-yawn, maybe just maybe it's not as simple as that��at least not to me�� there's more.... For stage simplicity's in this play lets get the characters straight. Lets call the external mc MC Orangutang and the main 'Big Movie where we want that Orangutang to perform [MC Buffalo. First, Buffalo is not a button but is a brief mc animation.

Second, Orangutang is not alone. There are two other MCs that also need to ride the buffalo. Call them what you will; but they are short little MCs that must all come riding onto the stage on the back of MC Buffalo. Third, I have the idea (or maybe its an obsession that) that it is a Flash-Wise idea to have all their aerobatics performed inside of an Empty Movie Clip. Hence, the Circus wold ideally run like this: Click on the MC Buffalo and it plays it short skit, then immediately imports or whatever we want to call it, the three jungle friends at which point all of them are now visible sharing the same stage and obediently waiting for a user to rollover/click on one of them.

All the jungle creatures perform annoyingly perfect when on their own (outside the Big movie Buffalo) but the very second we attempt to bring anyone of those recalcitrant beasts into the movie theater it's poof and he/she/it/they vanish without even a dirty little foot print on stage. I'm embarrassed to confess that I have spent (feels like wasted) weeks, yes weeks hoping to do this on my own but no joy! So, I now turn to the Geniuses.

View 0 Replies

ActionScript 3.0 :: Play External Preloader Before It's Load Original Movie Index.swf?

Sep 21, 2010

I like to play external preloader before it's load original movie index.swf.But I have a problem on resizing index movie.

Here is preload AS3 code:

package
{
import flash.display.*
import flash.display.MovieClip;

[code]....

View 1 Replies

Media Server :: Stream Is No Longer Play From Time To Time (5-8 Seconds)?

Aug 24, 2009

I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).

The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.

View 1 Replies

ActionScript 3.0 :: External Interface Call Doesn't Work With Function That Is On External JS File

Apr 17, 2012

I am using in AS3 "External Interface ". When I call the JS function that is on the same page as swf everything works fine.

I added a link in the html page to an external JS file, when I move the JS function to the external JS file the website crushes.

I would prefer to have all my JS functions on an external file so I can use them in the future in other project and it also makes it easier for me to update the site.

how to call a JS function that is on an external file from AS3?

View 6 Replies

ActionScript 2.0 :: Preloader For External Swf's - Doesn't Work For The External Movies?

May 22, 2005

... I've had my preloader successes already, but something still doesn't work for the external movies... I'm loading the main movie - which contains several chapters, loaded as external swf's - with the following preloader on the first frame, rest content from second frame on:

[Code]...

View 5 Replies

Professional :: Video Doesn't Play In Authoring Player, Does Play In Debug Player

Nov 8, 2010

I just updated to CS5 - I'm working on a custom video player. It works fine embedded in a web page both locally and on the network. It works fine in the debug player. However, when I test it in the authoring player I get a NetStream.Play.StreamNotFound error and no video. I have tried setting the Local Playback Security publish settings to both local and network - doesn't find the video either way.
 
It used to run fine in CS4 in the authoring environment.

View 1 Replies







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