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




Automatic Play



Hello,
I am wanting to burn a swf onto a mini-sized CD as a business card presentation. I want it to automatically play the contents when it is inserted into the CD ROM of any PC. Also if the PC does not have the Flash Player, I want it to automatically install it first, then play the contents. Is this possible?


ODC
<-- I really look like this, aside the cool smile.



FlashKit > Flash Help > Flash MX
Posted on: 11-14-2005, 07:57 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Automatic Play
hello..
I have separate buttons... that when you clik, a certain image appear, and a small bar follows the number that the image represents...
however, what I am trying to do also, is to have a play button,
that will trigger all the buttons to loop in a sequence, and when they press the button, the loop will stop... and then it becomes manual...
also, if I could have the loop with a fade for each picture.

Thanks in advance

How To Play Frame Automatic
My frame 1 is placed with a movieclip, and frame 2 is the same

but i get the flash screen result between 1 & 2,
If only frame 1, they can run correctly, after insert frame 2, just get the above result

* I want to play frame 1 (inserted movieclip) after play the last movieclip frame then play the frame 2 (inserted movieclip) automatic

Mp3 Jukebox Preloader And Automatic Play
[font=Lucida Sans Unicode]hello all,
thanks for looking at my post. i'm having difficulty implementing automatic play on load for my streaming mp3 player as well as a load bar. thanks for your help. attached is my script.

ActionScript Code:
// Load the song list available on the server
MovieClip.prototype.loadSongList = function(URL) {
    // create new XML
    this.mySongList = new XML();
    this.mySongList.ignoreWhite = true;
    this.mySongList.load(URL);
    // init the preLoader
    // startPreload("_root");
    // callback function creates a playlist
    this.mySongList.myClip = this;
    // onLoad is referenced to the XML so first create a reference to self
    this.mySongList.onLoad = function() {
        // this now refers to the XML and myClip is used to pass the movieclip reference
        trace(this.myClip);
        this.myClip.makePlayList(this);
    };
};
//
// make a songlist
MovieClip.prototype.makePlayList = function(myPlayListXML) {
    // Hardwired XML reader to read the XML playlist.
    // First get the number of songs
    this.songNos = myPlayListXML.firstChild.firstChild.childNodes.length;
    trace("Number of songs = "+this.songNos);
    // create playlist object
    this.PlayList = {};
    // new object created
    this.PlayList.Songs = new Array();
    // new array created in the songs object
    // songlist is xml with only songs
    this.songList = new XML();
    this.songList = myPlayListXML.firstChild.firstChild;
    this.mySong = this.songList.firstChild;
    // trace (mySong);
    // trace (songList);
    for (var i = 0; i<this.songNos; i++) {
        // PlayList.Songs[i] = "Song" + i;
        this.PlayList.Songs["name"+i] = this.mySong.firstChild.firstChild.nodeValue;
        this.PlayList.Songs["src"+i] = this.mySong.firstChild.nextSibling.firstChild.nodeValue;
        this.PlayList.Songs["artist"+i] = this.mySong.firstChild.nextSibling.nextSibling.firstChild.nodeValue;
        this.mySong = this.mySong.nextSibling;
        trace("song name "+i+" = "+this.PlayList.Songs["name"+i]);
        trace("song src "+i+" = "+this.PlayList.Songs["src"+i]);
        trace("song artist "+i+" = "+this.PlayList.Songs["artist"+i]);
    }
    this.displayPlayList();
};
// ***************plays the song passed in the argument**************************
MovieClip.prototype.playSong = function(songNo) {
    var songURL = this.PlayList.Songs["src"+songNo];
    if (this.streamSound) {
        var stream = true;
    } else {
        var stream = true;
    }
    mySong = new Sound();
    mySong.stop();
    mySong.loadSound(songURL, stream);
    mySong.baseClip = this;
    mySong.onLoad = function() {
        this.start();
    };
    mySong.onSoundComplete = function() {
        this.baseClip.getNextSong();
    };
    this.currentSong = songNo;
    this.displayPlayList();
    this.playPause.gotoAndStop(2);
};
// ***************plays the next song **************************
MovieClip.prototype.getNextSong = function() {
    if (this.currentSong<(this.songNos-1)) {
        this.currentSong++;
    } else {
        this.currentSong = 0;
    }
    this.playSong(this.currentSong);
};
// ***************plays the previous song **************************
MovieClip.prototype.getPrevSong = function() {
    if (this.currentSong>0) {
        this.currentSong--;
    } else {
        this.currentSong = (this.songNos-1);
    }
    this.playSong(this.currentSong);
};
// **********pauses the song*******************
MovieClip.prototype.stopSong = function() {
    mySong.stop();
};
// preloader function
MovieClip.prototype.startPreLoad = function(objectToLoad) {
    trace("**************start loading "+objectToLoad);
    preLoader.loadBar.myObject = objectToLoad;
    preLoader.loadBar.onEnterFrame = function() {
        trace("myObj="+[this.myObject]+" | nowloaded="+[[this.myObject]+".getBytesLoaded"]());
        this._xscale = ([[this.myObject]+".getBytesLoaded"]()/[[this.myObject]+".getBytesTotal"]())*100;
        if ([[this.myObject]+".getBytesLoaded"]() == [[this.myObject]+".getBytesTotal"]() && [[this.myObject]+".getBytesTotal"]() != 0) {
            trace("done loading");
            this.onEnterFrame = null;
        }
    };
};
this.display.loadSongList("playlist.xml");
stop();
as it is now, the user has to manually start the music and i'd like it to automatically start. here is my current manual play button script.

