Separate Flash from HTML

Hi there,
I've gotten a question actually and I haven't found any
answer yet.
How can I put a Flash element (swf) like a "loop" for example
and make it separate from the rest of HTML pages, so this "loop"
can be played continuously while the visitor and browsing the pages
and the Loop don't stop or change and doesn't effect by moving from
one page to another?!
I've tried many scripts and tried to make a layer above the
tables but nothing changed, the loop started every time by clicking
a new page!
Please help me.
thanks for your time.
Mo!

You would have to use a frame.

Similar Messages

  • Affecting Flash from HTML

    Hello, I'm trying to affect my flash movie from HTML. For
    example, if I have a google adsense module, and I want to trigger
    something in flash each time that link is hit, how would I go about
    doing that?
    Any help would be much appreciated!

    You would have to use a frame.

  • Control Flash from HTML (k)

    I have a button in HTML that I want to use to control the
    flash on the
    page it sits on.
    When the button is rolled over, I want to pass a variable to
    the Flash
    movie so that something happens.
    How can I do this in Dreamweaver?
    -Kirk

    It's a stupid way of doing it, but I got it to work using the
    FSCommand.
    I send the user to a frame in the Flash movie. That frame has
    the
    variable set to the "On" state. I then have them go to
    another frame for
    the "Off" state.
    -Kirk
    W. Kirk Lutz wrote:
    > I know that it would be easier. But I have a very tall
    flash file of a
    > floorplan. I have a legend for the floorplan that I want
    to float in a
    > layer so that when someone scrolls down the page, the
    legend follows. I
    > Can make a scroller in flash, but would prefer to try
    and control Flash
    > via HTML.
    >
    > I know you can pass a variable in HTML to flash, but if
    it has to reload
    > the page each time the user will be throwing their
    machine out the window.
    >
    > Any way to control Flash?
    >
    > I've tried to send the user to a frame in Flash via the
    FSCommand, but
    > it doesn't seem to work. I have two scenes in my flash
    file. A loading
    > scene and the main scene. The FSCommand jumps me to the
    frame in the
    > loading Scene.
    >
    > -Kirk
    >
    >
    > -->dan mode wrote:
    >> It would be much easier to do the rollover button in
    Flash.
    >> Otherwise, you need a server side language that
    would populate a
    >> variable in the embedded swf code.
    >>
    >>

  • Pass image name and path to flash from html

    Hello Flash Forum,
    I would like to use Flash to display a larger image in an
    HTML page that opens on top of a window with
    thumbnail images. The thumbnail page will be a php page. If
    the user clicks the thumbnail, I would like to open a swf that
    diplays the larger image. I would like to pass the path and name of
    the image to display to my swf. It would open a browser page (or
    just a swf file) over the thumbnail page. The use could then close
    the larger image display, and click another thumbnail, etc.
    How could I do this? I have a swf file that will display the
    image, but I would like to pass the image name from outside the swf
    file.
    Thanks for any tips,
    eholz1

    Hello jpsoul,
    Thanks for the suggestion. I did see some info on the query
    string aspect. I will take a look at the JavaScript
    external.ExternalInterface class as well.
    Thanks again,
    eholz1

  • Send variable to Flash from HTML link

    Does anyone know if it's possible to include a variable in an
    html link <a> tag that can set a variable in Flash. I have
    used JavaScript to do this in the past but would prefer not to on
    this site. I also would prefer not have to use a server side script
    or xml, as all I want to do is set multiple links on one html page
    to open the same Flash movie on another html page, but make it go
    to a particular frame or load a particular external swf based on
    the link that was clicked. Thanks, JD

    You need to use them in the object and embed tags.
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "JDRives" <[email protected]> wrote in
    message
    news:efcb61$rkb$[email protected]..
    > Do I need to use Flash Vars in the object and embed code
    to load them in
    > or will they automatically be passed to the variable on
    the _root level of
    > the SWF file? Thanks for your quick reply, JD

  • Target Flash from HTML

    I want to be able to click and HTML Link such as:
    <a href="gotoFrame" target="flashID">TEXT</a>
    And have the Flash read that you clicked the link and then go to the specified place depnending on the HREF.
    Basically, I just need to know how to get Flash to read that you clicked the HTML Link.

    Your HTML link can call a JavaScript function that calls a function in Flash. Read up ExternalInterface class.

  • Passing parameters to Flash from HTML or JavaScript

    Hi. How do I pass paramaters to a Flash movie without using
    the "../name.swf?param=value" syntax. I have a Flash menu that
    jumps to a certain keyframe depending on the value specified inline
    with the .swf address, which corresponds to the page being viewed.
    The only problem is that, when another page is loaded, the menu
    flickers and reloads because it's not cached: the browser thinks
    it's another file when in fact it's just a different address
    telling it where to go in the movie to update the menu for the
    current page.
    Any ideas how to do this with either HTML or JavaScript? Help
    and suggestions are truly appreciated!

    The other method for doing this is using the Flashvars param.
    You can read about it in the LiveDocs here:
    http://livedocs.macromedia.com/flash/8/main/00001206.html
    Don't know if it will solve your problem, but it is the other
    of the two main ways of passing in variables.
    Good luck!

  • How to pass text from flash to html?

    how to pass text from flash to html?

    This is a wonderful sample i found online.
    pls run using a server so that it can display properly
    http://active.tutsplus.com/tutorials/actionscript/flash-html-javascript-externalinterface/

  • Best way to pass vars from html into flash?

    I've read a variety of pages that describe how to pass a variable into a flash movie (AS3, player = v9) from the html in which it is embedded.  This page describes AS3 but neglects to mention what to do with the object and embed tags in the noscript section. Furthermore, I'm not sure the javascript I see generated in my page looks like the example there (the js in my page doesn't check AC_FL_RunContenta against zero).  This page is quite long and appears to deal mostly with AS1 and AS2 approaches which I have used before and neglects entirely the newish javascript approach which appears to be used to embed flash these days (i.e., the javascript function AC_FL_RunContent).
    I was wondering if someone could spell out the proper way to pass in a variable from HTML so that flash can see it in such a way that works even if javascript is disabled, in all browsers, etc., etc.
    I've attached the HTML generated by the Flash IDE to this topic.  Any help would be much appreciated.

    You'll have to search for that concise and thorough list of steps or figure it out using the information you now have, which is sufficient to get it done.  It's not that hard--add the FlashVars in the embedding code in the three places and use the various examples you have links to to add the code in the Flash file to access and use the FlashVars.
    Your Flash will be embedded in a web page depending on the visitors settings... if they allow javascript then the javascript portion will be used.  If they don't, then either the object or embed sections will be used depending on their browser.
    As far as javascript changes go, don't sweat 'em until you have a problem... use whatever code your Flash-created html page creates to embed the file in the page.

  • Send data from html to flash action script

    Hi,
    I would like my flash to act differently depending on what
    html page it is on. Can I send information from html code to action
    script?

    Hi,
    Yes you can, by using FLASHVARS. Refer the attached code for
    example. Also you can use Javascript setVariable method of Flash
    object to set values in between i.e. after the page has loaded, as
    in case of FLASHVARS these are sent to flash just at the begining
    i.e. once SWF loads. In the attached exmple i've sent 2 variables
    to Flash one is 'username' and other is 'userId', thse will be
    fetched inside flash movie as _root.username and _root.userId.
    Note: I've added flashvars as PARAM and also as an attribute
    for EMBED tag (used by Mozilla, NS etc)
    Hope this helps.
    Thanks,
    Sumeet

  • How do I make my banner flash from one photograph to another?

    Good day.
    I am using Dreamweaver CS5.
    My banner of 968px X 280px is a JPG image (photograph) with a logo.
    I would like to learn how to make the banner photograph flash from one photograph to another.
    Can anyone help me with how to do this or guide me to where I can find a tutorial on this?
    Can this be done in Dreamweaver with code, or do I have to do this in another application first?
    I have Flash, Fireworks and Photoshop.
    I will appreciate help.

    Leah Adams wrote:
    Hi. Thanks!
    Yes, that is what I am looking for, if I can keep the same dimensions of my banner.
    Will jQuery allow me to specify my own dimensions?
    It's not jquery that determines the dimensions of your container for your images, you do. The dimensions can be any size. jquery is just a script which alternates the images within the container:
    Go to the link below and look at the source code.
    http://jquery.malsup.com/cycle/basic.html
    These are the two jquery scripts you will need to download:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
    <script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
    plus you'll need to include this small snippet in the 'head' section of the page. Change .slideshow to the class name of your container.
    <script type="text/javascript">
    $(document).ready(function() {
        $('.slideshow').cycle({
    fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
    </script>

  • Video file path from HTML - Urgent

                Hi
                I have created a simple imported video in actionscript 3.0 and it works fine when I play it. Since I am a newbie, can anyone guide me
                how do I specify the filepath from HTML, e.g. in the HTML how can i specify <param name="filepath" value="videoname.flv" />. If anyone has
                any link to a tutorial, it would be great.
                Thanks

    Use FlashVars and read them in LoaderInfo:
    http://kb2.adobe.com/cps/164/tn_16417.html
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/LoaderInf o.html

  • Cannot export Financial Report from HTML view to Query Ready Mode

    Hi,
    I am opening Hyperion Financial Reports in Workspace in HTML mode. On the bottom right of the report, when I click on "Export in Query Ready Mode", the report does not get transported to excel. Rather, a message flashes for a split-second and disappears. The message is "The address is not valid". Can anyone please advise as to what should I do to get the report in excel? I did notice that there is also File->Export->Excel->Fully Formatted Grids & Texts, but we want to get it in Query Ready Mode.
    Version is 11.1.1.3. Thanks for any suggestions.
    ABG

    We have resolved this issue. The problem was that Smart View installation/configuration was not complete on the machine which I used to launch report into Query Ready Mode. Once Smart View was fixed, we were able to convert report from HTML view to Query Ready Mode.
    ABG

  • Viewing swf from HTML- user can view only once

    Hi,
    I have my swf files which are getting called in browser when user opens its corresponding page.
    To ensure my swf is not used by user for his other purposes, i had to strict it to view from HTML page which has a variable. Same variable is passed from swf to this HTML.
    if both variables does match then only swf starts preloading. this works fine for first time.
    But when user open the same page second time, he is only able to view preloader which does not progress further.
    When i delete my temp file then user is again able to view the swf only once.
    Can anyone tell me;
    1. what is reason the swf from temp file cannot access variable of its HTML
    2. am I doing it wrongly?
    3. do i need to clear cache everytime or their is another method to do it?
    Thanks.

    hello following is the code used;
    import flash.text.TextField;
    import flash.events.ProgressEvent;
    import flash.events.Event;
    import flash.display.MovieClip;
    //////////STAGE PROPERTIES//////////
    stage.showDefaultContextMenu = false;
    this.tabChildren = false;
    Mouse.cursor = "arrow";
    //////////CALL & SET VARIABLES//////////
    var Progress_txt:TextField = new TextField();
    var theFlashVar:String;
    var ver:String;
    var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
    for (ver in paramObj)
                    theFlashVar = String(paramObj[ver]);
    //////////START USER VERIFICATION//////////
    checkFlashvar();
    //////////HTML VERIFICATION//////////
    function checkFlashvar():void
                    //trace("CHECKING Flash VAR");
                    if (theFlashVar=="mystring01")
                                    InternalPreloader();
                                    //trace("pass var found");
                                    //InternalPreloader();
                    else
                                    //trace("VAR NOT FOUND");
                                    gotoLocalVar();
    //////////LOCAL VERIFICATION//////////
    function gotoLocalVar():void
    //////////LOAD LOCAL DATA////////// 
                    var keyLoader:URLLoader = new URLLoader();
                    keyLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
                    keyLoader.addEventListener(Event.COMPLETE, chkLocalVar);
    //////////CHECK ERRORS//////////
                    keyLoader.addEventListener(IOErrorEvent.IO_ERROR, onLoadError);
                    keyLoader.load(new URLRequest("C:/code.txt"));
    //////////CHECK LOCALLY LOADED DATA//////////
                    function chkLocalVar(event:Event):void
                                    if (keyLoader.data.passKey == "mycode")
                                                    //trace("pass key found");
                                                    play();
                                    else
                                                    //trace("Local VAR NOT FOUND");
                                                    stop();
                                                    parent.removeChild(root);
    //////////LOCAL FILE ERROR HANDELLING//////////
    function onLoadError(evt:IOErrorEvent):void
                    //trace("TXT FILE NOT FOUND");
                    stop();
                    parent.removeChild(root);
    //////////INITIATE PRELOADER STATUS//////////
    stop();
    function InternalPreloader():void
                    stop();
                    Progress_txt.x = 400;
                    Progress_txt.y = 300;
                    addChild(Progress_txt);
                    //trace("load progress event");
    //////////CHECK PRELOADER STATUS//////////
                    if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal)
                                    //trace("checking if condition");
                                    finishedLoading();
                    else
                                    progressLoading();
    //////////PRELOADER PROGRESS EVENT LISTENERS//////////
    function progressLoading():void
                    //trace("progrss loading is running");
                    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS,onProgress);
                    this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
    //////////PRELOADER PROGRESS STATUS UPDATE//////////
    function onProgress(p:ProgressEvent):void
                    Progress_txt.text = String(Math.floor((p.bytesLoaded/p.bytesTotal)*100))+ "%";
                    preloader_mc.bar_mc.scaleX = (p.bytesLoaded/p.bytesTotal);
                    //trace("checking progress");
    //////////PRELOADER STATUS COMPLETE-REMOVE LISTENERS//////////
    function onComplete(d:Event):void
                    //trace("Fully loaded, starting the movie.");
                    play();
                    //removing unnecessary listeners
                    removeChild(Progress_txt);
                    loaderInfo.removeEventListener(ProgressEvent.PROGRESS, onProgress);
                    loaderInfo.removeEventListener(Event.COMPLETE, onComplete);
    //////////PRELOADER STATUS 100% (LOCAL CONDITION)//////////
    function finishedLoading():void
                    //trace("loading completed");
                    removeChild(Progress_txt);
                    play();

  • Launch jar from html!!!

    Ok everyone i am running into deep problems from the time i have been trying to launch this pure java application jarfile from the html browser. Everythin works fine except for Mozilla firefox in Linux. firefox somehow doesnt recognise the system default for opening jar files(unlike its windows counterpart). Since we cant specify a command line(java -jar) for default opening as in the case of browsers like konquerer, i have to manually locate the .exe file which will launch the jar file. But again java.exe(inside the correspondin JRE) doesnt work, so i dunno which exe file to use for launching the jar file.
    A similar problem is observed in mac which has firefox as the default browser. there, we dont even have an option of opening the jar file directly and on clickin the jar file link from html , the browser pops up a window for only downloading jar file into the system. This doesnt serve the purpose as the whole idea is to launch the jar file directly
    Any kinda help for both the above problems will be deeply appreciated!!!

    When you say "new flex window" are you talking about the Flash Projector running on the desktop?

Maybe you are looking for