Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Getting Flash To Start Playing .wmv File


I am making a stand alone Flash file on a CD and I want to get flash to trigger a .wmv movie file when a button is clicked. I don't want it to play inside the flash movie, just to open up media player and play the relevant movie.
How do I get Flash to do this?

Thanks for your help

Rob.




FlashKit > Flash Help > Flash ActionScript
Posted on: 02-07-2003, 12:25 PM


View Complete Forum Thread with Replies

Sponsored Links:

Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there

I am novice user of flash and have no real AS experience.

What I want to do is..

I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.

I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.

With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )

I hope this makes sense and look forward to hearing from someone.

Cheers

Ian Hill

View Replies !    View Related
Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there

I am novice user of flash and have no real AS experience.

What I want to do is..

I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.

I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.

With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )

I hope this makes sense and look forward to hearing from someone.

Cheers

Ian Hill

View Replies !    View Related
FLV Start Time? Can I Start It Playing 2 Secs In?
Is there a way with actionscript to tell an FLV to start playing 2 seconds into the video. What I have is an FLV that has 2 seconds of black at the beginning, but I don't want that to play.

Or if anyone knows a way to re-encode an flv so that I can get rid of the 1st 2 seconds. I've tried re-encoding it with Riva Encoder but it just gets all screwed up. And the Flash encoder won't even let me add it to the que. Any help would be appreciated.

Thanks,
Lady

View Replies !    View Related
Flash Mp3 Player Won't Start Playing Automatically
i downloaded a simple Mp3 player placed it in my fla file but when i publish it the player won't start automatically... I'm missing something!!!! stuck please help

View Replies !    View Related
Start Playing From A Frame After This Flash Is Complete
Hi,

.Fla Link

How can i modify this flash so that after the object (or in my case several objects whereby i copy/pasted/renamed the actionscript sections) has been moved the flash starts to play from a different frame...so that i can enter a "well done" kind of message.

Thanks

<param name="movie" value="http://www.xadnet.com/files/drag_and_drop.swf">
<param name="quality" value="High">
<embed src="http://www.xadnet.com/files/drag_and_drop.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="303" height="302">

View Replies !    View Related
Flash Integrated In Html - How To Start Playing Immediately?
I created a portfolio site for graduation using html with dynamic layers. I also created a navigation system in Flash and several smaller Flash movies that load into a layer on the same page when
a button in the naviation menu is clicked. My problem:

The navigation movie and all the movies that open in the layers have
to completely download before anything shows on the page. The navigation movie has a preloader and I have added a preloader to the first movie that shows up (by default) but this doesn't show up until
all the movies for all the layers have downloaded.

The site can be viewed at: 2minteractive.com

What can I do to get the navigation movie and the first movie to show
up and the others to wait until they are requested by clicking the button?

Thanks,

emissal

View Replies !    View Related
When A Sound Stops Playing So It Can Start Playing Another Sound :Monitoring Playback
I'm attempting to do a very simple thing and I'm very perplexed. My girlfriend is an opera singer and all I'm trying to do is advance the audio track when the song finishes playing to go to the next frame. On the surface it seems easy, however I can't seem to figure it out. Perhaps you can help?

Check out the movie here: http://www.earthgrid.com/earthgrid/valentina.html


Here's my code its on frame 2 in the movie



Code:
stopallsounds();
s2.close();
s3.close();
var s1:Sound = new Sound();
s1.loadSound("Agnus_Dei.mp3", true);
s1.start();
stop();
Explanation:: the flash movie has buttons that allow you to navigate between the 3 different music tracks.

when you click on a button, first I close the loading of the previous track, ie. s2 and s3, if they are still loading.

What I'd like to do is insert a command that advances to the next track (which happens to be on the following frame, 3) ONLY when the first audio track is finished PLAYING, not finished 'loading'

something like:
s.addEventListener(Event.SOUND_COMPLETE, gotoandplay (3);
);

