Just one button, but it loads 3 different flv's - possible?

hello all,
I have one button on stage [ btn_01 ] and I have three flv
videos I'd like it to play. [ vid_01, vid_02, and vid_03 ].
(I"d prefer to use the FLVPlayBack component, but if I must
use the NetStream route, I can do that.)
i want to make that button play those -in order- so a
different .flv for each click, all from the same button. Possible?
With the things I'm asking the button to do, makes me think
of an array... but looking the ActionScript help, under
video...would I be "showing, then hiding" the videos?
attachVideo (Video.attachVideo method)
//to load one, then:
clear (Video.clear method)
//to clear it?
but then I'd still need some type of array (I think) to move
from one flv to the next...
if you've any ideas, I'd appreciate it.
best,
pow

Thank you kglad.
I appreciate all your help.
here is my site (one small bug yet) but it's almost complete.
You should recognize some functionality features, cause you helped
me with them. >smile.
the one bug I've yet to fix is a handler issue I believe. If
you have a chance I'd very much appreciate your thoughts/help.
if you go to my site:
www.jimsbook.com
>near left of three windows on home page is nav.
>click flash
>on this page, if I click on one of the four buttons
(bottom right hand of page) they gotoAndPlay a swf at a specific
place on the timeline. works.
if I click the next button, it works. but if I repeatedly
click on btns 1-3, the go nowhere on the second click, but on the
third, they play correctly. so they alternate, play, then nothing,
then play again. btn 4 goes to next scene on second click.
I've stops on frame labels above each of the four swf
sections on the timeline, and am not understanding why the button
does not behave the same way every click. I'm sending it to a
specific label. shouldn't it repeat that whether I press it twice
or twenty times?
if you notice any reason as to why that'd be happening...I'd
appreciate your thoughts.
and thanks for your past help, wouldn't have been able to
make this without yours and other's help.
(now maybe if I can get a job...>smile)
button name: "btn_04"
label name: "ggcStart"
empty movie clip to display swf: "swfHolder_ggc"
swf: "ggc_creature"
<code
btn_04.onRelease = function(){
this._parent.gotoAndPlay("ggcStart");
this._alpha = 45;
var container:MovieClip =
createEmptyMovieClip("swfHolder_ggc",
getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("siteAssets/flash/ggc_creature.swf",
container);
function onLoadInit(mc:MovieClip) {
trace("onLoadInit: " + mc);
/code>

Similar Messages

  • Is it possible to have a menu with just one button highlight when someone rolls over it?

    is it possible to have a menu with just one button highlight when someone rolls over it? if so how would you do it as i tried doing an invissble button but it didn't work?

    Get yourself a copy of Total Training for Encore DVD 1.5 by Daniel Brown.  This exact scenerio was explained in section 4) Building Menu and
    section 7) Advanced techniques.
    I refer to Dan's video time & time again.  It's from 2004 but he's still right on the mark regarding the generation of every aspect of creating a DVD.
    They now offer their entire online.
    www.totaltraining.com
    Good luck

  • Is there anyway one can retrieve music that one accidently deleted. Not just one song , but alot of my collection-gone !

    is there anyway one can retrieve music that one accidently deleted?. not just one song,but alot of song in my collection . I am really sick by this occurence, and I had no iclould backup. suffering a loss

    Check from your recycle bin.
    Usually when you delete a song from iTunes, a popup window will ask whether you want to move the file to recycle bin or keep the file.  So it's either still in your PC or Recycle bin.

  • I have only one ID, but I have different passwords for my iPhone and iPad. How to fix that?

    I have only one ID, but I have different passwords for my iPhone and iPad. How to fix that?

    Hi Cristigil,
    Are you talking about your lock screen passcode? If so, go into Settings>General>Passcode Lock, and Change one of your Passcodes to match the other.
    Hope this helps!
    Cheers,
    GB

  • I want to transfer my song one mac to another mac, just one or two songs with rating it's possible?

    I want to transfer my song one mac to another mac, just one or two songs with rating it's possible?

    I am pretty sure the ratings are stored in the main library file itself, not attached to the media files unlike things such as artist and album.  They therefore don't transfer with you adding the file to a different library.
    Check Dougscripts and see if there is a script that helps with this.  One solution would be to perhaps temporarily borrow an unused tag field such as grouping and have Dougscript "place this in that" put a copy of the rating in that field, then transfer it to back to rating when you add it to a second library. I haven't done this but it might work.

  • Can You Lock Just One Page but not whole site?

    I'm sure this was answered -- but now I cannot find it in the topic list.
    I want a particular site to be open to one and all. But I want to lock just one page on that site -- which would require a user name and password. My attempts so far end up locking the entire site.
    Any suggestions?
    Many thanks,
    Richard.
    Power Book G4   Mac OS X (10.4.2)  

    if you search this forum for "password one page" you will find some previous posts.
    There is one that mentions creating a second one page site and passwording it with a hyperlink in the first site. Might be the way to go. I don't believe you can currently password just one page.
    good luck

  • Why won't my icloud desktop load? It just keeps running, but not loading

    Why won't my icoud desktop load? For the past 2 days, it just keeps running without ever loading.

    you don't need to uninstall your cs6 products.
    did you run the cleaner between uninstalling and reinstalling?  if yes, contact adobe support, Contact Customer Care

  • I updated AVG, and now Firefox's Restore Previous Session is not working properly. I've restarted my computer a few times, and still no restore previous session. I have the button, but it looks different and does not open up the previous session. Help!

    I updated AVG and after that the restore session button for Firefox has not worked. Each time I close and that option becomes available, I am able to click, but it does nothing but blink. Also, it appears different from before.

    Had this trouble myself, just did some research and solved it!
    Go to the '''Help''' menu, go to "'''Troubleshooting Information'''"
    On the new window, click "'''Open Containing folder'''" next to ''Profile Directory'' (This opens the folder on your PC where Mozilla stores some settings, like a tab history)
    In the new Windows Explorer window, Find the file "'''chromeappsstore.sqlite'''"
    You'll want to close Firefox and then '''delete''' that file (don't worry, Firefox will create a new one, and you won't even lose the open tabs)
    Start Firefox again and the button should work!
    (For completeness's sake, the profile folder for windows7 is: C:\Users\Tiberion\AppData\Roaming\Mozilla\Firefox\Profiles\c6xu23fh.default\
    where you replace Tiberion with your own username, and the random characters in the final folder will be different.)

  • _WI_RESULT has one value but workflow follows different path

    Hello,
    I have a strange problem - I have a task which is defined against the standard BOR method EMPLOYEET->ENQUEUE
    this tries to lock an employee.
    if it fails it should let me know and the outcomes of the task should vary - I use two of these outcomes.
    Operation performed successfully - which maps to result = 0
    Operation performed with errors - which mapps to result = 1.
    Now I have a workflow where the result was clearly 1 - I can see in the container of the workitem that WIRESULT = 1.
    yet the workflow has continued off along the path "Operation performed successfully".
    As you can imagine, I'm slightly puzzled.
    Is there anything that might have happened to my task/WF that could have distrupted the link between the task and the outcomes?
    Several years ago and a different system 4.6C now ECC6 this worked just fine.
    I could just build another decision step in the WF - but I don't think I should need to.
    Edit - just been playing with the WF - did a check and got this message:
    Indicator "Results Parameter" missing in BOR method ENQUEUE
    Given that this is a standard method should I worry?
    Any suggestions on what might be going wrong and especially how to fix it, much appreciated.
    Cheers,
    Chris
    Edited by: Chris Paine on Apr 1, 2010 1:44 PM

    Hi Aman,
    yes I did bind all the container elements.
    Perhaps I was not clear - the issue is that the workflow is following one of the "outcomes" of the task.
    These outcomes are generally driven by the generic task container method WIRESULT.
    Yet the workflow does not seem to follow this logic and is ignoring the value of WIRESULT and continuing with the default "outcome".
    I have changed the WF to make a decision on the error message which is a parameter returned by the BOR method (and yes I have bound it) - so it works - but why is it that this behaviour (which I am sure used to work) no longer does?
    Cheers,
    Chris

  • Paypal button code works fine for one button but not another

    Hey there, I have a paypal btn with this code on it:
    on(release){
    mylv = new LoadVars();
    mylv.cmd = '_s-xclick';
    mylv.encrypted = '-----BEGIN
    PKCS7-----MIIH0QYJKoZIhvcNAQcEoIIHwjCCB74CAQExggEwMIIBLAIBAD
    CBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD
    VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW
    5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2 ==-----END
    PKCS7-----';
    mylv.send('https://www.paypal.com/cgi-bin/webscr', 'POST');
    (i took a few characters out of the encrypted string--just in
    case and to shorten the post)
    This button works fine.
    Now, I need a second button for a different item.
    So, I went on to paypal last night and generated a "buy now
    button" several different times. Copied and pasted the encrypted
    string where the old one is. When I have the site live and click on
    the new button it takes me to a paypal pages that says "We were
    unable to decrypt the certificate id."
    Any one have this issue before? And does anyone have any idea
    of how to correct it?
    Thank you in advanced,
    hutch

    HI Bob,
    You can test your settings by clicking the big "Test My DNS" button at <https://www.dns-oarc.net/oarc/services/dnsentropy>. If you see "Poor" on any of the tests, don't use that domain name server! Remove it from Apple Menu => System Preferences =>Network =>DNS Servers or similar location in your router if you've got a 'home network'. If all you have is "poor" DNS servers in your list, call your ISP and insist that they give you the address of a name server which is protected against the recently exposed DNS cache-poisoning threat.
    Also, open System Preferences/Network. Click the DNS tab. Add these numbers in the DNS Servers box.
    208.67.222.222
    208.67.220.220
    See if that helps.
    Carolyn

  • Maintain one PIR but for 2 different set of conditions

    Hi Expert,
    If i want to maintain PIR for material ABC, vendor 123, plant 1000 and purchase org 2000 but for this PIR i want to have more than one net price and order unit. In PIR i can only see there is one field to put the price in General view and only one order unit. How can i add another one for the same PIR? Currently i have to change it manually whenever i want to use the other unit and price. Can  anyone please help?
    Thanks

    Hi,
    If i understood your issue correctly. i.e you have different UOM for same Material.
    Assuming EA and BX i.e BOX,
    Now please check the folloiwng:-
    1. see if you have defined Alternate UOM in Material master and defined   X EA = 1 BX relations.
    2. Check and define the  Purchasing UOM i.e in Purchasing View as BX.
    Now you can maintain the Net price in PIR for the  Base UOM i.e EA and still get the price of the BX in you PO.
    Hope this helps.
    Thx
    MJ

  • Why can't I can't  sync just one album but I can sync any other music?

    So I bought an album a week ago. I was listening to the music on it just yesterday but today when I looked at it the whole album disappeared. All the other music was still there. When I tried to sync the album back on the phone it didnt work. It works for all the other music though. Plus when i look at the album on the store it says purchased but it won't let me download it. It is just this one album. It is called 1989 by taylor swift. I have an iPhone 4s.

    I think I've solved this.
    In address book only the Macbook Pro had my own card set as 'My Card'.  Although Mobile Me was syncing the address book it obviously doesn't carry the My Card attribute across so this wasn't set on the other two Macs.
    Weeks I've been looking at this and then I find the answer a few hours after posting the question

  • One Album But Sorted As Different Albums

    I recently imported a cd that I bought into Itunes. The problem that Im having is that even though the artist may have some guest features on the album. It still sorts the album as one thats completely different. It makes cover flow look bad and everything else sloppy. Ive tried changing things in the INFO tab, and also in the SORTING tab. Ive removed track numbers placed them as a compilation and that work but now it shows Various Artis and all the songs or linked together. But now I have the Various Artist problem.

    Not sure how removing track numbers can help here.
    I think what you need to do is make sure that the Album Artist field is filled in with the same info on all of the tracks. Maybe fill it in with the primary artist or the name of the album instead of Various Artists.

  • How to work on one project but with two different computers

    I'm editing a movie.
    My computer might be overwhelmed with all the information - speed is slowed and it gets hot quickly.
    I would like to use my second computer where I have cloud installed
    to edit on the same timeline or in a different sequence to give my
    main computer a rest.
    Is that possible?
    Thank you for your help!

    As well as the reply from Anish about using your program on 2 computers, you need to ask in the program forum for how to best use the programs to do what you want
    http://forums.adobe.com/community/premiere_elements/content
    http://forums.adobe.com/community/premiere/content

  • I can't text just one person, but they can text me?

    Summary:
    My mate can text me (I get his texts), I can text him (It sends) but he doesn't receive my texts.
    He can call me, but I couldn't call him(Fixed by adding an extra digit? [AAA BBBBBB B]) So now, I'm calling an incorrect number, but he gets the call?
    Also, iMessage works fine, and so does internet messaging (Facebook, Whatsapp)???
    I have tried disabling iMessage, clearing his contact, he hasn't blocked me on his phone, tried hard and soft reset, updated to the latest iOS too...
    Also, we're both on the same network, Three Ireland, and we both have iPhones (iPhone 5 and iPhone 6)
    Any help/advice would be much appreciated.

    Do you have other contacts on the same provider?  Without any problems?
    Best bet would be to contact the provider to find out about the call and text issues.

Maybe you are looking for