ActionScript 2.0 :: MP3 Preload But Then Doesn't Play

Jan 24, 2004

I've been playin around with loading MP3's externally ... and I finially managed to get a preloader working ... however, now at the end of the preload function it doesn't play the file!?If the mp3 is in the browser cache ... it will play the file!? How weird.wanna see? The Site Click the top right button for the player to slide out.

My code:

Code:
mySounda = new Sound();
preloadNow = 1;
mySounda.loadSound("Track2.mp3",false);

[code]....

I discovered that my preloader wasn't working before becoz I had two "onEnterFrame" events on the same frame. Obviously a no-no.

View 14 Replies


Similar Posts:


ActionScript 2.0 :: Just Preload 50% Then Play ?

Jul 28, 2004

I want just file preload 50% and then it play, 50% remain it will load while playing. But I can't do it, here is my code:

[Code]...

View 4 Replies

ActionScript 3.0 :: Preload External Swf Before Play?

May 27, 2010

i have a project i am working on...but for some reason the solution i went with is not satisfying my instructor......
 
so....here is my new code ( which is incorrect but i cant figure out how to arrange the preloader at the end )

[Code]....

first off, i dont even know if what i am being asked to do is possible...but, what i am being requested to do is obviously load in the external swf BUT, the external swf cannot play until the MAIN swf is directed to "start"......
 
i have done this numerous times in as1 and 2....but back then things were totally written different and if you do it the same way you run into migration issues....
 
i thought this was solved already, but my instructor will not accept the method of using an event to be dispatched in the external SWF to tell the main swf when to play "start"....im not sure if there is any other way to do this?
 
he wants the external swf to contain NO code other than what is necessary for its internal functions.. everything is to be coded in the MAIN swf
 
so im trying to use bytesTotal, and the percent==100 is just a number i threw in for example purposes...

View 4 Replies

ActionScript 3.0 :: Preload Swf, Play MCs At Set Percentages?

Mar 22, 2009

I want to preload a swf and insted of a bar I would like to play 5 mc at intervals trigered by the persentage of the total loadedI want to set a new loader event of a URL = my_movie.swfand a progress.complete event