so that when Agnus Dei finishes playing it goes to the next frame which starts the next track.

but that' doesn't seem to work.

I found this URL in Adobe's support site:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000283.ht ml

it says this:

Your application might want to know when a sound stops playing so it can start playing another sound, or clean up some resources used during the previous playback. The SoundChannel class dispatches an Event.SOUND_COMPLETE event when its sound finishes playing. Your application can listen for this event and take appropriate action, as shown below:


Code:
import flash.events.Event;
import flash.media.Sound;
import flash.net.URLRequest;

var snd:Sound = new Sound("smallSound.mp3");
var channel:SoundChannel = snd.play();
s.addEventListener(Event.SOUND_COMPLETE, onPlaybackComplete);

public function onPlaybackComplete(event:Event)
{
trace("The sound has finished playing.");
}
>> However, when I try to paste in this code into a frame in Flash CS3 it gives an error saying I have to put it in a 'package'
I tried that, putting this code into a file and saving it as a .as file


I really don't get how to do this Package thing in CS3, so I couldnt get the example to work.

If so please contact me Please help!

View Replies !    View Related
How Can I Start An External Program And/or Start A File
I've tryed:

on (release) {
fscommand("Exec", "program.exe");
stop();
}


Also I've tryed:

on (release) {
fscommand("Exec", "start.bat");
stop();
}

And in the .bat file I've put this:

@echo off
start file.doc
exit

But this does not seem to work, what Am I doing wrong???

Thanx alot!

View Replies !    View Related
Start Of Flash File
Is there any equivilent to the Director "on StartMovie"? I have a few variables I want to set in a single frame flash, but only on first starting it.

Or if there's any other way to give a variable a starting value, but which won't wipe over the later value's assigned to it.
ie.Some kind of Loopframe command, so that I can give the effect of a single frame, within a multiple frame movie.

Thanks

View Replies !    View Related
How To Start Exe File From Flash MX 2004
I need to know how to start exe file from flash MX 2004 on windows XP.

On my presentation i have to start a game by button.
Please help me.

View Replies !    View Related
How To Start Exe File From Flash MX 2004
I need to know how to start exe file from flash MX 2004 on windows XP.

On my presentation i have to start a game by button.
Please help me.

View Replies !    View Related
Auto-start 2nd Flash File
My first flash file was too large to post it as one file (exceeded 16,000 frames) so I'm attempting to automatically start a second flash file when the first one ends.

I can't find a way to do it within the html I'm working in. Am I missing something or can it be done with javascript in the html. If it can't be done in the html, can it be done in flash?

Thank you!
jmb

View Replies !    View Related
Start Playing An MC
Ive got an MC which will start paying a sound, but how do i link a button to play it?

I don't want to drag it onto the stage cos the sounds will start playing straight away which defeats the object of my jukebox!

View Replies !    View Related
Any One Start Playing With AIR?
Does the AIR project's everything have to be started from a mxml?

I downloaded a lot of sources from adobe.com and some projects contains only an as file and a app-xml file, and some other files.
No mxml is found and the complier just cannot be launched!

View Replies !    View Related
Flash Not Loading All Of Xml File... But Loads Start And End?
So I have an xml file.




Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<imgdb>
<category><id>1/id><title>Pictures of Cats</title><location>cats</location>

<image>
<id>1</id><filename>*****.jpg</filename><thumb>*****_thumb.png</thumb><descrption>This is a picture of a *****... ok well it isn't but I couldn't find cats and dogs that were cute enough.</description>
</image>

<image>
<id>2</id><filename>fatcat.jpg</filename><thumb>fatcat_thumb.png</thumb><description>This is apicture of a fat *****... ok well it isn't but I was too lazy tofind proper images.</description>
</image>

</category>
</imgdb>


And my flash isnt loading it all... it doesnt seem to like the repeated image tag, it just ignores it and loads the rest?!

