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

Similar Messages

  • HT4623 I update my iPad mini retina with iOS 7.1 resulting in not being to down load NOR OPEN  PPT, WORD files using iWork, page, can anyone pls help?

    I update my iPad mini retina with iOS 7.1 resulting in not being to down load NOR OPEN  PPT, WORD files using iWork, page, can anyone pls help?

    You want to just use Dropbox until the dust settles.  To use it from iWork for iOS (assuming you have the Dropbox app installed on your device), open the document in Keynote (for example), tap the share icon (box with upward pointing arrow), choose Open in Another App, choose Keynote as your format, then choose Open in Dropbox and you will get an option to save it to your Dropbox account.  To open it from Dropbox in iWork for iOS, open the document in the Dropbox app, tap the share icon, tap Open in Keynote (for example).  It's a bit clunky, but works. 

  • 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.

  • Pls give me the code to load method only once in JVM.

    Hi all,
    Pls give me the code to execute method only once in JVM.Even if we create more than one instance to call the method.
    Thanks & Regards,
    Vinodh

    [How to ask a question on these forums|http://catb.org/~esr/faqs/smart-questions.html]

  • 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>

  • Edge animation  only plays when I arrive at the page from the next page

    Hi Everyone, I'm really at my wit's end. Everythign was working fine Friday and then on Sunday, it just stopped.
    I have several a 13 page Indesign CS6 file, one .OAM file per page. Page 1 plays fine, but when I advance to page 2, the box with the .OAM file flashes, then nothing. The rest of the pages play fine, but if I were to swipe to page 3, then back to page 2, page 2 now plays fine. But if I were to swipe from page 2 to page 1, page 1 does not play.
    What's even more odd is any animation I move to page 2 will not play. So if I were to put a blank page as page 2, the non-working page 2 will now animate when it is moved to page 3.
    This is an important job, is there a higher level of Adobe tech support I can subscribe to for 1 on 1 help?

    Good point, Alistair. I've started rebuilding each page in a new InDesign document and things were going smoothly, until I reached the 8th page, which contains the 8th .OAM (there's one per page). Now, some animations have stopped displaying—same as my original problem. The similarity is while I had 13 pages built up in the original document, it started getting buggy once the 8th .OAM went in. Maybe I've reached the limit to what InDesign/DPS can handle? And once the glitch was set in, it didn't matter if I reduced the file down to 2 pages, the error remained.
    Is it possible to divide up the document to two files, pages 1-7 and pages 8-13, then use DPS to combine them for the iPad?
    I have plenty of RAM and hard drive space. 16GB RAM, 5 TB storage space, 470 GB internal.

  • How to load decimal values into a file using bcp in SQL Server 2000?

    Hi everyone,
    I'm trying to load data from a database table to a text file using bcp on SQL Server 2000. When I'm loading the decimal values, the values before the decimal are not being loaded into the file. How could I load the values before decimals?
    Here are the DDLs and DMLs of what I'm trying to run:
    CREATE TABLE [dbo].[Product_Sales](
    [Year_of_Sale] [smallint] NOT NULL,
    [Product_Type] [varchar](25) NOT NULL,
    [Product_Group] [varchar](25) NOT NULL,
    [Category_Type] [varchar](25) NOT NULL,
    [Category_Group] [varchar](10) NOT NULL,
    [Product_Count] [bigint] NOT NULL,
    [Product_Amount] [decimal](19, 2) NOT NULL,
    [Category_Count] [bigint] NOT NULL,
    [Category_Amount] [decimal](19, 2) NOT NULL,
    CONSTRAINT [PK_Product_Sales] PRIMARY KEY CLUSTERED
    [Year_of_Sale] ASC,
    [Product_Type] ASC,
    [Product_Group] ASC,
    [Category_Type] ASC,
    [Category_Group] ASC
    ) ON [PRIMARY]
    ) ON [PRIMARY]
    INSERT INTO [Yearly_Sales].[dbo].[Product_Sales]
    VALUES(2010, 'Online', 'Web', 'Cameras', 'Electronics', 547, 0.00, 0, 0.00)
    EXEC [master].[dbo].[xp_cmdshell] 'bcp "SELECT * FROM [Yearly_Sales].[dbo].[Product_Sales]" queryout D:\Yearly_Sales\Product_Sales.dat -c -T -S'
    And the output I see in the file is:
    2010 Online Web Cameras Electronics 547 .00 0 .00
    The values before decimals are being truncated.
    Thanks,
    Bangaaram
    Known is a DROP, Unknown is an OCEAN.

    You can modify the decimal column(s) in the table to varchar type before export. But it does not look good.
    alter table [dbo].[Product_Sales]
    Alter column [Product_Amount] varchar(20)
    alter table [dbo].[Product_Sales]
    Alter column [Category_Amount] varchar(20)
    Does that make any sense?
    Known is a DROP, Unknown is an OCEAN.
    Basically you modify the decimal column to a varchar type before you run the bcp command for export. You can modify your source table or you can modify them on the fly. It is just a workaround.
    Modifying the source wouldn't be a good idea. Never do that if you can't get your desired output.
    Known is a DROP, Unknown is an OCEAN.

  • Load data only for current month using ABAP Routine

    Hi Everyone,
    I am loading data from R/3 using the 0HR_PA_OS_1 extractor. This requirement is to load the position numbers from R/3. Using the extractor for a given position 28 I get the following dataset results.
    CALMONTH  POSITION
    11-2004           28
    12-2004           28
    01-2005           28
    02-2005           28
          |
    07-2007          28     CURRENT DATE
    Now when I pull data in BW I only want to load the record for most current i.e. 07-2007. I DO NOT want that ALL the records since the day the position was created should be loaded.
    Now I do understand this can be achieved using a ABAP routine in the INFOPACKAGE. Below is the routine that I am using and what it is doing is that it is only bringing in the first record.
    data: l_idx like sy-tabix.
      clear: l_idx.
      read table l_t_range with key
           fieldname = 'CALMONTH'.
      l_idx = sy-tabix.
    Current month only
      l_t_range-low = sy-datum(6).      "Current month
    l_t_range-high.
      l_t_range-option = 'EQ'.                           "equals
    l_t_range-sign = 'I'.
      modify l_t_range index l_idx.
      p_subrc = 0.
    Can anyone suggest a solution as to why this is happening?
    Thanks,
    Rahul

    One explanation would be
    - If there is no CALMONTH selection values specified in the selection tab, l_t_range would be empty. This would mean there would be no line for CALMONTH selection, and the code won't modify the l_t_range.
    If this is true, you need to check sy-subrc after reading from the itab.
    data: l_idx like sy-tabix.
    clear: l_idx.
    read table l_t_range with key fieldname = 'CALMONTH'.
    if sy-subrc = 0.
    l_idx = sy-tabix.
    * Current month only
    l_t_range-low = sy-datum(6). "Current month
    * l_t_range-high.
    l_t_range-option = 'EQ'. "equals
    * l_t_range-sign = 'I'.
    modify l_t_range index l_idx.
    else.   
    move 'CALMONTH' to l_t_range-fieldname.
    l_t_range-low = sy-datum(6).
    l_t_range-sign = 'I'.
    l_t_range-option = 'EQ'.
    append l_t_range.
    endif.
    p_subrc = 0.

  • 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

  • How to load Class only once...

    hi all,
    i am using the Class.forName() to load the class.
    the code looks like as follows :
    for loop.....{
    Class.forName("classA");
    inside the for loop , is there any possiblity of knowing that the class is already loaded or not. i can load the class the outside the for loop . but i am curious to know how we can check whether the classA is already loaded or not for the next iteration of the loop.
    tia,
    dhanasekaran.

    Class.forName() will only load a class that has not been previously loaded. Whether or not a class is already loaded is totally transparent to a Java application. It will be loaded as soon as it is referred to for the first time, be it instantiation or access to static members or a call to Class.forName().

  • 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>

  • How to Load Arabic Data from flat file using SQL Loader ?

    Hi All,
    We need to load Arabic data from an xls file to Oracle database, Request you to provide a very good note/step to achieve the same.
    Below are the database parameters used
    NLS_CHARACTERSET AR8ISO8859P6
    nls_language american
    DB version:-10g release 2
    OS: rhel 5
    Thanks in advance,
    Satish

    Try to save your XLS file into CSV format and set either NLS_LANG to the right value or use SQL*Loader control file parameter CHARACTERSET.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#i1005287

  • Error loading data from an XML file using HTTPService

    Hello All,
    I have a runtime error that has got me beat at the moment   I am building an App in Flash Builder 4 to run on AIR.
    The error is as follows: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    What i'm Trying to Do:
    I have 2 DropDownList controls, the first is populated with country names and the other with language options.  All the 1st DropDownList control does
    is set an image control to display the country flag and enable the 2nd DropDownList.
    The 2nd DropDownList sets the langCode variable equal to the chosen language code.  I then call the language function and pass it langCode.  Using this variable, I build up the string
    so that langFilePath will be equal to the XML file (which is "Lang_GBR.xml") location on my desktop and then call the HTTPService.
    As soon as the language function is called, the runtime error occurs and highlights the line with btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
    where I try to assign the button label with a new value from the XML file.
    I suspect this may be a trivial error but I just can't see it at the moment. 
    Any help or guidance would be appreciated.  Thanks
    Code:
    <fx:Script>
            <![CDATA[
                   [Bindable]
                   public var langFilePath:String;
                   public var langDir:File = File.desktopDirectory;
                   public var langCode:String;
                   public function countrySelect_changeHandler(event:IndexChangeEvent):void
                        switch (countrySelect.selectedItem)
                             case ('United Kingdom'): 
                                  trace("Item Selected was: "+ countrySelect.selectedItem);
                                  img_countryFlag.source = AngolaFlag;
                             break;
                             case ('France'): 
                                   trace("Item Selected was: "+ countrySelect.selectedItem);
                                   img_countryFlag.source = AustraliaFlag;
                             break;
                             default: 
                             break;
                        langSelect.enabled = true;
                        trace("1st dropdownbox");
                   public function langSelect_changeHandler(event:IndexChangeEvent):void
                        switch (langSelect.selectedItem)
                             case ('English'): 
                                 trace("Language Selected was: "+ langSelect.selectedItem);
                                 langCode = "Lang_GBR"; 
                             break;
                             case ('French'): 
                                 trace("Language Selected was: "+ langSelect.selectedItem);
                                 langCode = "Lang_FRA"; 
                             break;
                        language(langCode);
                   public function language(aParam:String):void
                        trace("Code Was: " + aParam);
                        trace("Lang dir: " + langDir.nativePath);
                        langFilePath = langDir.nativePath + "/" + aParam + ".xml";
                        trace("File to load: " + langFilePath);
                        trace("loadLangFile.url: " + loadLangService.url);
                        loadLangService.send();
                        btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
              ]]>
    </fx:Script>
    <fx:Declarations>
         <s:HTTPService id="loadLangService" url="{langFilePath}"/>
    </fx:Declarations>
    <s:DropDownList x="10" y="201" id="countrySelect" prompt="Please Select Your Country" width="274" enabled="true" change="countrySelect_changeHandler(event)">
    <s:DropDownList x="10" y="348" id="langSelect" prompt="Please Select Your Language" width="274" enabled="false" change="langSelect_changeHandler(event)">

    Don't sure about your XML structure, but for now i see the problem here between this 2 lines of code:
    loadLangService.send();
    btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
    Think data that your httpService should receive just can't go so fast to populate the lastResult before you call it in the next line
    Try adding a result listener to your service before you send it:
    loadLangService.addEventListener(ResultEvent.RESULT, handler);
    loadLangService.send();
    function handler(event:ResultEvent):void {
         btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

  • Deskjet 3050 does only print JPG files in color - all other docs are only printed in black and white

    Dear All,
    I have a problem with my Deskjet 3050 Printer. (USB connected with my laptop).
    My printer won't print colored documents in color but only in black and white (except for JPG files (photos) which are printed in color.
    Word documents or PDF files (for example) are always printed in black and white - even if these are in color.
    Copying colored pages with my printer is no problem.
    This works perfectly well. The printer is connected to my PC via USB.
    The cartridges (color and black and white) are practically new and original HP cartridges.
    Could the problem be related to the printer settings which I might have changed by accident.
    Thanks in advance for your advise.
    Cheticamp
    This question was solved.
    View Solution.

    Hi Cheticamp,
    From the control panrl go to Devices and Printers.
    Right click the printer and select Printing Preferences.
    Cluck the Advanced button and ensure that Print in Grayscale is set as off and confirm.
    From Word click on File > Print and click on Settings.
    You will see the dame printing preferences screen.
    Press Advanced and ensure the grayscale optio is set as off for Word as well.
    Hope that helps,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • I deleted a specific file folder from my Seagate backup drive, via Time Machine. Instead of only deleting that file, it deleted ALL my files for that date.

    1. Why? I was quite obviously selecting one file folder ONLY.
    2. Is there any way to retrieve the lost items?
    3. How do I avoid this happening in the future?

    Never had any issues while deleting specific files/folders from a time machine backup.
    However, regarding the original post, what do you mean by "file folder"? Did you select a FILE for deletion, or a FOLDER? These two terms tend to be quite different, you know.
    If you selected a FOLDER, then ALL FILES inside the folder have been deleted. If you selected a single FILE, then only that file should have been deleted. "Delete all backups of..." is a completely different story.

Maybe you are looking for