var percent of total loaded
Then - if (percent==20%);{gotoAndPlay (20%movie clip)
then -if (percent==80%);{gotoAndPlay (60%movie clip)

[code]....

View 1 Replies

ActionScript 2.0 :: File Preload 50% And Then It Play?

Jul 28, 2004

I want just file preload 50% and then it play, 50% remain it will load while playing. But I can't do it, here is my code:

Code:
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
bytes_total = bytes_total/2; // it will loop because it turn back to play untill full load

[code]....

View 4 Replies

ActionScript 3.0 :: Preload Movie But Can't Play Until A Specific Frame

Jan 14, 2010

I want to preload a movie into my main movie (so I know it's safely loaded fully). BUT I don't want it to start playing until a specific frame in the main movie? Preload movie but can't play until a specific frame

View 5 Replies

ActionScript 2.0 :: Preload Movie But Don't Play Until Specific Frame

Jan 14, 2010

I want to preload a movie into my main movie (so I know it's safely loaded fully). BUT I don't want it to start playing until a specific frame in the main movie?Does anyone know how to do this in actionscript 2.0?

View 2 Replies

ActionScript 2.0 :: XML - Get It To Preload The Contents/images Being Called In The XML File So It Doesn't Run As Soon As The XML File Is Loaded?

Jun 21, 2007

I'm building a flash movie for something at work and im loading in some images using an XML file but when i use a preloader it only preloads the XML file (as in just the text inside) and not the images.

This causes the movie to start playing without having the images loaded.Does anyone have any ideas about how i could get it to preload the contents/images being called in the XML file so it doesn't run as soon as the XML file is loaded.

View 1 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

IDE :: SWF Doesn't Play In Webpage?

Mar 21, 2009

I have an FLV file embeded in a SWF. The file plays when directly opened by Firefox or Internet Explorer. However, it doesn't play when embedded in an HTML page.

View 3 Replies

Flash Sound Doesn't Play

Dec 16, 2009

I have sound playing in my flash file. My index file is a html file which calls the flash file, and when i run the html file, the sound doesn't play. Does anyone know how I can rectify this?

View 5 Replies

ActionScript 3.0 :: GotoAndPlay() Doesn't Play?

Jan 13, 2010

After my MovieClip has finished playing once (and ended on the last frame with stop()), I can't get it to play again with gotoAndPlay(x). It will go the specified frame, but will not play from then on. Is there anything else I have to add to actually make it play?my attached sample file which contains a menu that, for testing purposes, is supposed to play someMovieClips when the initial loading process is done.

View 6 Replies

Professional :: Swf File Doesn't Play On The Web?

May 4, 2010

im having problems with my swf file,its not playing on the web,my video is a flv i save it a swf when i export it and it wont play. it plays pefect on my desktop though.

View 8 Replies

Actionscript 2.0 :: FLV Doesn't Load / Play

Aug 24, 2009

The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.[Code]...

View 2 Replies

IDE :: FLVPlayback Doesn't Play At At (only On Browser)?

Jul 17, 2009

If I double click on the published SWF file (thus opening it with the FlashPlayer 10 executable), the video plays correctly. Nonetheless, if I double click on the published HTML file, there isn't any video played at all. This doesn't happen if I put the files on a webserver, the video plays correctly on the browser.I checked the "source" property of the component, which doesn't have any absolut path (the video file resides on the same folder as the FLA/SWF folder, so the "source" property only has the FLV filename).

View 3 Replies

ActionScript 3.0 :: Video Doesn't Play Online

Aug 6, 2009

If I open the swf on my computer, it plays with no problem at all. When I upload and try to open the file in my browser, I click the initial image that takes you to frame 2 to play the video, and it just sits there blank and does nothing. Could anyone take a look at it for me? [URL]

View 1 Replies

ActionScript 2.0 :: CS3 - Netstream - FLV Doesn't Load / Play

Aug 24, 2009

The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.

[Code].....

View 5 Replies

Safari Doesn't Play Flash Site

Apr 8, 2010

[URL]Currently, it doesn't not come up on any version of the Safari browser. What am I doing wrong?

View 4 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

Preloader Not Working - Next Scene Doesn't Play It

Jun 30, 2009

Using CS4 Actionscript 2.0


[Code]...

Check out what happens after percentage loaded. It just goes to Frame 1 of next scene but doesn't play it.... although if you right click and click PLAY it will indeed play it.. How to get it to start upon 100% loaded?? I SHOULD NOTE that the scene that won't play has an embedded FLV in timeline

View 2 Replies

Video Doesn't Automatically Play When Swf Loads

Jul 5, 2009

I'm using Flash CS4 and have linked to a video that hosted on a web server with one of the preloaded flash video skins (ArcticExternalAll). When the page loads the video plays without any problems, but I would like to make it so the user decides when the video starts rather than it automatically starting when the page loads. Is there any way to do this?

View 3 Replies

.mov File Doesn't Play In Flvplayer Component

Aug 19, 2009

One of the .mov video file doesn't play in my flvplayer component. While other play as desired. Any clue what may be the reason and how to play that .mov file without conversion to .flv

View 2 Replies

Flashplayer 10 Doesn't Play Flash 8 Apps?

Oct 11, 2009

I have apps in flash8  AS2 and flash10 AS3. When I open the AS2 apps in flash CS4 they don't work. This is a massive problem as I put them in a visual basic app with the flash 10 ocx. So the damn thing doesn't open them properly. I thought these things were backward compatible.

View 6 Replies

Professional :: Flash File Doesn't Play In IE?

Jun 7, 2010

I have a 3,5 MB .swf file on my webpage it works perfectly well in firefox. But in internet explorer it doesnt seem to play. My guess is that IE uploads the whole .swf file before playing it. Can anyone here tell me how to let it work in IE as well?

View 6 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 :: The Play Works But The Test Doesn't?

Oct 16, 2010

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.

View 8 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

ActionScript 3.0 :: Video Doesn't Play On Internet?

May 18, 2011

why this Flash video doesn't play.  I checked to make sure it is in the correct format. I've tried FLV and H.264 neither of which plays.  The custom play button appears and the alpha goes to 0 when clicked but the video doesn't play.  It works in the flash environment and on my desktop when I dropped it into an html shell. 

[URL]

View 2 Replies

ActionScript 1/2 :: (Flash CS5) - 1st And 3rd Song Doesn't Play

Sep 11, 2011

I am loading mp3's externally as to not bloat the swf. However, only 1 out of 3 songs play (2nd song plays) for this jukebox I'm having to create for an assignment. I would think if one song played, they all would. I've checked the AS2 code and it all seems right to me; the song names and button instance names. I sure could use some insight as to why the 1st and 3rd song doesn't play. My jukebox is at: [URL] and here is my simple code in the first Actions frame. This is the only code I used for the jukebox.

[Code]...

View 3 Replies

Professional :: Articulate Doesn't Play Well With References

Dec 31, 2011

I got a flash file (.fla) from an acquaintance who was trying to help me with a project. It's just 4 checkboxes that I'm using with Articulate Presenter for an e-Learning program I'm creating The issue is that Articulate doesn't play well with references to either _level0 or _root.The acquaintance isn't available to help me unfortunately, so I was wondering if someone could point me in the right direction to changing those references to something that Articulate won't freak out about.I'm only a couple of days into my Adobe trial for Flash, and the classes I'm intending on taking don't start for another two months.

View 5 Replies







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