ActionScript Code:
on (release) {
    if (_parent.currentSong == null){
            _parent.currentSong = 0;
    }
    _parent.playSong(_parent.currentSong);
    this.gotoAndStop(2);
}
i'd like for the song to automatically play on load and the load bar to show when the user skips to the next song. thanks again!

Photo Gallery: Add Automatic Play
I've been using the photo gallery tutorial published on this website (code by sbeener :: tutorial by kirupa chinnathambi). It is great and I love the transition between each picture, except for the option of making the photos run automatically. I would like to have both options: manual control of the photo show with previous and next buttons (already existant) and a play/pause button to run the show atomatically. What should I add to the action script to make this possible? Thank you all.

Play 30 Seconds Then Automatic Skip In Flash
Hi,
I have an intro and I would it to automatically go to Scene 1 after 30 seconds.
Can someone help me?

Thx

Melissa Anne

Play 30 Seconds Then Automatic Skip In Flash
Hi,
I have an intro and I would it to automatically go to Scene 1 after 30 seconds.
Can someone help me?

Thx

Melissa Anne

Play Moviclip Automatic Forward And Backward In A Loop
hey there =)

ive import a quicktime movie with clouds

http://nbeyond.nb.ohost.de/

everythings fine so far! but it dont looks very nice when the movie jumps back to the first frame after itīs finished
so i want that it plays the movie backward to the first frame and than play again to the finish! on the finish back again and so on
so that itīs always a smooth movement in the sky

plz someone can help me?!

Resume Play Than Restart Play On The Play Button.
I have this script that works but it keeps on starting from the start of the song, than resume from where I stopped it.

myMusic = new Sound();
myMusic.loadSound("audio/track.mp3", true)
stopbtn.onRelease = function()
{
trace("sound stopped");
myMusic.stop();
};

playbtn.onRelease = function()
{
trace("sound played");
myMusic.start();
};

How do I change this code to resume when pressing the play button than starting from the start of the song. I guess it be more like a pause button than a play button.

Automatic Pop-up
Anyone knows the javascript to automatically open a small pop-up window...

Automatic Etc
My first effort wouldn't start automatically, it was because I had a stop; this one hasn't a stop but a loading bar, which doesn't show up, and it doesn't start by itself, what am I doing wrong?
http://www.users.bigpond.com/matilda...ter%20card.htm

Automatic Swf To Gif
Hey guys,

Say, I have this amazing banner (see attachment). the name is dynamically set. Is there some way to export and save a gif of this swf dynamically? I want to be able to pass a variable (the name) to the swf and have the swf export a gif where the 'Your Name' is replaced by the variable.

Any ideas? Thanks!

Automatic Pop Up
Hello! Does anyone knows how to create an automatic pop up, Centered and sizable.
Meaning while the movie is playing at a certain keyframe it pops up with some text and the user will be able to close it.

Thanks Mangu.

Automatic Scrolling
I have a dynamic text in flash and i use ASP to get value written to it.My probelm is to make the content of the text field to be scrolling automatically when the page gets loaded and if i keep the mouse over it .it should stop.
its for a news flash in my project which comes in the first page.i dont want to make the text field entirely to be a movie..i want tonly the content to be scrolled..Please help me..its bit urgernt.

Automatic Closing Pop Up
Im designing a site and im going to have a flash movie pop up in a window off the start without handles and such, and when the movie is done i want the window to close, what action script code would i need for this to work.

thank you

Automatic Inputbox
I was just wondering how to script so that when a movie starts to play, the input box would be selected automatically, so that the user would not have to click on to the box before they can type?

Automatic Scaling?
Can someone show me how to make a flash movie that could get info from the comp to find the resolution and then size it self to the computers resolution? If so it would be much apreciated.

thanks Azrael

Automatic Scroller
Does anyone please know how to make text scroll automatically like the cast list at the end of a film?

I wish to be able to stop the scrolling aon the click of a button and them be able to restart on clicking the button again.

I also want the be able to have the scrolling at a certain speed.

All help much appreciated

Automatic Scrolling
Hi everyone,

I got a bit of a problem, here's the situation. I want to make a news section in my web page and it has to be flash 4 compatible. What i'm looking to do is a scrolling text box with the up and down arrows. That was quite easy, but i would like it if the text would go up automaticaly and i could have a pause button to make it stop and then use the up/down arrows to view my text. I've tried many ways to play with variables and i'm yet to succeed. If anyone has and idea how to do it or know that it's not possible with flash 4 then please let me know. Thanks a lot, and have a great day...

Lise

PHP Automatic Email
Hi Yall!!

I'm using a PHP counter on my site that works great. However, in order to view how many people go to my site I have to go to my site myself and that's a bit annoying. Is there anyway I can add to my PHP counter script to automatically send me an email every time I get a hit, or 10 hits?

Here's my current script:

<?

$filename = "PHPCounter.txt";

$fp = fopen( $filename,"r");
$Old = fread($fp, 100);
fclose( $fp );

$Old = split ("=", $Old, 5);

$NewCount = $Old[1] + '1';

$New = "Count=$NewCount";

$fp = fopen( $filename,"w+");
if (flock($fp, 2)) {
fwrite($fp, $New, 100); }
fclose( $fp );

print "Count=$NewCount";

?>

PHP Automatic Email
Hi Yall!!

I'm using a PHP counter on my site that works great. However, in order to view how many people go to my site I have to go to my site myself and that's a bit annoying. Is there anyway I can add to my PHP counter script to automatically send me an email every time I get a hit, or 10 hits?

Here's my current script:

<?

$filename = "PHPCounter.txt";

$fp = fopen( $filename,"r");
$Old = fread($fp, 100);
fclose( $fp );

$Old = split ("=", $Old, 5);

$NewCount = $Old[1] + '1';

$New = "Count=$NewCount";

$fp = fopen( $filename,"w+");
if (flock($fp, 2)) {
fwrite($fp, $New, 100); }
fclose( $fp );

print "Count=$NewCount";

?>

Automatic Print
Is it possible to automatically print a bunch (hundreds) of ".swf" files in a folder with actionscript? If so, how can I get a hold of this?

Automatic Size
another question for my site . i want to make it resizable ... how ?

Automatic Close...
Hi everyone, how can i make a flash movie that closes its own window automatically after sometime without displaying any message. I hope it is possible thanks

Automatic Focusing? HELP
i have a text field wich variable name is guestname
and i need it to be focused as son as the frame that contains it loads.

By focused i mean that i want to find in that text field the cursor flashing allready as soon as the frame loads

please heeeeeeeeelp

Caching Automatic?
Hi All,
I was just wondering if when clicking between several pages with the same SWF on....Will the browser cache the SWF by default?

Is this the case for Mac/PC/Explorer/Navigator??

Don't want to open a can of worms but just just find out a general idea?

Thanks in advance!

Automatic Slideshow
I've created an automatic slideshow using a "Goto Screen Behavior" on the last keyframe of my actions layer. The first slides work great, but once it gets to slides where text comes out in a certain order, everything goes haywire. I was wonder if maybe there is a better way to do this.

Automatic Mp3 Player
Hey. Hopefully someone can help me out on here. I have an XML drven mp3 player. It is very basic; it has play/pause, stop, f/b skips and the name of the song playing.

Can someone tell me how to get the player to start automatically after it loads, so you don't have to press the play button? I've seen it done, but I can't find any example on here that work that way.

Thanks,

Automatic Timer
I am trying to create auto matic timer .. the one i made works fine if i have it start my functions by pushing a button but if i try to start the funtions threw another movie clip the functions start but then flash does not access the onenterframe code to make the timer work .. here is the code can someone please help me with this?
remember i am calling the functions on another movie clip and i traced them and they trace fine but the onenterframe on this main code does not get into it.

code: hours = "00";
minutes = "00";
seconds = "00";
milli = "00";
buttonPressTime = getTimer()/1000-pauseLength;

function unpause() {
unpauseTime = getTimer()/1000;
pauseLength = (unpauseTime-pauseTime)+pauseLength;
timing = true;
}
function pause() {
pauseTime = getTimer()/1000;
timing = false;
}
_root.onEnterFrame = function() {
trace("here");
totalTime = getTimer()/1000-pauseLength;
goTime = totalTime-buttonPressTime;
if (timing) {
hours = Math.floor(goTime/3600);
minutes = Math.floor((goTime/3600-hours)*60);
seconds = Math.floor(((goTime/3600-hours)*60-minutes)*60);
milli = Math.floor((gotime-(seconds+(minutes*60)+(hours*3600)))*100);
if (seconds<10) {
seconds = "0"+seconds;
}
if (minutes<10) {
minutes = "0"+minutes;
}
if (hours<10) {
hours = "0"+hours;
}
if (milli<10) {
milli = "0"+milli;
}
}
};

edit: added AS tags for an 'easier to read' formatted code. See this forum guidelines.

gparis

About Automatic Loading
Hi,

Please help me to result this problem! I am going to build a 2 minutes long flash movie for my company which have images and text for some introduction. But I am very worry about download speed for this huge files.

Could you let me know how I should do it? I think i am going to use different sences of or make different movie clip to swf files. Could you let me know what kind of action script to automatic preload next sence or next movie clip when I am playing the first one? Could you send me a sample action script or a movie sample?


Thanks all!


rose

Automatic Linking
Hi everyone,
I'm looking at making a webpage so that whenever I input a Bible verse the page automatically makes a link for me. Someone made one work for a php bulletin board, but I don't know how to incorporate that into flash. Is there anything that searches for words in .swf files? If nothing else I could search every word and see if it matches the books of the Bible or something. Any ideas or directions would be appreciated. Thanks everyone.

Automatic Advance
how do i advance a .jpg from an xml automatically every 3 seconds?

Automatic Return?
Client asked me if I could rig a music page so that, once the .mp3 finishes playing, the viewer would be automatically returned to the main page.

Assuming a return took at least a mouser-over, I told him no--but then I realized there's hardly any "no" in flash, so I thought I'd ask here.

I'm in flashMX (vanilla, not 2004).

Thanx in a trance,
M

Automatic Painting
Hi there!

i should do an application to show a shape with texture and other accessories on to, after a data input. It's to make an automatic render after an order form.

I think to do this application using flash.
Anyone knows something similar?

thank you
Tepepa

Automatic Refresh
Hi, I have my .flv movie ad playing on our brand new search engine http://www.bittyfind.com
What is happening is we have it to start when yo open browser, but when you click a link on the page and click back or use your back browser button back to same page nothing is there. You can still here it but no visual. I want this to refresh automaticlly. How can this be done, or is this my issue? I do not want a button with this:
on(press){
getURL ("javascript:window.location.reload( false );","_self");
}

Just a code for refresh

[F8] Automatic Fade-out?
I am using the following code to generate a "brush" for a drawing app:


Code:
createEmptyMovieClip("Line",1);
Line.lineStyle(50,0xff0000,100);

onMouseDown = function () {
Line.moveTo(_xmouse, _ymouse);
onMouseMove = function () {
Line.lineTo(_xmouse, _ymouse);
}
}

onMouseUp=function() {
onMouseMove=null;
}


What I would like is for the drawn line to begin fading away after a short interval (30-45 seconds). Is this even possible, and if so, how?

