Play animation only once

I am building a site that will use flash for the top
navigation bar. I want some items in the navigation bar to animate
the first time into the site, but then remain static from there on
out. As an example, look at www.summerlin.com. After the intro
page, the logo in the top left animates your first time in. After
that, it is static, even if you go to another page and come back to
the home page. Does anyone have any good suggestions on how to
accomplish this? I could do it with cookies, but I am wondering if
there is a better way. It's an asp page, so I could also pass a
variable in the URL string or the http header, but I'd like to
handle it entirely in Flash. I suppose I could do it if the flash
document can detect the refering page (not the page it's on, the
one the user just came from). Can flash do this? Any
thoughts?

rolfejr wrote:
> I am building a site that will use flash for the top
navigation bar. I want
> some items in the navigation bar to animate the first
time into the site, but
> then remain static from there on out. As an example,
look at
> www.summerlin.com. After the intro page, the logo in the
top left animates
> your first time in. After that, it is static, even if
you go to another page
> and come back to the home page. Does anyone have any
good suggestions on how
> to accomplish this? I could do it with cookies, but I am
wondering if there is
> a better way. It's an asp page, so I could also pass a
variable in the URL
> string or the http header, but I'd like to handle it
entirely in Flash. I
> suppose I could do it if the flash document can detect
the refering page (not
> the page it's on, the one the user just came from). Can
flash do this? Any
> thoughts?
Forum archives :
http://groups.google.com/advanced_group_search?q=group:macromedia.flash.*&hl=en&lr=&ie=UTF -8
search for "Play Flash Once" and you come up with this post :
http://groups.google.com/group/macromedia.flash/browse_thread/thread/f90aebad3d089c20/ddf0 1516bd84f6e6?lnk=st&q=play+flash+once+group%3Amacromedia.flash.*+author%3Aurami_&rnum=6&hl =en#ddf01516bd84f6e6
And you got all you need, within , roughly, 4 minutes time...
Regards
Urami
Happy New Year guys - all the best there is in the 2006
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free>

Similar Messages

  • Please help... On click event play animation, only once animation has ended, launch lightbox

    Hey all,
    I could really use some advise, I have been searching for a good few hours and have come up with nothing.
    I was hoping to play a small animation and launch the edge commons spotlight as soon as the animation ends.
    My code:
    // insert code for mouse click here
    sym.getSymbol("no17").play();
          // Open spotlight overlay
    // Set up configuration
    var config = {
        width: 1400,
        height: 900,
        type: "animate",
        source: "http://new.oliverrice.co.uk/folio.html"
    // Open the overlay
    EC.Spotlight.open( config );
    The code launches the spotlight as the animation begins. I would like the 2 second animation to play out first before launching the spotlight.
    Im sure the answer is really simple, though im new to JavaScript and am struggling to work out how to achieve this.
    Are there any clever people that maybe able to help me?

    Hi, thanks for the reply, I had a think about it today and placed the spotlight code:
    // Open spotlight overlay
    // Set up configuration
    var config = {
        width: 1400,
        height: 900,
        type: "animate",
        source: "http://new.oliverrice.co.uk/folio.html"
    // Open the overlay
    EC.Spotlight.open( config );
    In a trigger at the end of my animation which has done the trick!
    so:
    1-  I click on animation
    2- it plays
    3- then launches spotlight lightbox

  • SharedObject, using it to play an intro animation only once

    Hi all,
    Having some difficulty getting my sharedobject to operate.
    All I am trying to do is have my intro animation play only once, so
    that I can use the same swf on multiple pages without showing the
    intro animation every time.
    If the 3rd page was viewed first the intro animation would
    play but then if the 2nd page was viewed the intro animation would
    not play (because it was already played on page 3).
    My code:
    logoload = SharedObject.getLocal("logoload1");
    if (_root.logoload.data.logoloadvar == undefined){
    _root.logo_mc.gotoAndPlay(1);
    } else if (_root.logoload.data.logoloadvar == "logoseen") {
    _root.logo_mc.gotoAndStop(31);
    stop();
    //_root.logo_mc //My trigger to say the intro has been played
    computer = System.capabilities.os;
    _root.logoload.data.logoloadvar = "logoseen";
    _root.logoload.flush();
    stop();
    File here
    http://users.ncable.net.au/~timfranc...red_object.fla
    If someone could please help would be much
    appreciated.

    That would explain it.
    I got around it by passing a variable through the querystring
    to flash solution using some if statements.
    But I also now have a difficulty doing it that way because of
    this active content fix I am using, my post for that is here.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=288&threadid=1162386&en terthread=y
    If you could take a look. Thanks again for the help.

  • HTML website, SWF do a load animation only once. Same file used on all pages?

    Hey all,
    Just going through some thinking here. My HTML website is
    going to using a flash header and navigation. Now I will be using
    the same swf's on all of the pages across the site. I would like to
    play a loading animation only on the first time the swfs are
    loaded. Is there a way to do this? Or because I am using the same
    swf's will it be okay to just tell my mc to go sit on a specific
    frame and because it is in the cache each page will be using the
    same file so the mc will still be at that frame or???
    And help would be nice...

    While Breqent is right that server side includes are the best way of doing this if you aren't up on
    server side coding then you can use Dreamweaver to manage you menu.
    You do this by simply ensuring you never edit the menu area on any individual page.
    It should therefore be identical on all page and as such you can just use find and replace across the entire site or folder to edit all occurances of your menu.
    I hope this helps.
    Andy
    Best Reception

  • Play Edge animation only once

    I have created an animation in Edge Animate, and placed it in the middle of a page in Muse and applied the Edge Animate scroll effect.
    The animation works nicely, but it repeats over and over as I scroll. I only want the animation to play ONCE.
    I tried coding a STOP ALL action on the final frame, but that seems to be ignored by Muse.
    I even tried extending the end of the animation, and jumping back so it would sit and loop on the final frame ad infinity... that too seems to be ignored by Muse.
    Is there really no way to only have an animation play once while scrolling?

    rolfejr wrote:
    > I am building a site that will use flash for the top
    navigation bar. I want
    > some items in the navigation bar to animate the first
    time into the site, but
    > then remain static from there on out. As an example,
    look at
    > www.summerlin.com. After the intro page, the logo in the
    top left animates
    > your first time in. After that, it is static, even if
    you go to another page
    > and come back to the home page. Does anyone have any
    good suggestions on how
    > to accomplish this? I could do it with cookies, but I am
    wondering if there is
    > a better way. It's an asp page, so I could also pass a
    variable in the URL
    > string or the http header, but I'd like to handle it
    entirely in Flash. I
    > suppose I could do it if the flash document can detect
    the refering page (not
    > the page it's on, the one the user just came from). Can
    flash do this? Any
    > thoughts?
    Forum archives :
    http://groups.google.com/advanced_group_search?q=group:macromedia.flash.*&hl=en&lr=&ie=UTF -8
    search for "Play Flash Once" and you come up with this post :
    http://groups.google.com/group/macromedia.flash/browse_thread/thread/f90aebad3d089c20/ddf0 1516bd84f6e6?lnk=st&q=play+flash+once+group%3Amacromedia.flash.*+author%3Aurami_&rnum=6&hl =en#ddf01516bd84f6e6
    And you got all you need, within , roughly, 4 minutes time...
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • How can I press keyboard to play vdo only once!

    Hi, I'm here again for your help :{ I have a question which I tried to google it but can't find the answer. Well,..May be there is an answer but I just can't make it works? I'm in a process of learning AS3 so let's say I'm still new here.
    What I'm doing is making a keyboatd to respond with the vdo files I have. It is a very simple idea as press-n-play. Each keys has their vdos to play and if you press another button while the first one is still pressing, it'll play another vdo of its key. I have make this as boolean with function of keydown and keyup like this:
    import flash.events.Event;
    import flash.events.KeyboardEvent;
    import flash.net.NetStream;
    import flash.net.NetConnection;
    import flash.media.Video;
    var isLeft:Boolean = false;
    var isRight:Boolean = false;
    var video;
    var nc;
    var ns;
    stage.addEventListener(KeyboardEvent.KEY_DOWN,onDown);
    stage.addEventListener(KeyboardEvent.KEY_UP,onUP);
    this.addEventListener(Event.ENTER_FRAME,playVid);
                        nc = new NetConnection();
                        nc.connect(null);
                        ns = new NetStream(nc);
                        ns.client = this;
                        video = new Video(550,400);
                        addChild(video);
                        video.attachNetStream(ns);
    function onDown(e:KeyboardEvent):void
              switch (e.keyCode)
                        case 37 :
                                  //ns.play("TomAndJerry.flv");
                                  isLeft=true;
                                  break;
                        case 39 :
                                  //ns.play("westler.flv");
                                  isRight = true;
                                  break;
    function onUP(e:KeyboardEvent):void
              switch (e.keyCode)
                        case 37 :
                                  isLeft = false;
                                  break;
                        case 39 :
                                  isRight = false;
                                  break;
    function playVid(e:Event):void
              if (isLeft)
                        trace("kk");
                        ns.play("westler.flv");
                        isLeft = false;
              else if (isRight)
                        trace("PP");
                        ns.play("TomAndJerry.flv");
                        //isRight = false;
    I have tried making a keydown function without using any boolean or those true of false things to just play a vdo. It worked but, I still have the same problem that I can't find a solution which is ....
    When you hold down the keyboard button the vdo will keep start at the beginning.
    All I want is to play the vdo even the key is press down. If the vdo ends then play again as loop but if the key is up the vdo will play until it ends.
    And  if there are more than one button are holding down just play the vdo of the lastest pressed button.
    T-T"
    Thanks.
    Ps. I have tried removeEventListener but, it made every buttons' function gone.

    Wow! That is the problem like you said.
    I have removed it out and try this:
    function onDown(e:KeyboardEvent):void
              if (e.keyCode==49)
                        ns.play("GetThere.flv");
                        stage.removeEventListener(KeyboardEvent.KEY_DOWN,onDown);
                        onUP(null);
              if (e.keyCode==69)
                        ns.play("westler.flv");
                        stage.removeEventListener(KeyboardEvent.KEY_DOWN,onDown);
                        onUP(null);
    function onUP(e:KeyboardEvent):void
              if(e.keyCode==49)
                        stage.addEventListener(KeyboardEvent.KEY_DOWN,onDown);
              if(e.keyCode==69)
                        stage.addEventListener(KeyboardEvent.KEY_DOWN,onDown);
    And it works!
    But, then I have an error massage says "
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at xxx_fla::MainTimeline/onUP()
              at xxx_fla::MainTimeline/onDown()"
    May I ask you something?
    Will it make me any problem if I load more vdos? Let's say about...20?
    Because if it is hard to solve this error and it won't make anything worse (time delay,etc.) then I'm fine with it.
    Thanks :}

  • Animated gif plays only once

    I am using Captivate 5.5 on a Windows machine. I inserted an animated gif into my Captivate, using insert > animation...  Then, I inserted a button. When I pressed F4 to preview the animation, it played only once. I put a check mark on the loop on the timing of the properties of the animation. Still, it played only once. It stopped when the play head stoped moving. I cannot make the animated gif play continuously. Does anybody know how to make the animated gif play continuously?
    thaks.

    You can try this:
    Stick this in the header area of your code
    <script type="text/javascript"> function showBuyLink() {
    document.getElementById("buylink").style.visibility = "visible";
    } // adjust this as needed, 1 sec = 1000
    setTimeout("showBuyLink()", 5000);
    </script>
    Stick this around your buy link code.
    <div id="buylink" style="visibility: hidden"> <!-- put all your add to cart buy links and images inside this hidden div --> <p style="text-align:center; font-size:26px;"> <a href="http://mybuylink">Add to Cart or Buy Link</a> </p> </div>
    Yopu can rename "buylink", but you have to make sure you rename all instances or it will kill the script.
    If you're not comfortable incorporating that, unfortunately, the other option would be to create a Flash animation and put a button in the last frame.
    That would be just as difficult (if not worse) as writing (or tweaking) a javascript to delay the hotspot, and even worse because it would be invisible to phone users. Additionally, people who disable javascript would never see the link if you did add the script.
    There isn't any way to do this with HTML or CSS, and you now know the flaws with the methods that will work.

  • JavaFx 2, play gif image animaiton only once

    Hello,
    I have a gif image that only plays once, (set repeat off). but when i use it in the program it keeps repeating itself forever.
    how can I make it stop repeating?
    Thanks for all help

    I'm assuming your'e using a timeline/animation? Just set the play count to once! setCycleCount();Edited by: KonradZuse on Jun 2, 2013 12:18 AM

  • Making symbol play only once

    Hello,
    I am new to Adobe Edge and I wonder if I can make my symbol play only once on mouseover. I want a picture to appear only when mouse finds it and stay there (I made a symbol in which there's animation of picture appearing from white). Now I only managed to make it appear when it's mouse over, but when my mouse is over the same area again, it plays over again and looks like blinking.
    Thank you.

    Hi, Winrry-
    You might also want to try using mouseenter instead of mouseover.  Mouseover also fires when you move the mouse, so you'll get some hiccuping/flickering as you mentioned.
    Thanks,
    -Elaine

  • Can a drum pattern created in Ultrabeat be limited to playing only once? Basically creating a single bar.

    Can a drum pattern created in Ultrabeat be limited to playing only once? Basically creating a single bar.

    Found it. The key is shutting down the sequencer in Ultrabeat once you have dragged the pattern to the arrange window.

  • Transition executed only once in a TableRow

    h1. SCENARIO
    h3. Model
    /* Model is a Person containing a flag active */
    class Person {
       private Boolean active = false;
       /* more fields and methods */
    h3. View
    /* The View is implemented in FXML */
    class View extends TableView<Person> {  }-----
    h3. Service backend
    class Service implements Observable {
       public void run(){
          Person person = new Person();
          person.setActive( Math.random() > 0.5 ? true : false );
          setChanged();
          notifyObservers(person);
    h3. AS IS ViewController
    /* ViewController observes the service which sends back Person with a randomly changed flag [true or false] */
    class ViewController implements Observer {
    TableView table;
    public void initialize(URL url, ResourceBundle rb){
    /* some code before */
    /* Implemented with datafx library */
    table.setRowFactory(new Callback<TableView<Person>, TableRow<Person>>() {
                @Override
                public TableRow<Person> call(TableView<Person> p) {
                    final CSSTableRow rowCell = new CSSTableRow() {
                        @Override
                        public void getCssState(List s) {
                            super.getCssState(s);
                            if(getItem() == null || s == null){
                                return;
                            if ( !((Person) getItem()).isActive() ) {
                                s.add("active");
                                FadeTransition fadeTransition = FadeTransitionBuilder.create()
                                        .duration(Duration.seconds(2))
                                        .node(this)
                                        .fromValue(0.1)
                                        .toValue(1)
                                        .build();
                                fadeTransition.play();
                    rowCell.getStyleClass().add("table-row");
                    return rowCell;
    /* some code after */
    }h4. Main Problem in AS-IS:
    <font color="green" face="courier" size="3"> The animation animates for every event occurs in the table (click on a row, hover on a row and so on) </font>
    h3. WANNA BE ViewController
    <font color="blue" face="courier" size="3">
    <li>Apply the transition when the service sends the updated Person.</li>
    <li>Apply the transition to the row which this person belongs to.</li>
    </font>
    class ViewController implements Observer {
        public void update(Observable obj, Object message) {
            if (message instanceof Person) {
                Person p = (Person) message;
    /* ----> 1. Find the row of this current person sent by service */
    /* ----> 2. Apply the transition only once in the row found */
    }Edited by: valerio.massa on 29-ago-2012 2.51

    I just dont want to raise the animation via rowfactory, is that possible?
    I would like to find a "better" (stylish) way to launch the animation (for example in the update(){} method, which is better theoretically speaking)

  • Can the iPod (30 GB Video version) play animated .GIF files/pictures?

    When I go into the pictures folder, it only shows the first frame. Can it play animations?

    "Importing" .gif files is a very old QT Pro "trick" and was made available in the first "Pro" version of QT (3).
    I still use the feature to add logos or other, older animations to some of my newer QT "movies".
    Some of the older QT tricks can still be used today:
    http://homepage.mac.com/kkirkster/QT_Fun2/
    I've been focusing my skill (very little) on the QuickTime discussions pages but visit these "iPod" discussions pages every now and then.
    Since the new iPod can also "do" the .mov format I thought I'd observe and comment for the newer users.
    Happy New Year!
    Oh, btw, QuickTime can also do some magic with your Photoshop files.

  • How to get page one to animate only once in interactive pdf?

    how to get page one to animate only once in interactive pdf? I like when the document opens up in acrobat and the the page animations work but when I go to one of the pages and hit my designated home button it goes back to page one but it reloads again. As a user it would drive me crazy to have to wait for all of it to load......anyway to have that page one load once as the opening page?

    I don't think you really mean animations (unless you have a placed SWF file) because things created with the Animation panel don't work in PDF. Nonetheless, you're talking about some kind of interactivity which is set to happen On Page Load.
    So when you return to that page, of course the interactivity loads again.
    There isn't a On Page Load Once command.
    Perhaps you need to rethink why the interactivity is there. If it's important, maybe it should be triggered by a rollover or by clicking a button.

  • Quicktime having trouble playing animated movies

    I have a few movies I downloaded from DC++ that I want to play, but quicktime says it's unable to play them because it's missing software. I have the newest update of QT, and the movies I have trouble playing are only animated ones, such as corpse bride, team america, and final fantasy. Whats up?

    If QuickTime can open the files then go to the Window menu and select Show Movie Info to see the Format: for information on what animation codec may have been used, then try to find a suitable QuickTime component for playback... the link below may help with that.
    http://discussions.apple.com/thread.jspa?messageID=1558248

  • Video Plays for only 1 Second in Premiere CS5 Viewer

    Hello,
    I am on an IMac OS X 10.6.8, 2,66 GHz Intel core due , 4Go Memory    
    I am very new to Mac's and I have been trying to use Premiere CS5 but I am faced with a problem.
    When I import my video to the timeline and press play it only plays for a very short time.
    I have seen that others already had the similar problem and I tried to fix it by deleting the com.apple.audio.AggregateDevices.ptlist , but it seems I dont have it.
    I even tried trough the Terminal.
    So could any of you help me out ? It zould be much appreciated
    Sorry for the bad english, I'm french ^^
    thanks in advance
    Phil

    Read Bill Hunt on a file type as WRAPPER http://forums.adobe.com/thread/440037
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037
    Report back with the codec details of your file, use the programs below... a screen shot works well to SHOW people what you are doing
    For Mac http://mediainspector.massanti.com/
    http://blogs.adobe.com/premiereprotraining/2011/02/red-yellow-and-green-render-bars.html
    If you have a red line over the timeline after importing a video and before adding any effects... your project is wrong for your video... read above about codecs
    Once you know exactly what it is you are editing, report back with that information... and your project setting, and if there is a red line above the video in the timeline, which indicates a mismatch between video and project
    More information needed for someone to help... click these links and provided the requested information
    -http://forums.adobe.com/message/4200840
    -http://forums.adobe.com/thread/416679
    For CS5 and later, the easy way to insure that your video and your project match
    See 2nd post for picture of NEW ITEM process http://forums.adobe.com/thread/872666

Maybe you are looking for

  • Ever since I ugraded to 4.0, many of the websites do not upload some picutres--specifially maps. Also, I don't know if all of my add ins migrated. Thanks.

    When I log onto a website that has a map, the map is not visible. When I ask for directions, the map does not show. I am not sure how to migrate my addins from 3.xxx

  • M40X: Wireless stopped working

    Hi everyone Please can anyone help. My wireless conection has just stopped working. I have a M40x Toshiba laptop, a belkin g router (F5D7231uk4) and my sevice provider is NTL. I've checked with NTL and all is fine. I've taken the cable that runs from

  • XMLEncoding of a custom class

    I'm trying to save game levels as XML code using the XMLEncoder. I've made getters and setters for every attribute and a no-arg constructor, but still some attributes are missing in the XML code. I've spent a LOT of time reading about different XML A

  • Reports 9i Jdbc Query dialog box

    Hi, Is it possible to base a report on a pl/sql stored procedure in Reports builder 9i environment using with jdbcpds.If possiblePlease provide step by step details and how we can call that particular procedure in JDBC query dailog box. Please provid

  • OSB Routing Options for JMS Proxy

    Hello! My config: WS Proxy Service -> <jms queue> ->Proxy Service -> WS Service jms queue used for guaranteed delivery of msg. I wanna dynamically change retry interval and retry count. Does Configuration Routing Options in Proxy Service (Retry Inter