Here is the loading script.


Code:
var my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success){
if (success){
trace(this);
}
}
my_xml.load("pictures.xml");



I'm tracing my_xml when it loads, and it shows the whole xml file, minus the complete second image tag!

Any help would be greatly appreciated!

Alex

View Replies !    View Related
>>start Playing After 10 Seconds ? Possible?
Anyway using action script to tell flash to start playing after 10 seconds without having to add 120 frames for nothing???

//John

View Replies !    View Related
Start Playing Mc From Combo Box
Hi everyone,

I would like to know how to start a movie clip animation when I select
an item in a combo.

I tried this without success :


combo.addItem(OMNI-RAD (Radiology), test);

test = function () {
_root.mcProducts.mcTest.gotoAndPlay(2);
}

Also I would like to remove my movie clip when I choose another item in the combo.

Thanks

View Replies !    View Related
Sound Will Not Start Playing Again
help....

my movie has 16 sound files

the stop button works but when I press play the movie continues but that particular sound stops.

i know i have to id the sound but i don's know where it should go.

here's the code
var stopped_ = true;
_global.roo = this;
var mySound = new Sound(roo);
mySound.attachSound();
//



button1.onPress = function() {
MovieClip.prototype.onEnterFrame = function() {
if (_root.direction == "stop"){
this.stop();
p = Math.round(mySound.position/1000);
mySound.stop();
}else {
this.play();
}
}
_root.direction = "stop";
}
button2.onPress = function() {
_root.direction = "go";
mySound.start(p, 0);
//delete MovieClip.prototype.onEnterFrame;
}

View Replies !    View Related
[F8] Mc Not Targeted Start Playing - Why?
I've got 3 movieclips used as buttons in a menu, each with a label "Inaktiv" on frame 1 and "Aktiv" on frame 10. When clicked the mc is supposed to move to label "Aktive" and attach another movieclip.

Well - it seems that every second time I click all mc:s go to the "Aktiv" label. Even though I don't target them! I can even comment the goToAnd Play out and they still perform this action! Why?!!

This code goes on each mc respectively:


Code:
this.mcHjernBtn.onRelease = function (){
reEnableOptions();
this.txtBtmMain.setTextFormat(btnDisableMainMenue);
this.enabled = false;
goTop(mcHjernBtn);
}
The reEnableOption() resets all mc:s whenever oneis clicked.


Code:
// reenable to be able to click any button
function reEnableOptions(){
this.mcHjernBtn.enabled=true;
this.mcHjernBtn.txtBtmMain.setTextFormat(btnEnableMainMenue)
goBack(mcHjernBtn,459.3);
this.mcOnStageBtn.enabled=true;
this.mcOnStageBtn.txtBtmMain.setTextFormat(btnEnableMainMenue);
goBack(mcOnStageBtn,486.1);
this.mcEventBtn.enabled=true;
this.mcEventBtn.txtBtmMain.setTextFormat(btnEnableMainMenue);
goBack(mcEventBtn,512.1);
}
The goTop() function with the goToAndPlay action which is supposed to make the targeted mc go to the "Aktiv" label and attach another movieclip.


Code:
// move movieclips to top position
function goTop(target){
var easing:Number = 0.2;
var topY:Number =Stage.height-(Stage.height-165);
target.onEnterFrame = function(){
var dy:Number = topY - target._y;
if(Math.abs(dy)<1){
target._y = topY;
delete target.onEnterFrame;
} else {
var vy:Number = dy*easing;
target.gotoAndPlay("aktiv");
target._y += vy;
}
}
}
I suppose the problem is in the reEnableOption() but neither me or my friends can figure it out... Code for the above functions below. Files are also attached.

Any suggestion is much apprieciated...

Snowgirl

View Replies !    View Related
Can A Html File Tell A Flash Movie To Start (for Example) At Frame 10 ?
can a html file tell a flash movie to start (for example) at frame 10 ???