I've been scouring forums and tutorials and haven't found any kind of fade-out scripts that work (or that I'm able to apply correctly). Please help!

Automatic Presentation
Hi

I'm working on a flash presentation that is supposed to play automatically in a loop. The presentation is meant to play continousy on a screen without anyone controlling it.

The first part consists of a series of pictures, with no flash animation on them. The second part also consist of a series of pictures, but with independent animation on each of them.

What is the best way to go about this to make the presentation play automatically? I imagine the best way would be to use screens, which makes it easy to create sliding effects when going from one picture to another. The problem is; I cannot find a way to automatically go from one screen to another. All the tutorials I've found explain how to do with buttons. Do anyone know how to do this?

Alternatively, is there another way to go about this problem?

Thanks for any help you can give

klobb

Automatic Presentation
Hi.

I posted this before the weeekend on the newbie forum with no luck, so I'm giving at try here.

I'm working on a flash presentation that is supposed to play automatically in a loop. The first part consists of a series of pictures, with no flash animation on them. The second part also consist of a series of pictures, but with independent animation on each of them.

What is the best way to go about this to make the presentation play automatically? I imagine the best way would be to use screens (File -> new -> Flash Slide presentation), which makes it easy to create sliding effects when going from one picture to another.

The problem is; I cannot find a way to automatically go from one screen to another. All the tutorials I've found explain how to do with buttons. Do anyone know how to do this?

Alternatively, is there another way to go about this problem?

Thanks for any help you can give

klobb

Automatic Scroll
Hello... i have a little problem that you guys maybe can help me with...

I have a web site designed absolutelly in flash8, in the news page i used a component who does an automatic scroll from the news who are in an xml file.

The problem is that when i switch to another page of the site the text scrolled remain in the screen an only gets away when i do a mouseover over it.

I would like to know if there is a way to avoid that, i've already tried to put the element in a separated layer and activate it only in that frame.

I must say that all the pages in the site are under the same movieclip and each other is in a different frame. the news one is in the frame 4.

Thanks.

Automatic Refreshing?
Hey guys, wasn't really sure where exactly to post this, so I put it in the newb forum


Got a few flash websites that occationally have the actual flash content modified. This is non-text stuff, updated graphic elements and so forth, so it's a new copy of the same .swf file. However, I've noticed that unless you clear your temp files the new swf files won't load, instead showing the older files.

Is there some way, using flash or javascript or something, to datestamp the swfs and if the user has an older version it'll load up the new version?

I'm sure this is a little long winded, but thanks for the help guys

-LetterAfterZ

Natural Cow Design
www.naturalcowdesign.com.au

Automatic Return?
Hello,

I have a swf file playing an animation at the very beginning with four buttons. Each button plays a new section. Three are FLVs and one is an external slide show.

How can I make the flash go directly back to the intro animation after each video and photo slide show is played?

Thanks for your help.

Automatic Link To Url
hi

i have just purchased flash file for my website, but i have no idae how i edit it to make it automaticaly go directly to the web site once it has finished running.

Can someone please help me as i am a total newbie.

Many thanks in advance

Automatic Erasing
How can I prevent content (graphics, text and the last frame of a movie that has finished playing) to not automatically erase when my Flash project advances a frame? Also, how can I then later erase this content that I had prevented from being erased?

Automatic Scrolling?
I would like to know how I can get a homepage to continually move across the screen. To the right or left. Im designing a site which showcases at least four pictures, but since Im designing for a screen size of 720x424 the images will be too small if I wanna put them all on one page. I figure if they scroll along slowly, filling almost all of the screen at once, have buttons in them, the feel would make this home page accessible and interesting.

[CS3] Automatic Keyframes?
We have an excel file with hundreds of longitudes and latitudes positions and we would like to insert these into flash so a graphic on the map moves along with the longitudes and latitudes positions.
How can we do this automatically without inserting keyframes and code at each different keyframe?




Desired_Latitude = -35.117;
Desired_Longitude = 137.827;
(I'll just repeat the above code as an example)

Desired_Latitude = -35.117;
Desired_Longitude = 137.827;
Desired_Latitude = -35.117;
Desired_Longitude = 137.827;
Desired_Latitude = -35.117;
Desired_Longitude = 137.827;
Desired_Latitude = -35.117;
Desired_Longitude = 137.827;
Desired_Latitude = -35.117;
Desired_Longitude = 137.827;

[CS3] Automatic Scrolling Help
Hi Guys,
Long time since I used to hang out here...been over 4 years, but now I have new flashproblems which I hope someone can help me with.

Trying to load XML data into a swf using below code:

//load in XML
top_txt.txt_ani.myText.wordWrap = true;
top_txt.txt_ani.myText.multiline = true;
top_txt.txt_ani.myText.label.condenseWhite = true;

//load css
racinginfo = new TextField.StyleSheet();
racinginfo.load("kungfu.css");
myText.styleSheet = racinginfo;

racinginfo = new XML();
racinginfo.ignoreWhite = true;
racinginfo.load("16-10 Greenside Park.xml");
racinginfo.onLoad = function(success) {
if (success) {
top_txt.txt_ani.myText.text = racinginfo;
trace("working");
}
};

This gives me the xml data when I use local file: "16-10 Greenside Park.xml", but when I try to load it externally, using this link: http://www3.adsfac.eu/ads/whi001/16-...ide%20Park.xml , it doesnt work.
Any ides on why?

Also, the above script gives me a stationary xml feed, I want this to scroll automatically, I have gotten it to work using this script:

top_txt.txt_ani.myText.scroll==top_txt.txt_ani.myT ext.maxscroll ?
top_txt.txt_ani.myText.scroll -= 1:
top_txt.txt_ani.myText.scroll++;

However, this scrolls the feed 3 times, then stops...any ideas on why?

PLS HELP!

Automatic Scaling
I have built this website in Flash to showcase our work.

http://www.perfectmarketing.co.uk

I want all the images/work examples displayed in the middle to scale with the window so that it can work in any size browser for any size screen.

A bit like the work examples on this website here:

http://tbgd.co.uk

Anyone have any ideas? My action scripting is very basic so I'm a bit lost.

Thankyou kindly.

Automatic Update
Hi

I just created a small site for a company. That company uses different browsers (Internet Explorer, Netscape and Firefox), and also different versions of them. I have problems viewing that site on some different versions of Netscape, especially versions 7.x

How can we force an automatic update of the flash plugin for all browsers and all different versions. Or at least have a notification to update the plugin.

thanx in advance
scarlac

AUTOMATIC Mp3 Streaming...
Hey all,

I've put a site up for an up and coming recording artist, and we have an mp3 player that is working just fine. I have a .txt file that lists the files and tells the mp3 player in what order to list them, as well as a .as file with the scripting to make the mp3 player work. The .as file is such:

myList.setStyleProperty("textColor", 0x999999);
myList.setStyleProperty("textFont", "Verdana");
myList.setStyleProperty("textSize", 9);
iVars = new LoadVars();
iVars.load('songList.txt');
ivars.onLoad = function(success) {
if (!success) {
trace("failed to load");
} else {
_root.pListNum = iVars.num;
_root.songTitles = iVars.songTitles;
_root.songs = iVars.songs;

arLabel=new Array();
arData=new Array();
arLabel = _root.songTitles.split("|");
arData = _root.songs.split("|");
_root.songs = new Array();
for(x=0;x<arData.length;x++) {
_root.songs[arData[x]] = x;
//trace(_root.songs[arData[x]]);
}

//load the box with data/labels
for(var i=0;i<arLabel.length;i++){
myList.addItem(arLabel[i],arData[i]);
}
//tell the list box to hide the scroll bar when the list is shorter than the box.
myList.setAutoHideScrollBar(false);

//set the change handler for the list box
//this tells the list box what function to run
//when an item is selected.
//if you use the suffix '_lb' in your instance name, you will get the dropdown
//box of all available methods for the listbox when writing your code.
myList.setChangeHandler("itemPicked");
_root.startIndex=0;
}
//myList.setSelectedIndex(0);
};

itemPicked=function() {
_parent.mp3Player.myConditionText = "loading...";
//an item has been selected:
//insert the data value in the box into the text box
var myVal=myList.getSelectedItem().data;
dotIndex = myVal.indexOf(".");
myXml = myVal.subString(0, dotIndex);
_root.xmlFile = myXml + ".xml";
_root.pList = myList.getSelectedIndex();
myList.setScrollPosition(myList.getSelectedIndex() );
if (_root.startIndex == 0) {
//trace("creating new sound obj");
_root.s.stop();
_root.s = new Sound();
_root.s.loadSound(myVal, true);
_root.s.start(0,0);
} else {
//trace("_root.startIndex is " + _root.startIndex);
_root.s.start(_root.startIndex,0);
}
};

My question is this... How would I alter this script so that on intially loading the website, the first listed mp3 automatically plays. As of now, you must click on a title to load a song. the site is www.michaelmusic.org

thanks!!!!!!
Qristopher

Change Automatic?
- how to make the button and the action script that can changing the image + symbol + and making movie clip automatically ??<<
for example we click and then the image changing with the other image from the other directory......
- and how to make the button that can show dialog box of open file like in windows????

Copyright Đ 2005-08 www.BigResource.com, All rights reserved