Flash Animation in HTML page

I have an HTML site (unfortunately only an intranet site so I
can't share) that has swfs used in various places. The home page of
the site has a movie that I would like, if possible to only play
when a user enters the site. If, during a session they leave the
home page for another page within the site, and then come back to
the home page, I would prefer them not to see a particular
animation again because once they've seen it, it can be annoying to
see it each time they come back to the home page. Is there a way,
with javascript, to make this happen? I don't think it is anything
I can build into the movie with flash.

what about using cookies and two versions of the page--one
with and one without animations? an if statement could look at the
cookie and load accordingly, maybe.

Similar Messages

  • How to show a MPEG4/H.264 video in Flash in an HTML page?

    Maybe my title isn't clear. I am hoping someone can shed some
    light on the h264 use in flash.
    Instead of displaying a progressive download .FLV video , I
    am trying to have an MPEG4 /h.264 approx. - a 30meg video display
    in flash in an .html page. Quicktime is easy to do, but Flash is my
    goal.
    I read several articles on h264 and flash 9, including this
    adobe
    H264 article but was hoping there might be an easier and maybe
    quicker solution. I did try renaming the .mp4 extension to .flv in
    dreamweaver but it did not display the video. (...unless it was
    downloading the video completely before displaying...not sure)
    There is a ton of sites, blogs and articles on h.264 and how
    flash 9 will display it...but when it comes to how one might
    actually have h.264 in flash on their own site...I am finding it
    difficult to figure out.
    Forgive my lack of action script and Flash knowledge...any
    direction is appreciated.
    Erick

    ...well I did follow that article on playing an h264/mpeg4
    video in flash. It works well, but how would you add playback
    controls?
    FLVPlayback component only allows you to source an FLV video
    not h264/mpeg4.
    This is probably a simple as3 answer...but I am not
    knowledgeable on as3 to know what code to add.
    Any suggests or direction that I should look would be great.
    In the meantime I am researching actionscript 3 to find and anwer.
    E.

  • Calling a function in flash on an HTML page

    Hi,
    I need help regarding how to call a flash function from an HTML page. The idea is to have a link on my page (HTML link) that once clicked displays a movieclip in flash. I know i have to use the asfunction in HTML. So far I have just created my swf file with a function called showInfo. I've embedded the flash into an HTML page. I have then added a link on the HTML page as follows:
    <a href="asfunction:showInfo">Link name</a>
    but when I click it says:
    "Firefox doesn't know how to open this address, because the protocol (asfunction) isn't associated with any program."
    is there a piece of code I need to write in flash for this to work?
    Thanks
    Eugene

    have your html link call a javascript function and use the externalinterface class in flash to communicate between javascript and actionscript.

  • Flash animation to html conversion hairline problem

    Hi. I am Suzi. I am currently working in Flash CC and working with some animations. I am needing to turn the Flash animations in to HTML and Java Script which are being viewed on iPads, iPhone and on the net.  My issue is that when they are eventually view they loose all quality and also have a warning sign stating that
    "Warnings generated while copying/importing in (name of the file)
    *some artwork contains hairline stroke, which is not supported in HTML5 Canvas document, and has been converted to solid.
    The animations come out with a lot of white section obviously the hairlines. I do not have the ability to change the 120 animations nor the time. Is there a way we can fix this problem? Thanks

    This animation is a  frog. When he jumps or moves we can see the white behind the frogs eyes its seems to move slower than the rest of his image. Also there seems to be  white hairlines across the animation, only flashes up quickly but I cant use him this way. . Put it this way the animation doesn't come out clean. I assume its because of the stroke change. Now maybe this is not the reason.
    as you can see there is a hairline across his arm. this is viewed in Fire Fox IE, etc. This is a Flash Doc changed into a HTML canvas from AS3 document format.
    These animations were produced years ago and are copyright for the company i work for.
    They are looking at making these flash files available on every media for their employees (coaches).
    There is a PC based program called COMPOSICA that is a learning program and has modules that the teachers need to use.
    This is the base of where the animations need to start. the program is then used through the web on ipad, iphones etc.
    So bottom line is we need the cleanest image we can get. 
    So i assume that makes sense...hee hee
    Thank you Suzi

  • To not reload from start flash animation on web page

    Hi,
    I've done a nice flash animation which is in fact an ad
    banner.
    This banner should be displayed on my customer website in
    each pages.
    However, in order to be sure that customers of my client will
    see the
    whole flash animation, i would like to be sure that it's not
    reloaded
    from the first frame.
    is there something like a frames counter which can be
    memorized by PHP
    pages server ?
    i mean on page welcome.php, my banner will be displayed.
    let's say that after few seconds (35 frames for example), the
    customer
    click on a link "prices.php".
    on this prices.php page my ad banner is once again displayed,
    but i
    would like to make sure it starts from frame 36 for example,
    and not
    from frame 1.
    how can i do that ?
    thanks a lot,
    RAF

    Ha! thanks certified. the DW experts are pointing at Motion or Episode. I have confirmed that the file won't loop right out of Episode, so that leaves DW off the hook, i think. But what to do?
    Perhaps my workflow is flawed. I don't want to use Aftereffects to create web animations anymore. I want to use Motion. But this is a showstopper. .swfs are supposed to loop by default, so I can't imagine what's wrong. thanks for anymore advice.
    coocoo

  • Flash plays before html page is completely loaded

    A flash intro for a website's homepage starts to play before
    the html page
    elements are completely loaded and visible. The html page is
    not
    complicated so it would seem the flash is even slowing down
    the loading of
    the html and it looks bad, but not terrible. Is there a way
    to, like,
    prioritize the loading of the page elements?

    Sorry, I didn't design the HTML page but I'm sure it was
    tested in a few
    different browsers. I'm not sure if it happened on all or
    some. The sites
    already live so the designer did not think it was a problem.
    Just thought
    there may be a stacking order or something that would load
    the background
    before the Flash starts playing. Thanks for your help.

  • Flash file in html page

    Hey guys, i made an flash swf and i want to put it in an html page and upload it. But when i go to the page i cant see nothing, here is the file:
    http://triplew.com.gr/cathedral/try.rar
    Whats wrong? I save it first to the www folder (wamp server local) and then i upload it to the site.

    thank you the problem was at the flash version problem solved

  • Flash button in html page

    Hello,
    I have created button in flash and I want that each time I
    press on the button, html page will open in frame name mainFrame in
    my site the problem is the html page always open in new window.
    As you can see in the code attach, I have two frames in my
    page one called leftFrame and the flash button is in there, and the
    other is mainFrame which i want to open test.html in
    any idea how to solve this?
    thanks

    What happens if you use the full absolute url instead of a
    relative url?

  • Correct way to place a Flash anim on a page

    Hello, looking into well made sites I have seen code like
    this to place a Flash object/animation:
    <object type="application/x-shockwave-flash"
    data="/common/flash/c.swf?path=/common/flash/nav-about.swf"
    width="593" height="180">
    <param name="movie"
    value="/common/flash/c.swf?path=/common/flash/nav-about.swf" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="salign" value="LT" />
    <param name="wmode" value="opaque" />
    <object>
    On the site Im building there is going to be a Flash
    animation and my code looks like this:
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="326" height="407">
    <param name="movie" value="images/gk_flash_intro.swf"
    />
    <param name="quality" value="high" />
    <embed src="images/gk_flash_intro.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="326"
    height="407"></embed>
    </object>
    Dreamweaver gives me a message about the new Explorer, and
    the code required for it, but Firefox doesnt show the page. Please
    point me towards some docu that will instruct me as to the proper
    placement of the Flash.
    The Page

    Try this:
    http://www.alistapart.com/articles/flashsatay/
    Dan
    "Cipr?s" <[email protected]> wrote in
    message
    news:ecclv4$o15$[email protected]..
    > Hello, looking into well made sites I have seen code
    like this to place a
    > Flash
    > object/animation:
    >
    > <object type="application/x-shockwave-flash"
    >
    data="/common/flash/c.swf?path=/common/flash/nav-about.swf"
    width="593"
    > height="180">
    > <param name="movie"
    >
    value="/common/flash/c.swf?path=/common/flash/nav-about.swf" />
    > <param name="quality" value="high" />
    > <param name="scale" value="noscale" />
    > <param name="salign" value="LT" />
    >
    > <param name="wmode" value="opaque" />
    > <object>
    >
    > On the site Im building there is going to be a Flash
    animation and my code
    > looks like this:
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" width="326" height="407">
    > <param name="movie" value="images/gk_flash_intro.swf"
    />
    > <param name="quality" value="high" />
    > <embed src="images/gk_flash_intro.swf" quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="326"
    height="407"></embed>
    > </object>
    >
    > Dreamweaver gives me a message about the new Explorer,
    and the code
    > required
    > for it, but Firefox doesnt show the page. Please point
    me towards some
    > docu
    > that will instruct me as to the proper placement of the
    Flash.
    >
    >
    http://gk-developers.com
    >

  • Continuity in Banner Animation between HTML pages..

    I have a banner animation at
    http://www.sierratec.com/skills.html
    that plays a series of slides at the banner.
    I need the animation to continue, from the previous
    transition slide before other html like products, clients etc., are
    clicked.
    For ex. If we are in the skills.html page and we navigate to
    partners section , then the animation at the banner must continue
    from the place from where it was left before leaving the the skills
    section and before clicking the partners section and not start from
    the beginning as it is seen now.

    When javascript window.focus() is invoked and there are more than 1 IE windows open the focus will go
    to the IE window that executed the window.focus();
    If you have notepad open and focused it will not focus on the IE window (you need an API call to do that)
    Anyway, you can call a javascript function from java, here is an example:
    // new class for jsObject!!!! compile this: C:\harmpie>javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
    // since jaws.jar does not exsist anymore
    // to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void run(){
             try{
                 win = JSObject.getWindow(this);
                         win.eval("window.focus();");
            }catch(Exception e){
                 e.printStackTrace();
        public void init() {
              new Thread(this).start();
    }

  • Link Edge animation to HTML page?

    Is there a way to link my Edge animation to an Index HTML page in the same folder as the Edge.HTML? I linked a webpage with the OpenURL trigger and it worked. But I would like to link it to the index page within the same folder so that I can test it before uploading it to the internet.
    The trigger link that worked is:
    window.open("http://www.mywebsite.com", "_self");
    But can I use something like:
    window.open("index.com", "_self");
    Thanks,
    Susan

    Susan-
    You don't need the sitename - just use this (assuming you are calling it from the same directory as you said):
    window.open("index.html", "_self");
    Else, you should be able to use this if it one folder deep:
    window.open("../index.html", "_self");
    James

  • Play a flash animation in same page

    Hi,
    i am trying to build my online portfolio and i wish to play
    my flash animation portfolio on same page when user click specific
    button, everything was fine, except when i try to import the swf
    file (publish from my flash animation portfolio) to library and
    create a movie clip symbol, i found the import swf file not running
    same as original, some fade in and mask effect missing and speed
    are totally difference. Appreciate anyone could help.
    Thanks.

    i think that's expected behavior. importing a swf file is
    probably not what you want to do.
    you can load a swf file and you can drag and drop movieclips
    from one swf into another without problem.

  • How to embed Flash Player into HTML page

    Hello,
    I have a question for some gurus who know very well the
    Javascript.
    Namelly what i want is to add <object> tag to the
    current html page programatically with using JAVA SCRIPT.
    As IE is more forgiving it displays the object properly but,
    in Firefox it behaves a bit different. Actually it doesn't appear
    at all in Mozilla browser. Any good sample would be great help.
    I was wondering what i am doing wrong?
    Thanks :)

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • Flash image and html pages

    I do have an SWF sequence of images in the main html page. In
    the second page I do have sections. Each section has a title of an
    image of the SWF file. The role of this section is to describe the
    image.
    I trying to whenever I click on each image of the SWF in the
    main page, I should be directed to its description in the second
    page, meaning, that the second page should be loaded and its scroll
    down bar should go down and stop where the specific section
    (describing the image I’ve just clicked on) starts.

    I do have an SWF sequence of images in the main html page. In
    the second page I do have sections. Each section has a title of an
    image of the SWF file. The role of this section is to describe the
    image.
    I trying to whenever I click on each image of the SWF in the
    main page, I should be directed to its description in the second
    page, meaning, that the second page should be loaded and its scroll
    down bar should go down and stop where the specific section
    (describing the image I’ve just clicked on) starts.

  • How to synchronize two flash in an html page?

    I've placed two seperate flash on my page but i want them to
    be played at the same time. but how?
    One idea is that one of the flashes sends some data to
    another. But i don't know how to do it by actionScript.
    By defult these two are not loaded at the same time
    Happy new year

    Hello! I try input a .swf file in my homepage, but it doesn't
    work. Can anyone know what would be the problem?
    The link is:
    www.e-promo.hu
    The swf must be at the bottom of the page...

Maybe you are looking for

  • Access denied. When trying to upload files into SharePoint with PowerShell

    AM trying to upload a bunch of files into SharePoint using PowerShell. I have a code that works on my local machine, but when I get on the server, it does not. Here is what my block of code looks like $webUrl = "http://SampleSite" $libraryName = "My

  • Get File by modified date and extension then copy to location

    Hello, Ill give a brief description of what I am trying to accomplish. We have a bunch of files that are sitting on a deduplication box (Exagrid), we want to try and copy certain files off of this dedup box, however, if we copy EVERYTHING this will f

  • How to use sql wildcards

    I am using the Labview SQL sub-set and am trying to construct an sql query using wildcards. ie LIKE 'Pass*' However, none of the MS Access Driver wildcards appear to work with the SQL sub-set. Any suggestions?

  • ICal won't let me save an event

    My iCal all of a sudden won't let me save events . Keep getting error messages that I either haven't set calendar or can't save event since its not in that event store ?

  • What is serve.php?

    I get a message "You have chosen to open serve.php which is a php File from https://serve.directdigitallc.com" although I have not initiated any such downloads. What is this? Should I download it?  "