Audio Player Auto Play
hi all,
I have a nice little flash audio player that i want to include on a website. However I do not want it to auto play. I would like it to be stopped and when the user wants to hear music he/she has to click on the play button. right now the player starts playing when u open the website. What do I need to change? the url to the player is http://www.designingit.com/audioplayer/audioplayer.html the fla file is http://www.designingit.com/audioplayer/audioplayer.fla
I hope somebody can help me out. thanks, regards Florian
SitePoint > Design Your Site > Flash and Actionscript
Posted on: Jul 12, 2006, 14:24
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Audio Auto Play Problem
Hi All,
I have encountered a problem with Creating a Volume Control Slider tutorial on kirupa.com.
The tutorial is brilliant and I am trying to make some new additions to the file.
I am trying to get the audio file to start playing straight away without any onRelease actions on the play button and the volume to be around 80 when everything loads.
At the moment users have to click the play button and drag the slider to get the audio to play and volume to go up.
I am new to actionscript and flash and any advice would be extremely helpful. Thank you.
All the files can be downloaded from the following link:
http://www.kirupa.com/developer/mx/volume_slider.htm
Audio Player That Requires Access Codes To Play Audio Files. Possible ?
LINK
I've just uploaded this rough piece of website for an upcoming band. If you click LINK you will see two flash movies. The one on the bottom is the audio player. What they want instead of JUST an audio player, is a player that plays certain "secret" audio files if you enter the correct 6 digit number. So imagine a text field and a submit button next to the < || > controls. I'm still getting to know Flash and I have no idea how to create something like this. Anyone have any advice? Any tutorials out there? Info? and finally...this IS possible right?
Thanks
Audio Player That Requires Access Code To Play Audio Files. Possible ?
http://www.theafternoontears.com/monitor.html
I've just uploaded this rough piece of website for an upcoming band. If you visit the URL above you will see two flash movies. The one on the bottom is the audio player. What they want instead of JUST an audio player, is a player that plays certain "secret" audio files if you enter the correct 6 digit number. So imagine a text field and a submit button next to the < || > controls. I'm still getting to know Flash and I have no idea how to create something like this. Anyone have any advice? Any tutorials out there? Info? and finally...this IS possible right?
Thanks
Stopping Auto Play For Non XML Video Player
Sorry, I assume that this has been asked a lot but I'm not finding the answer. Would someone be so kind as to give me a link or the answer? i made a player based on a tutorial series and would like to disable the auto play. I've only found posts dealing with stopping auto play in the XML version and I can't figure it out.
I assume that I must modify the early part of the script?
Thank you!
Attach Code
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(10);
ns.onStatus = function(info){
if(info.code=="NetStream.Buffer.Full"){
bufferClip._visible = false;
}
if(info.code=="NetStream.Buffer.Empty"){
bufferClip._visible = true;
}
if(info.code=="NetStream.Play.Stop"){
ns.seek(0);
}
}
theVideo.attachVideo(ns);
ns.play("celloSwingsm.flv");
rewindButton.onRelease = function(){
ns.seek(0);
}
playButton.onRelease = function(){
ns.pause();
}
Play Automatically Using Audio Player
I found this audio player that I've been messing with, but I can't figure out how to make the audio start playing immediately without needing to hit the play button. Any ideas on how to do that?
http://www.flashkit.com/movies/Sound...9364/index.php
Audio Player - Continous Play
Well, im having 'fun' with actionscript this month! Im trying to get my tracks to play one after the other, once the previous track finishes, ive used the code below:
var cur:Number = 0;
var mySound:Sound = new Sound();
track_array = ["audio1.swf","audio2.swf","audio3.swf","audio4.swf ", "audio5.swf", "audio6.swf", "audio7.swf", "audio8.swf", "audio9.swf", "audio10.swf", "audio11.swf" ];
title_array = ["1. audio1","2.audio2","3. audio3","4. audio4", "5. audio5", "6audio6", "7. audio7", "8. audio8", "9. audio9", "10. audio10", "audio11"];
mySound.loadSound(track_array[cur], true);
mySound.onSoundComplete = function() {
cur++;
if (cur == track_array.length) {
cur = 0;
// this one is for the loop of the array
}
this.loadSound(track_array[cur], true);
};
//track_array.setVolume(track_arrayVolume);
track_arrayVolume = 100;
index = 0;
Now, i think i may have realised one of the mistakes by using 'track_array' as an object, is there any way i can get this to work? Pretty please
EDIT: If this cant work, can i get the tracks to loop only once?
Can Audio Flash Player Play Wma?
hi
i bump into this audio flash player in sitepoint forums
http://www.polenmusic.com/portfolio/portf_js.html
this player is great but it works only with mp3
i want to stream wma files (due to file size problem)
can any of you make this player work with wma?
thanks
Audio Player - Continuous Play Of Tracks And Volume Control
hi, ive created an audio player, but when the song ends i would like the next song within the array to automatically play the next track how do I go about doing this?
Secondly, im in the process of creating a volume slider for it, however many FLA.s i have seen are vertical sliders and i want to create a horizontal one, i cant get the grasp of the co-ordinates , thanks.
[CS3] Auto-play/Auto-resume: Is It Possible?
Hi,
I'm making an interactive film. At certain points within the film, the viewer has the ability to select from a few options that will direct them to an external video clip (they are flashback scenes). The main story pauses when the user selects a flashback scene and I'm clear on how to achieve this.
However, my issue is that once the flashback scene ends and the external video closes, I'm not sure how the main story will resume. Is it possible for it to auto-play (resume) in some way? My last resort would be to have the viewer select a play button - this is only because I do not want a break in the narrative and want to limit the amount of clicks the viewer has to make.
Basically, I really just want to know if what I want to achieve is realistic without making the viewer initiate the action. Any suggestions and comments would be greatly appreciated.
Thanks!
Have A Flv Not Auto-play But Still Auto-buffer?
I know in the flash video player component's parameters you can set autoplay to true or false, but can you make it so the video will buffer even if autoplay is set to false, and without the user hitting play?
I wan't no delay once they hit play, but they don't have to watch the video.
Auto-play/auto-resume: Is It Possible?
Hi,
I'm making an interactive film. At certain points within the film, the viewer has the ability to select from a few options that will direct them to an external video clip (they are flashback scenes). The main story pauses when the user selects a flashback scene and I'm clear on how to achieve this.
However, my issue is that once the flashback scene ends and the external video closes, I'm not sure how the main story will resume. Is it possible for it to auto-play (resume) in some way? My last resort would be to have the viewer select a play button - this is only because I do not want a break in the narrative and want to limit the amount of clicks the viewer has to make.
Basically, I really just want to know if what I want to achieve is realistic without making the viewer initiate the action. Any suggestions and comments would be greatly appreciated.
Thanks!
How To Make Flashtrack Play Auto Play When Swf Loads.
I need to know how to make Flash Trak and it's player play auto when I test a movie or run swf file.
I don't want to click on Play Icon to play it. Just have to have it auto play for my presentation.
Thanks,
dumshi
Audio Player/playing Audio Files Externally (mp3)
I've designed the audio player with all of the necessary buttons. I'm trying to play the mp3 files in an consecutive order. I am having trouble stopping or pausing, rewinding and fast-forwarding the mp3 file. I also have a next button and a back button and I don't know how to get them to work either. I have a slider, but can't get it to work either. Please help! I tried to follow the tutorial on flash kit, but wasn't quite understanding it. I would greatly appreciate this if someone could lend their knowledge and support.
Thanks in advance!
PR Gip
CD With Projector And Audio Track For Conventional Audio CD Player
hey guys,
I'm creating a CD that contains an auto-executable flash profector but, I want the option of putting the CD into a conventional audio CD player and hearing an audio track.
Is this possible, creating an audio and data cd? If so, how?
Thank you very much!
artane
CD With Projector And Audio Track For Conventional Audio CD Player
hey guys,
I'm creating a CD that contains an auto-executable flash profector but, I want the option of putting the CD into a conventional audio CD player and hearing an audio track.
Is this possible, creating an audio and data cd? If so, how?
Thank you very much!
artane
Flash Audio Player For Streaming Audio
I am working on our church's website and am trying to add mp3 sermons for our visitors to listen to. I have a player that I downloaded but is has some problems, for some reason it will play 2 files at the same time, sometimes it says file not found and I am not sure why. I do not have the FLA file just the SWF that was on the website for download so I can't make any changes. Can anyone tell me how to make a flash audio player with play, stop, pause, rewind and fast forward buttons. Or if anyone has a sample player that I could use for my church, I need it as small as possible and do not need a playlist. Any help would be great.
[F8] 2 Flash Objects - Audio Player Passes Pause To Video Player
I have 2 flash objects on my html page.
One is a video player and the other is an audio player.
The video player starts playing by default.
I'd like to somehow set this up so that if someone clicks on the audio player, it automatically pauses the video player.
Please note that these are 2 SEPARATE FLASH OBJECTS on my HTML website. I'm not developing an all Flash driven website.
The audio player was added as an afterthought, originally there was only going to be a video player on the page.
How can I send a pause command from the Audio Player to the Video Player?
FOO
Steam And Play Audio, Not Load Then Play
I have a ghetto mp3 player put together, the only problem is that i want the audio to play immediately, but right now it loads the whole audio file then plays, which takes way to long. any suggestions?
Auto Play
I’m using MX
I’m building a training course.
I have a main player that is my template and nav I call swf's into a movie clip called "ph"
I need to make the player auto play if the user clicks on the auto play button. If the user clicks on the interactive course the user will be able to click through.
I need to know how to set a global variable that will turn on the auto play and allow it to move to another key frame that will have the
I was thinking that if I
set gAuto = 0
When user activates autoplay:
set gAuto = 1
When user user deactivates autoplay:
set gAuto = 0
At the end of a scene:
if gAuto = 1 then
go to "autoplay marker"
else
nothing
on the Autoplay marker I would have this
unloadMovie("ph");
loadMovie("scenes/arlp2_0020.swf", "ph");
Im not quite there though
Any help would be appreciated
I could send you a zip of what i have so far.
Thanks
NineSpine....
Auto Play When On A Cd-r
I was wondering how I could make a portfolio disc so that when a user(employer) inserts the cd the disc would start on a sort of menu like a kiosk and from there they would be able to navigate through my actionscripted interface. does any one know how to accomplish this?
Thanks alot! Tim
Auto Play
I'm customizing a mp3 template and can't figure how to disable the auto play. I believe that I need to alter something in the following AS but I can't figure it out. Any help?
THANKS!
Attach Code
//function for loading a new song to play
function loadSong(num) {
delete theSong;
theSong = new Sound();
currentSong = num;
//set right title
trackbar.track_title.text = allSongs[num]["title"];
//load song
theSong.loadSound(allSongs[num]["songURL"],true);
playing = true;
theSong.start(0);
//go to next song oncomplete
theSong.onSoundComplete = function() {
//go to next song
currentSong += 1;
//if you are at the last song, go to the first
if (currentSong>=allSongs.length) {
currentSong = 0;
}
loadSong(currentSong);
};
}
//Buttons
RewindButton.onPress = function() {
theSong.stop();
playing = false;
};
PlayPauseButton.PlayButton.onPress = function() {
theSong.start(rememberPosition/1000);
playing = true;
};
PlayPauseButton.PauseButton.onPress = function() {
rememberPosition = theSong.position;
theSong.stop();
playing = false;
};
Cd Auto-play
I need to put a flash website on a cd and you know, when it's put in it starts to play automatically.
I never did anything like this before so I have no idea at all how to do it, if it's different for mac or pc etc. Any bugs I should be aware of.
Thanks!
Auto Play From A Dvd/cd
Ok, basically, how do I setup so when you put my dvd, in the dvd drive, it launches automatically, anyone know?
Auto Play
I'm sorry to ask something basic... I'm a n00b to Flash.
I have an .FLV I'd like to embed in a web page.
I want the .FLV to "auto play" instead of requiring a user to click the player to begin as it currently requires.
I don't have any Macromedia tools and would prefer to not have to buy them for this one case.
Thoughts, help, and suggestions are most sincerely appreciated!
D.E.R. Management - IT Project Management Consulting
http://www.dermanagement.com/
Swf Does Not Auto Play.....
ok im creatin my server swebpage in flash and is great but some of my swf do not auto play so i have to put play every time i view it.........
Auto Play Without Using The Controls
Hi,
Ok so here's my situation. I have my movie set to load the sound from the library. This was done through the action script in flash 5 magic. According to their actionscript, you have to press play to hear the audio. My question is, is that is there a way to auto play the audio once the movie loads but still be able to control it using the buttons (play, rewind, stop, pause) that are placed in the movie?
Sound Play Auto
hi all,
I made two buttons for controlling my sound object; however, I don't know how to make the music to play automaticlly at beginning of my moive, and then control it with my buttons. Can someone help? Thanks a lot!!!!!
on (press) {
//Play Button
if (playing==true) {
_root.firstSound.start(0,999);
playing=true;
_root.myTextBox="Playing"
}
}
on (press) {
//Stop Button
if (playing==true) {
_root.firstSound.stop("music1");
playing=false;
_root.myTextBox="Stopped"
}
}
Why Does My Website Auto Play?
I can get the right settings in "publish" but when I actually put the swf on dreamwaver & send it up, it plays all the pages, & is all spazzy. Also, one of my buttons is not playing on either "test movie" or when exported, but looks totally normal in the authoring part. Whats UP? Thanks for your help, this is my first post, and I'm really new at all this.
Flashtrak Auto Play
Hello all,
I found a really neat music controller in the movies section called 'flashtrak auto play' by scarabinter. The zip I downloaded contained a flash movie to edit the player and an swf file that contained the demo music...
I have tried to swap the 'data.swf' file that contained the music with a 'data.swf' file of my own with my own music, but I can't get it to work. My music will play, but the controller gets stuck on 'loading' and never makes it to the graphic equalizers and start/stop buttons. It only works with the 'data.swf' file contained in the download. But since there wasn't an fla file contained in the download, I can't look at it to see what I am missing.
I tried emailing the author... but I figured I would ask in here as well... you guys seem to ALWAYS have the answers... so its always worth a shot.
Please help.
Cant Get Sound To Auto Play
Hi, i am having problems trying to get a sound file to automatically play.
The only way i thought i could do it was to use on clipevent or enterframe but that can only be used for a movie instance.
If i load it up with the sync event, it will work, but if you press the play button it loads up twice.
Any ideas will be very much appreciated
THanks Alex
http://www.code-d.com/alex-sound.fla 1.3mb
Auto-play Question
Hello. I'm in the process of creating a flash presentation that I would like to burn to one of those cool business card CDs and hand it out. How do I make it so that if someone puts one of those CDs in their drive it will play automatically.
Also, is there a "runtime" player for flash? Some of the people I give this CD to may not have flash installed on their computer and it would be nice to include a player on the CD so it will be a "no brainer" for them.
Thanks in advance.
Tim
Need Script To Auto Play CD
Please help,
I need action script to auto play CD. In another words, if some one puts the disk with .swf file in a CD drive it needs to start play by itself.
thanks in advance.
Help Needed To Get First MC To Auto Play
I'm a bit stumped with the one, and I'm sure I just forgot to 'carry the one' or somethin' like that but I'm having troubles getting the first MC to automatically play when the movie's intro is done.
_root.onLoad = function () {pos = 1 ; _root.attach(pos) ;}
Below is the full code. Thank you for any assistance given.
Code:
// ----------------------------
// DECLARATION OF THE FUNCTIONS
// ----------------------------
fadeIn = function () {
if (this._alpha <= 100) this._alpha += 3 ;
else this.onEnterFrame = null ;
// When the movie is fully visible, it doesn't do anything
}
fadeOut = function () {
if (this._alpha >= 0) this._alpha -= 25 ;
else this.removeMovieClip () ;
// When the movie is invisible, it is removed
}
attach = function (number) {
myInitObject = { _x:378, _y:248, _alpha:0, onEnterFrame:fadeIn } ;
// We use an initObject to define the attached movie's properties :
// its position, alpha and onEnterFrame callback function
_root.attachMovie (myMovies[number-1],"t"+number,number,myInitObject) ;
// This attaches the right movie clip from the library
}
_root.onLoad = function () {
pos = 1 ;
_root.attach(pos) ;
// When the movie starts, we attach the first movie clip
}
BUTTON01.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 1;
_root.attach(pos) ;
}
BUTTON02.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 2;
_root.attach(pos) ;
}
BUTTON03.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 3;
_root.attach(pos) ;
}
BUTTON04.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 4;
_root.attach(pos) ;
}
BUTTON05.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 5;
_root.attach(pos) ;
}
// ---------------
// Array of movies
// ---------------
myMovies = new Array ("MC01","MC02","MC03","MC04","MC05") ;
[MX] Flash Won't Auto Play
I have a flash menu bar on my website and nothing I do seems to work to get it to play on load. It will play if the page is refreshed or if you click play. I also have a flash movie on the page, and that plays at load just fine. Any suggestions?
Help Needed To Get First MC To Auto Play
I'm a bit stumped with this one, and I'm sure I just forgot to 'carry the one' or somethin' like that but I'm having troubles getting the first MC to automatically play when the movie's intro is done.
_root.onLoad = function () {pos = 1 ; _root.attach(pos) ;}
Below is the full code. Thank you for any assistance given.
Code:
// ----------------------------
// DECLARATION OF THE FUNCTIONS
// ----------------------------
fadeIn = function () {
if (this._alpha <= 100) this._alpha += 3 ;
else this.onEnterFrame = null ;
// When the movie is fully visible, it doesn't do anything
}
fadeOut = function () {
if (this._alpha >= 0) this._alpha -= 25 ;
else this.removeMovieClip () ;
// When the movie is invisible, it is removed
}
attach = function (number) {
myInitObject = { _x:378, _y:248, _alpha:0, onEnterFrame:fadeIn } ;
// We use an initObject to define the attached movie's properties :
// its position, alpha and onEnterFrame callback function
_root.attachMovie (myMovies[number-1],"t"+number,number,myInitObject) ;
// This attaches the right movie clip from the library
}
_root.onLoad = function () {
pos = 1 ;
_root.attach(pos) ;
// When the movie starts, we attach the first movie clip
}
BUTTON01.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 1;
_root.attach(pos) ;
}
BUTTON02.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 2;
_root.attach(pos) ;
}
BUTTON03.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 3;
_root.attach(pos) ;
}
BUTTON04.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 4;
_root.attach(pos) ;
}
BUTTON05.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 5;
_root.attach(pos) ;
}
// ---------------
// Array of movies
// ---------------
myMovies = new Array ("MC01","MC02","MC03","MC04","MC05") ;
Auto Advance Or Play
How can I get a slide show to loop through each slide automatically without user intervention.
I am totally new at this. Sorry for the dumb question.
thanks,
FLV Auto-play And Controls
I'm following up on the counter with my FLV player. I'm not sure why this is not working now, as it was working for me in a previous project (sans the back/next counter that I just implemented, thanks to Rob Dillon). The FLVs are in the same directory as the container SWF, but I cannot get it to either automatically move to the next FLV (which are contained in an array) or use the back/next buttons to do the same. Any ideas on what I'm missing? Thanks again for the help!
Attach Code
stop();
//------FLV Array setup-------------------
var myInterval:Number;
var Video_ary:Array=["ceb_m0_t1_p01.flv","ceb_m0_t1_p02.flv","ceb_m0_t1_p03.flv","ceb_m0_t1_p04.flv","ceb_m0_t1_p05.flv"];
var amountOfSeconds:Number =1000;
var FLV_Current:Number;
FLV_Current = 1;
countText.text = String(FLV_Current + " / " + Video_ary.length);
//------VOLUME CONTROL--------
//this attaches the audio from "ns" to allow it to be controlled
vidSound.attachAudio(ns);
//control using sound class
var vSound:Sound = new Sound(vidsound);
//set default volume
vSound.setVolume(100);
volumeMC.onRelease = function() {
if(this._currentframe == 1) {
this.gotoAndStop("voloff");
vSound.setVolume(0);
}
else{
this.gotoAndStop("volon");
vSound.setVolume(100);
}
};
//------NETCONNECTION SETUP--------------------
var nc:NetConnection = new NetConnection();
nc.connect(null);
var myCurrentScene:Number;
//------NETSTREAM SETUP--------------------
var ns:NetStream = new NetStream(nc);
ns.onStatus = function(info) {
trace(info.code);
/* NOT IN USE
if(info.code == "NetStream.Play.Start") {
mcProgressBar.onEnterFrame = videoUpdate;
}*/
if(info.code == "NetStream.Play.Stop") {
myInterval=setInterval(NextScene,amountOfSeconds);
}
}
ns.onMetaData = function(info) {
ns.duration = info.duration;
}
//------ATTACHING NETSTREAM--------------------
video.attachVideo(ns);
//------PLAYING EXTERNAL FLV-------- Fires off the first FLV
ns.play(Video_ary[0]);
//-----Buffer------
netStream_ns.setBufferTime(60);
//--------GO TO NEXT SCENE-------
function NextScene(){
myCurrentScene++;
clearInterval(myInterval);
if (myCurrentScene<=5){
ns.play(Video_ary[myCurrentScene]);
}
}
//--------GO TO PREVIOUS SCENE-------
function PreviousScene(){
myCurrentScene--;
clearInterval(myInterval);
if (myCurrentScene>1){
ns.play(Video_ary[myCurrentScene]);
}
}
//------BUTTON CONTROLS
btnBack.onRelease = function()
{
PreviousScene;
FLV_Current--;
if (FLV_Current>=1){
countText.text = String(FLV_Current + " / " + Video_ary.length);
}
}
btnNext.onRelease = function()
{
NextScene;
FLV_Current++;
if (FLV_Current<=5){
countText.text = String(FLV_Current + " / " + Video_ary.length);
}
}
Auto Play Button
Okay here is my problem. I have presenation where i kept different buttons & when mouse over than the popup window comes, now i want that button to show popup message to run one by one.
Please help, because I want to make that movie automatic without any click.
Thanks,
Please help
Help Needed To Get First MC To Auto Play
I'm a bit stumped with this one, and I'm sure I just forgot to 'carry the one' or somethin' like that but I'm having troubles getting the first MC to automatically play when the movie's intro is done.
_root.onLoad = function () {pos = 1 ; _root.attach(pos) ;}
Below is the full code. Thank you for any assistance given.
Code:
// ----------------------------
// DECLARATION OF THE FUNCTIONS
// ----------------------------
fadeIn = function () {
if (this._alpha <= 100) this._alpha += 3 ;
else this.onEnterFrame = null ;
// When the movie is fully visible, it doesn't do anything
}
fadeOut = function () {
if (this._alpha >= 0) this._alpha -= 25 ;
else this.removeMovieClip () ;
// When the movie is invisible, it is removed
}
attach = function (number) {
myInitObject = { _x:378, _y:248, _alpha:0, onEnterFrame:fadeIn } ;
// We use an initObject to define the attached movie's properties :
// its position, alpha and onEnterFrame callback function
_root.attachMovie (myMovies[number-1],"t"+number,number,myInitObject) ;
// This attaches the right movie clip from the library
}
_root.onLoad = function () {
pos = 1 ;
_root.attach(pos) ;
// When the movie starts, we attach the first movie clip
}
BUTTON01.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 1;
_root.attach(pos) ;
}
BUTTON02.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 2;
_root.attach(pos) ;
}
BUTTON03.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 3;
_root.attach(pos) ;
}
BUTTON04.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 4;
_root.attach(pos) ;
}
BUTTON05.onPress = function() {
_root["t"+pos].onEnterFrame = fadeOut ;
pos = 5;
_root.attach(pos) ;
}
// ---------------
// Array of movies
// ---------------
myMovies = new Array ("MC01","MC02","MC03","MC04","MC05") ;
Flash Auto Play
hi, I just created a simple flash effect for my website but the problem is the users need to click on the flash area first then they would be able to get the flash affect, my question is how do i tell flash to make it automate play so the users don't have to click on the "flash area" first to get the affect?
the site is
http://www.theclayman.com/
choose the flash version
also I use an external jpg and loadMovie to load all the picture (if you rollOver to the link you supposed to get the different pic on the right side) but sometimes it tooks a while for flash to load the image how do i make it to load faster then?
Load Swf's From Xml Auto Play
i'm trying to load multiple swf's from XML and play them one after the other until the end then start over with the first swf.
i've loaded my XML and get undefined for the file but it exist not sure what i'm doing with this. any help would be awesome.
my XML looks like this
- <adSet>
<filename>media/test1.swf</filename>
<filename>media/test2.swf</filename>
</adSet>
Code:
var xmlDoc:XML = new XML();
System.useCodepage = true;
xmlDoc.ignoreWhite = true;
xmlDoc.onLoad = function(ok:Boolean) {
if (ok) {
doMenu(this);
} else {
trace("XML did not load");
}
};
xmlDoc.load("playlist.xml");
function doMenu(xml:XML) {
var num:Number = xml.firstChild.childNodes.length;
ads = new Array();
for (var i = 0; i < num; i++) {
ads[i] = xml.firstChild.childNodes[i].attributes.image;
}
loadMovie(ads[i],1);
}
Auto Play Button
Okay here is my problem. I have presenation where i kept different buttons & when mouse over than the popup window comes, now i want that button to show popup message to run one by one.
Please help, because I want to make that movie automatic without any click.
Thanks,
Please help
Auto Pause And Play
hi
how can i pause an flv clip for 3 seconds then continue to play?
i can pause on a cue point like this
Code:
ns.onCuePoint = function(cue) {
if(cue.name == "cuePointB") {
ns.pause();
}
but i cant make it continue after a number of seconds.
any help would be much appreciated
Thanks
Pop Up Audio Player Silencing Page Player
I recently added a pop up player to my site, which pops up the audio player in a new window if you care to listen while navigating other pages (or want to listen without having the songs start over each time you change a page, because i'm working primarily html, and only using a flash player, so each time you load a new page it starts over). What i'm wondering is if there is some kind of global function that will have the media player on the page check if the pop up player is playing, and if it is, then not to start the audio. I'm not sure if that makes sense or not, but basically i want one audio player to be playing at a time, so you don't have songs clashing against each other.
Auto Play Movie Clip
What commands do I use to make a movieclip start playing without having to click on a button or anything, just start it automatically at a certain frame?
Auto Play() The Director Timeline By Swf
here i want to raise a question:
if i import a swf file (no interactive, an animation) into timeline in a director file(.dir), says, play the swf which is held in Frame 1, can i use actionscript with responding lingo to continue director timeline(play the following frames) after the animation (.swf) ends?
(i knew how to use lingo to stop at frame 1 of director timeline but i am not sure it does work as i mention)
i am not sure whether i have to use lingo with actionscript (or only lingo) to tackle the problem.
thx for your attention and waiting your helpful advice.
Ray
Auto Play Flash Presentation CD
I have created a flash presentation and now I want to put it on a mini cd, I want it to be fully stand alone so when people pop it in everything will play and they wont have to do anything. I also want it to work on both PC and MAC. What do I have to do for this to work? If you have any suggestions or sites that cover this topic it would be greatly appreciated!!
THX
scott
[CS3] Flash Movie To Auto Play
Hi all,
I am new to flash and am designing a site for a customer that is mostly flash. I have one problem. I am using Flash CS3 and I want a movie to automatically start when the page loads. Right now I have a play button that you press and the video starts and ends at the last picture and then has a replay button. How do I get this movie to automatically play and loop through so it keeps on playing as the user is on the page? The page that I am talking about is on bluejeanlawyer.com and is on the left of the page. Thanks in advance for all of your help
|