View Replies !    View Related
Preloader.... Start Playing Before 100% Loaded
I recently made a website entirely in Flash (www.fiberplast.no). The final swf is 2318 kB so i added a preloader with a mc telling the user how many percent is loaded. All this works fine, but my client freaked out when he saw the final work, because the whole thing takes about one and a half minute to load.

Is there a way to start the movie when it hasn't loaded completely. 10% should be enough, then the start page would be ready and the rest could stream in.

Anyone care to help me?

I tried an extension called IK Prealoader (from http://www.macromedia.com), but I couldn't make it work..

View Replies !    View Related
Start Playing At Certain Frame, With LoadMovie
Is it possible to use the loadMovie command, and start playing the external swf at a certain frame?

I've posted this before, but no one could help, so hoping someone can this time.

View Replies !    View Related
Automatically Start Playing Movie?
On my first frame I have ..

loadMovie("sound_file.swf", _root.clip);

i want it to automatically start playing... how would i go about doing that?

View Replies !    View Related
Playing Movie From The Start Within Multiple...
Hi all!

I have a problem that is driving me crazy.

I have built a movie in which I have multiple MCs that go one from another. Now once the movie goes and plays the last MC is stops. So I have tried to do gotoandplay(_root, 1) and tried couple of more and I am running out of ideas.

Does anyone know the right action for the movie to go back to the begining, which is SCENE 1 and play from the start?
All help would be greatly appreciated!!!
Thank you.

View Replies !    View Related
How To Start Playing Many Clips With A Different Delay For Each One?
Hi,
I have, let's say, 50 occurences of the same movieClip (a ball changing color) and I want to play them all with one click BUT not at the same time, so I need to put a different delay on each clip.
I use the following code to catch all my movieClip but then don't know how to play them with delay...


Code:
for (x in atomMain_mc){
var myMcs:Object = atomMain_mc[x];
if (typeof(myMcs) == "movieclip"){
myMcs.play();
}
thanks for helping....

View Replies !    View Related
When An Flv Stops Playing, Is There A Way To Get It To Loop And Start Again?
When an flv stops playing, is there a way to get it to loop and start again?

-Line

View Replies !    View Related
Start Playing Before Finished Loading?
Hi all.. whats the best way when I have a SWF emebdded in a page that it
will begin playing before it finishes loading in the background? Thx

View Replies !    View Related
SWFLoader Does Not Start Playing Loaded SWF
Hi there,

I'm building an application that's basically a frame in that another SWF file is displayed. My application loads SWF files generated by a server and displays them. As memory consumption increases over time, it it necessary that I unload the current SWF from time to time and replace it with a new SWF.
I use SWFLoader to load the remote SWF file. I create a new SWFLoader object for each new SWF and remove the old SWFLoader as soon as the new SWF can be displayed.
Now my problem:
SWFLoader sporadically does not start playing the loaded SWF. All of the SWF files that I load start with the same set of instructions. When all goes well, the SWFLoader gets some ProgressEvents and then an Event.INIT. After that the SWF starts playing. In some cases, however, I only get the progress events, but the INIT is never fired. In that case the SWF doesn't start playing. The number of bytes received reported by the progress event is the same as in the case when it goes right.
I'd appreciate any hint that can help me get along this problem.

View Replies !    View Related
When An Flv Stops Playing, Is There A Way To Get It To Loop And Start Again?
When an flv stops playing, is there a way to get it to loop and start again?

-Line

View Replies !    View Related
Sending Message From Php To Swf Were To Start Playing
Hi folks

I'm trying to build a html/php site that uses flash-menu's. When a new page is loaded (for example after I press the button Contact) I'd like the menu.swf that is also loaded again to stop with the button 'Contact' activated.

I no that it's possible to use php to send a message to the menu.swf were it should go in the timeline (like telling it which label it should go to), but I've never done this before.

Does anybody know some good tutorials on this, or does anybody have an example on how this works?

Thanks for the effort
billow99

View Replies !    View Related
Make A Movie Clip Start Playing?
hi! what's the AS for a button to make a separate movie clip start playing when i press it.

View Replies !    View Related
How To Start Off Playing Sound For PLAY/PAUSE
I am new to 3.0 and I can't figure out how to get my button to flip between play and pause with the music playing on enter frame. Help! I am sure this is super EASY!

I will post the file. Thanks in advance!


var soundReq:URLRequest = new URLRequest("nameofsoundfile.mp3");
var sound:Sound = new Sound();
var soundControl:SoundChannel = new SoundChannel();
var resumeTime:Number = 0;

sound.load(soundReq);

sound.addEventListener(Event.COMPLETE, onComplete);

function onComplete(event:Event):void
{
play_btn.addEventListener(MouseEvent.CLICK, playSound);

}


function playSound(event:MouseEvent):void
{
soundControl = sound.play(resumeTime);
pause_btn.visible = true;
pause_btn.addEventListener(MouseEvent.CLICK, pauseSound);
play_btn.visible = false;
play_btn.removeEventListener(MouseEvent.CLICK, playSound);
}


function pauseSound(event:MouseEvent):void
{
resumeTime = soundControl.position;
soundControl.stop();
play_btn.visible = true;
play_btn.addEventListener(MouseEvent.CLICK, playSound);

pause_btn.visible = false;
pause_btn.removeEventListener(MouseEvent.CLICK, pauseSound);

}


pause_btn.visible = false;

View Replies !    View Related
Start Playing Swf In Empty MC Before Load Complete
Hello everyone, I am working on a movie that loads a SWF into an empty MC when it reaches a certain frame in the timeline. Everything works great; however, the file is large and I would like the swf to begin playing after 25% of it has loaded. The code I am using to load the SWF is below.

stop();
load = loader2_mc.loadMovie("ImageGallery1.swf");

I'm sure that this is probably easy but for some reason I can't figure it out. Any help would be greatly appreciated!

Thanks!

View Replies !    View Related
Load External Mp3 And Start Playing On A Certain Frame
I am trying to load an external mp3 and have it start playing on frame 430 of my movie. The code I've tried either starts playing the mp3 right away or not at all. Here is what I'm working with:

onClipEvent (load) {

// sets up a sound object
faTrack = new Sound();
// load the external sound
faTrack.loadSound("intro.mp3", true);
// play the sound
faTrack.start(430);
}

After using this code it started the movie right after the sound was loaded. What is the proper method to make this work?

View Replies !    View Related
Playing MC Transition From Start When Button Clicked?
hey all,

when i click my button the first time my transition MC works fine but when i click it to another button it works fine too...the problem now:

when i click back to the first button it shows not the transition but only the completed transition so i get no animation

anyone have any ideas why this would be?

my code that i have on my buttons is:


Code:
on (release) {
swap1();
_root.menu_1.gotoAndStop("clicked");
}

onClipEvent (enterFrame) {

function swap1() {
if (_root.menu_1.getNextHighestDepth) {
_root.menu_1.swapDepths(_root.getNextHighestDepth());
}else if (_root.menu_2.getNextHighestDepth){
_root.menu_1.swapDepths(_root.getNextHighestDepth());
} else if (_root.menu_3.getNextHighestDepth) {
_root.menu_1.swapDepths(_root.getNextHighestDepth());
} else if (_root.menu_4.getNextHighestDepth) {
_root.menu_1.swapDepths(_root.getNextHighestDepth());
}
}
}
thanks in advance peeps

View Replies !    View Related
Start Playing Movie Clip Instance In A Frame
I have this movie clip in my library. I dragged it onto the stage at a particular frame, gave it an instance name, but when I play it, the movie clip instance doesn't play at that frame (doesn't play at all). How can I make it so that the clip starts playing (and looping) at that specific frame? I tried adding instanceName.gotoAndPlay(1) but that doesn't seem to work? Please help me! I would use the search but I think it's down b/c I'm getting timeout errors. Thanks!

View Replies !    View Related
Playing A Swf From Start If It Hasn't Been Played On Page Load
Hi everyone

I have a logo that I'd like to slide into view when a user views a webpage. The thing is I don't want it to play every time a user moves from page to page. Is there a way to check if it's played for the user and therefore not play again until he/she comes and visits the site again?

View Replies !    View Related
Playing An .asf File On A Flash File
How can I play an .asf file on a flash file? I'm trying to send an .asf file i have on the web to a .swf to use as a player to play live music, I want to try and make a bar for your desktop using screenweaver so whenever your'e online you can listen to the music without going to the website or opening the media player, can anybody help me with this? or tell me where i can go to learn this?

View Replies !    View Related
Playing The Avi File In Flash
hello actionscript fans.. i'm a newbees i have alot to learn abuout flash..

actually, how can i play the avi file in the middle of the flash presentation.??

i have make a fla presentation file but suddenly my lect wants me to add a video file while playing the swf presentation file..

if it used button to play movie, then i know how to make it but since this is a presentation so there is no interactive with users. Just one straight presentation..

how can i settle that problems..??

View Replies !    View Related
Playing WAV File In Flash
Hope someone can help... have tried a bunch of tutorials on the net with no luck. I have a WAV file that we would like to play when the SWF reaches a specific frame. Can someone tell me a simple way to get the WAV file to automatically play when it reaches this frame? No need for sound control, play/stop etc, just to play the file once.... Thanks

View Replies !    View Related
Playing A .exe PC-flash File On A Mac
Hi folks,

actually, its not that I'm new to Flash. Instead, I have never worked on it. Although Im a Graphic Designer, printed matter is my role. I don't even have a copy of Flash (well, just the Flash Player...) so...

OK, here's the tip:

A collaborator company sent me their flash-made showreel so I can show it to my client and persuade him to work with them. The problem is that they sent me a folder containing two subfolders (inside of them are the contents) and a .EXE file.
It succesfully played on a friend's PC, but I rather need to play it on my G5 iMac.

And here the question:

Is there a way that I myself can somehow "translate" such .EXE file to a Mac file I can play? Or any plugin, or converter whether if its for PC or Mac?

I kindly thank you all in advance!!!

Peace!

View Replies !    View Related
Playing The Avi File In Flash
hello kirupa fans.. i'm a newbees i have alot to learn abuout flash..

actually, how can i play the avi file in the middle of the flash presentation.??

i have made a fla presentation file but suddenly my lect wants me to add a video file while playing the swf presentation file..

if it used button to play movie, then i know how to make it but since this is a presentation so there is no interactive with users. Just one straight presentation..

how can i settle that problems..?

View Replies !    View Related
Playing A Certain Frame, After A External Swf File Has Started Playing?
Hi,
This is my first post here.

I need to know how to have a certain frame in my movie start playing, after a external movie I have has started playing.

The problem is basically sync., and I want a certain frame to play only after the external movie begins to play.

I'm using...

loadMovie("http://www.alainshep.com/alain.swf", 66);
if (playing) {
gotoAndPlay("begin");
} else {
gotoAndPlay("start");
}


The external movie plays after it loads, but I just don't know how to set it up for the frame I want to play after it has started playing.

Please Please someone help me..

View Replies !    View Related
GMG Audio Player: How Can I Make The Next Song Start Playing Automatically?
I've recently used the following tutorial to create an audio player.
http://www.gmg.com.au/assets/tutorials/flash-mx-audio/

Everything works great, I'm very happy with it. But, another feature that I'd like to add is for it to automatically start playing another audio file (not randomly) when each audio file ends.

The idea behind what I created is as follows, straight from the tutorial:

Quote:




And repeating all that once again for good luck:

http://www.gmg.com.au/assets/tutoria...-structure.gif

From left to right: we have a media-controller SWF file sharing out our controls to a second SWF file that has our audio media in it which is loaded and displayed by a third SWF file. Get it? Got it! Good.




So, in essence, what I need to do, but am unable to figure out, is to have the end of the audio file in the second SWF trigger the third SWF to gotoAndStop to a specific frame. I'm not sure what code to use, or where to put it.

Please take time to look through the tutorial, as I followed it to a "T":
At very least please view this page in order to get a better idea of how my player is structurally created:
http://www.gmg.com.au/assets/tutoria...o/page-02.html

Thanks in advanced for the help!
Steven

View Replies !    View Related
Preload Issue: Start Playing The Movie Once A Certain Frame Has Been Loaded.
I'm building a quite large flash movie with hundreds of movieclips (with their own preloaders) with approx 150 frames in the _root timeline. But I've until now never been very confident with preloaders, and that is causing me hairloss.

Once the user enter the site, I want a preloader to come up, but I want to use actionscript to start playing frame 2 once frame 2 content is loaded, not start playing frame 2 once the WHOLE movie is loaded.

I use the below code for simple preloading with no feedback of progress, however it loads the whole movie before it start playback of frame 2:

if (_framesloaded>=_totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}

All help is greatly appreciated.


Rex

View Replies !    View Related
Preload Issue: Start Playing The Movie Once A Certain Frame Has Been Loaded.
I'm building a quite large flash movie with hundreds of movieclips (with their own preloaders) with approx 150 frames in the _root timeline. But I've until now never been very confident with preloaders, and that is causing me hairloss.

Once the user enter the site, I want a preloader to come up, but I want to use actionscript to start playing frame 2 once frame 2 content is loaded, not start playing frame 2 once the WHOLE movie is loaded.

I use the below code for simple preloading with no feedback of progress, however it loads the whole movie before it start playback of frame 2:

if (_framesloaded>=_totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}

All help is greatly appreciated.


Rex

View Replies !    View Related
Preloading A Flash File While Another Is Playing
Let's say I have about 10 swf files that make a whole presentation and each is about 400-700k. Is it possible to play one of the files then have the next file load while the first one is playing, then play, then have the next one load ect. If it is possible will it effect the playback of the file that is playing? Your help on this matter is much appreciated!

View Replies !    View Related
Playing An .rm File From A Flash Button
HOW DO YOU MAKE A .RM FILE PLAY FROM A FLASH BUTTON? PLEASE HELP SOON, IT'S THE LAST THING I NEED TO DO TO FINISH MY SITE.
THANKS,
GREG

View Replies !    View Related
Playing An .rm File From A Flash Button
how do I play a RealMedia file using a flash button? Please help!!!
Greg

View Replies !    View Related
Playing A Video File In Flash MX
Hello,
I have been working on a website and I have a one minute movie clip (actual video footage filmed from a camcorder) that I would like to play. I imported the clip into Flash MX and it worked just fine with a bit of tweaking. Then when I exported the movie, it was about 14.5 megs! The video file is around 1.2 megs. I think it has something to do with the movie being over 900 or so frames long. It looks like Flash created a .bmp or .jpg for each frame in the movie. Is there a way to load the movie from the server (like you do for "loadMovie "file.swf""? but have it be (loadMovie "movie.mov"?)
Thanks again all.

View Replies !    View Related
Playing An External Flash File
ok, well im not even going to put what code i used because none of it worked. I there is a way to do it, but im just an idiot. I have made a flash file with media player controls (prev, pause, play, etc..) I have seperate sound loops in swf format but i do not wish to import them because they are large. I cant figure out how to make my buttons link to the outside source without it opening in my media players movie file (using loadMovie(...)), or opening in a seperate window (i tried javascript also). Anyone help would be greatly appreciated.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved