Passing in movie to load via loadmovie from page

Hi all,
My page loads a default swf using SWFObject, which in turn
loads other swfs containing page content. Using SWFObject, I have
non Flash content for the default page that loads if the flash
player is not present.
I would like to have each flash page replicated as an HTML
page, passing the flash page to load into the default Flash page.
For example, if the user visits mysite.com/aboutus.cfm, the
page should pass in aboutus.swf as the page for default.swf to
load, or if the user visits mysite.com/services.cfm, then
services.swf should be passed in to the default.swf movie.
I have tried the method shown on
http://blog.deconcept.com/swfobject/,
using:
<script type="text/javascript">
var so = new SWFObject("default.swf",
"flash", "760", "800", "9", "#FFFFFF");
so.addParam("wmode", "transparent");
so.addParam("allowscriptaccess", "samedomain");
so.addVariable("movieToLoad", "homepage_v1.swf");
so.write("flash");
</script>
but this fails to load the movie "homepage_v1.swf" using the
following in my default Flash page:
// LOAD DEFAULT PAGE
loadMovie(_root.movieToLoad, 10);
Any advice on where I am going wrong?
TIA,
Paul

Thank you clbeech,
I think you may have misunderstood me (if I have not
misunderstood you).
My reasoning for doing what I am is that each flash page will
have its own search engine friendly html page, for example
aboutus.html. All pages will contain an html version of the site
complete with links, which will be replaced by the swfobject for
browsers with Flash capabilities.
So once google (without Flash player) has indexed all my html
pages, if a user clicks on the google result for about us, the
aboutus.html page will load, which will then load the default Flash
movie, passing in a variable telling it to load aboutus.swf as the
default page. If the user clicks the result for services.html, that
html page will load, which will again load the same default flash
page, passing in the variable telling it to load services.swf.
It all works when hardcoding the swf to load into the first
frame as outlined in my snippet above, but does not seem to like
the variable name.
Any other ideas anyone?
Thanks,
Paul

Similar Messages

  • Urgent: Passing Metadata to SWF loaded via SWFElement?

    Hi!
    my problem: I have a SWF-Animation made in Flash. This animation will be loaded via a OSMF-Plugin as an overlay (SWFElement in ParallelElement). That works perfectly so far. But now I have to pass some Text (Metadata) to the SWF. Passing the metadata to the plug in works. But how does the plugin inject the metadata into the SWF or how do I access the metadata within the SWF?
    Any ideas?
    Thanks in advance,
    Simon

    Since the forums were down I played around on my own. I came up with the following solution.
    I'm not sure if there are better ways that are more straight forward (e.g. with metadata etc.) but it works fine so far.
        override public function set proxiedElement(value:MediaElement):void {
          log( "proxiedElement was set" );
          var overlayResource:URLResource = new URLResource( OVERLAY_URL );
          var overlayElement:SWFElement = new SWFElement( overlayResource );
          overlayElement.addEventListener( MediaElementEvent.TRAIT_ADD,
            function(e:MediaElementEvent):void {
              if ( e.traitType == "displayObject" ) {
                var el:SWFElement = e.currentTarget as SWFElement;
                var dot:DisplayObjectTrait = DisplayObjectTrait( el.getTrait( MediaTraitType.DISPLAY_OBJECT ) );
                var loader:Loader = Loader( dot.displayObject );
                if ( loader.content.hasOwnProperty( "setMetadata" ) ) {
                  Object( loader.content ).setMetadata(
                    { title: "Grant Skinner", details: "FITC 2011 - Amsterdam" }
          var layout:LayoutMetadata = new LayoutMetadata();
          layout.width = 520;
          layout.height = 100;
          layout.bottom = layout.left = 0;
          layout.index = 999;
          overlayElement.addMetadata( LayoutMetadata.LAYOUT_NAMESPACE, layout );
          var durationElement:DurationElement = new DurationElement( 5, overlayElement );
          var parallel:ParallelElement = new ParallelElement();
          parallel.addChild( durationElement );
          parallel.addChild( value );
          super.proxiedElement = parallel;

  • How to load a PDF from page 1 in IE

    I am currenty working on a fllex based web application that needs to load multiple PDF documents. The pdfs are loaded and displayed properly but after the user scrolls couple of pages/ lines and switches to a new document, IE saves the last visit cursor position of the pdf document. On user revisit to the first PDF the IE loads it from the last cursor position.
    I need to reload the PDF document from Page 1 everytime the user selects to load a pdf document.
    Is there any setting in the Adobe Acrobat Page display settings or in the IE that would help me accomplish my task.
    Please respond ASAP.
    NOTE: The pdf is loaded inside  an IFRAME.
    Thanks,
    -Karun

    > I have a feeling that removing the save button will not be possible.
    You cannot remove the save button, no, but you can replace its execute method with something that, say, pops up a warning to the user instead.
    > Is there any way to just load the file using a URL?
    The ActiveX control definitely loads a URL. See the "src" property of the ActiveX control. If you download the SDK, the ActiveView sample actually loads a PDF from a URL by default.

  • How to load BeginningBalance and movements into HFM via FDM from ERPI

    I have a file generated by ERPI with the columns of |AMOUNT|BEGIN_BALANCE_DR|BEGIN_BALANCE_CR|PERIOD_NET_DR|PERIOD_NET_CR|
    among many other columns.
    How can load them via FDM into the Custom1 dimension in HFM, which contains BeginningBalance, Additions, Disposals, etc.
    So basically I will have a trial balance, which I can compare with GL and OBI.

    Hello
    You can use the IDOC SOPGEN01 for that purpose.
    Please check transaction WE60 for IDOC documentation and there are many old threads with information about this IDOC.
    BR
    Caetano

  • Crash when loading file upgraded from pages 3.03 to 4.0

    after loading a 3.03 file in pages 4.0 (demo version), deleting a few styles, modifying a few others, creating a table of contents, moving paragraphs around in structure mode, then saving the file, it causes pages 4.0 to crash when attempting to load it : segmentation fault.
    Report have been sent to apple but I'm in despair because this 125 pages file is crucial to me : I didn't keep the original. It contains an academic report I must finalize tomorrow.
    Any help much welcome, I can send the file

    Try creating a new user and opening it in that, just in case it is a something other than Pages causing the problem.
    Also try force opening the file with a text editor to get at the contents, you may be able to rescue something. A slim hope but worth trying.
    Also try getting at the parts of the file by going into Finder and right mouse clicking on the file and go +Show Package Contents+. Inside the package, if there is one, will be a Quicklook folder and inside that Preview.pdf.
    You can open the Preview.pdf in Preview and possibly copy material from that into another document to rescue it.
    You have learnt a painful lesson. If the material is vital keep the backup, especially as you were only working with the demo version of Pages 09.

  • How to send more than one doc via email from Pages on iPad

    When sending a resume and a cover letter via Pages from my iPad, how do I send a second document via the same email?

    What fruhulda said. In addition, in the Mail composition window, I recommend that you select the paperclip icon from the Toolbar, and enable Send Windows-Friendly Attachments.
    You can also select multiple files in the Finder and drag them onto the composition window. In my experience, the documents resist an iconic state, so right-click on just one, and choose View as Icon from the contextual menu. This will transform all attached documents into icons.
    If you want to send just one document from within Pages v5, use the Share icon in the Toolbar and select Send a Copy > Email. You can then choose PDF (and its image quality), or Word (.docx default, or .doc) document formats that will be attached as an icon in a new pop-up Email composition window.

  • Cannot play movies down loaded from i tunes . get message iTunes unavailable . tried unplugging unit also reset and no change what is wrong with apple tv unit?

    Movies & TV shows I have from I-Tunes are currently not able to play on my Apple Tv unit.
    I have unplugged numerous times ,updated ,reset modem,put back to factory settings,
    logged out and back in numerous times .
    all that ends up happening isI get the same message
    I-Tunes unavailable -
    how can this be remedied?

    I'm having the same issue on Apple TV 3. I can play the content on my computer, iphone or iPad but I can't on my Apple TV. I just bought Guardians of the Galaxy via my Apple TV and the purchase went through but when I try to play the content I get this error. However I tried renting a movie and guess what? I can play rentals just fine. This is only effecting Apple TV.  Not just movies though, I can't play my iTunes music either. This is BS it's been going on for days now. Tried resetting the appletv to factory defaults and reconfiguring it and nothing.
    I Want acknowledgement from apple that there is an issue and they are working to resolve It.
    it's a shame, since Steve Jobs passed I've noticed a decline in the quality of work that Apple does. Not a fan of the Post-Steve Jobs UI's that seem to be only half thought-through either.  Why do I enter a URL in what appears to be a raised button in Safari on Yosemite?
    Apple better tighten their **** back up or soon the quality will be more on par with what you would expect from Windows or a PC.

  • I would like to transfer all data from my iPod classic to my new computer with windows 8.1. My old computer's cpu died. Utilizing iTunes which only allows iTunes albums purchased at iTunes store. The cd's were loaded via iTunes originally.

    I would like to transfer all data from my iPod classic to my new computer with windows 8.1. My old computer's cpu died. Utilizing iTunes which only allows iTunes albums purchased at iTunes store. The cd's were loaded via iTunes originally.

    Install disk drive from old computer in an external enclosure.
    Then copy the complete iTunes library from the disk drive to the disk drive in the new computer.

  • Infopackage-Load Many Files from Application Server and later Archive/Move

    Hi All..
      I have a doubt,   I have a requirement of take many files to load into BI 7.0..  I used the infopackage before with option:
    Load Binary File From Application server
      I load information successfully... only with one file ...but If I can load many files (with different names) like the next list.. I think it's not a good idea modify the file name (path) on infopackage each time).. :
    *All of this files will be on one server that itu2019s map into AL11.. Like
    Infopfw
    BW_LOAD_20090120.txt
    BW_LOAD_20090125.txt
    BW_LOAD_OTHER_1.txt
    u2026.
    Etc..
    This directory it's not in BW server.. It's other server..but I can load form this location (one file by one)
    Could you help me with this questions:
    -     How can I Use an infopackage with routine that take all the files..one by oneu2026 in order of creation dateu2026and load into Target? Is it possible?.. I have some knowledge of ABAP.. but I don´t know exactly how I can say to system this logicu2026
    -     In addition is it possible move this files to other locationu2026 like into Infopfwarchive u2026 just to have an history of files loaded.
    I saw that in infopackage you have an option to create a routine.. in ABAP codeu2026 Iu2019m a little bit confused because I donu2019t  know how I can specify all the path..
    I try with:
    Infopfw
    InfopfwFile.csv
    Infopfw
    This is the abap code that automatically you see and you need to modifyu2026
    Create a routine for file name
    This routine will be called by the adapter,
    when the infopackage is executed.
              p_filename =
              p_subrc = 0.
    Thank you for your ideas or recommendations.
    Al

    Hi Reddy, thank you for your answer
    I have some doubuts.. when you explain me the option:
    All the above files are appending dates at the end of the file....
    You can load the files through infopackage by using Routines and pick the files based on date at the end of the file..***
    I need to ask you if you think that when you know the date of the file and the infopackage pick each file... thi can work for many files??... or how it's possible control this process?
    About this option, I want to ask you If when you menction Unix code... where it's programed this code?.. in the routine of BW Infopackage??
    ****Or
    Create two folders in your BW in Application server level, in AL11 (ask Basis team)
    I call it is F1 and F2 folders.
    First dump the files into F1 I assume that the file name in F1 is "BW_LOAD_20090120.txt", using Unix code you rename the file and then keep in the same foleder F1 or move to F2.
    Then create InfoPackage and fix the file name (i.e. you renamed), so you don't need to change everyday your file name at infopackage level.Because in AL11 everyday the file are overwrite.
    To I get BW_LOAD_20090120.txt file in F1, then I renamed to BW_LOAD.txt and loaded into BW, then tomorrow I get BW_LOAD_20090125.txt in F1, then I renamed to BW_LOAD.txt....
    so in this way it will work.You need to schedule the Ubix script in AL11.
    This is the way how to handle the application server...I'm using the same logic.
    Thank you soo much.
    Al

  • Do not seem to be able to backup iPad via iTunes on to my PC. Message after connecting is "iTunes was unable to load class information from Sync Services, Reconnect or try later"  Have tried that but get the same result. Can anyone assist?

    Do not seem to be able to backup iPad via iTunes on to my PC.
    Message after connecting is "iTunes was unable to load class information from Sync Services, Reconnect or try later" 
    Have tried that but get the same result.
    Remedies I've tried are:
    wait and try again
    reboot
    reload iTunes
    NB hp is a relatively new machine and has previously backed up quite happily.
    Can anyone assist?

    RHoodnkt-
    Try rebooting the iPad.  Hold down both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  It takes a minute or two to restart.
    Also be sure your iPad battery is not completely discharged.
    Fred

  • I can't trasfer music from my library in itunes to my iphone 3GS. A black ring with a line through it comes up when i try to move music onto my iphone from itunes. How can I fix this so that I can load my phone with music?

    I can't trasfer music from my library in itunes to my iphone 3GS. A black ring with a line through it comes up when i try to move music onto my iphone from itunes. How can I fix this so that I can load my phone with music?

    How are you trying to transfer it and what are your setting on iTunes.  I'm not on a computer that has iTunes at the moment so I'm going from memory and similar issue.  If iTunes is set to sync music then I don't think you can select and drag, if set to manual manage music then you can.  Also make sure you are dragging to music on the iPhone.
    Hope this helps

  • Catalyst 3550: Loading IOS via TFTP from ROMmon?

    Hi everybody,
    I need to load an IOS from ROMmon-mode to a Catalyst 3550.
    Of cause I could do that via xmodem but I thought it should also be possible via TFTP.
    What I did:
    switch: IP_ADDRESS=192.168.1.1
    switch: IP_SUBNET_MASK=255.255.255.0
    switch: TFTP_SERVER=192.168.1.2
    switch: TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
    switch: DEFAULT_GATEWAY=192.168.1.1
    switch: set
    BOOT=tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
    DEFAULT_GATEWAY=192.168.1.1
    IP_ADDRESS=192.168.1.1
    IP_SUBNET_MASK=255.255.255.0
    MAC_ADDR=00:0F:90:7F:B1:00
    MODEL_NUM=WS-C3550-48-SMI
    MODEL_REVISION_NUM=L0
    MOTHERBOARD_ASSEMBLY_NUM=73-5701-09
    MOTHERBOARD_REVISION_NUM=A0
    MOTHERBOARD_SERIAL_NUM=CAT08130PUT
    POWER_SUPPLY_PART_NUM=34-0967-02
    POWER_SUPPLY_SERIAL_NUM=DTH08094HH7
    SYSTEM_SERIAL_NUM=CAT0813Z29A
    TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
    TFTP_SERVER=192.168.1.2
    switch: boot tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
    Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
    Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
    Interrupt within 5 seconds to abort boot process.
    Boot process failed...
    switch: boot
    Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
    Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
    Interrupt within 5 seconds to abort boot process.
    Boot process failed...
    Am I doing something wrong or is it generally impossible to load an IOS via TFTP to a 3550?
    Thanks in advance
    Rolf

    I am pretty sure you can't boot from a TFTP server with the Catalyst 3550 (or any of the other standalone access switches - 2950, 3550, 3560 3750 etc). If you want to recover one you need to recover it using XModem via the console:
    http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
    I used to think you had to do this at 9600-baud, however you can increase the baudrate and it only takes 10-20 minutes (I couldn't get 115200 to work but 57600 worked OK and took about 20-minutes).
    You need to remember to put the baud rate back to 9600 when the image is back on as it gets stored in NVRAM and reboots etc are at the stored speed (i.e. changing it after it has booted under the line con 0 doesn't get saved to NVRAM).
    HTH
    Andy

  • Resizing a movie loaded with loadMovie()

    I'm looking to resize a movie that was loaded with
    loadMovie() into a movie clip. Once it's finished playing I want it
    to reduce down in size. Any ideas?
    loadMovie("test.swf",main_Movie);
    main_Movie is the empty movie clip, its a simple rectangle
    that is 550 x 400 so it fills the whole stage.
    Any ideas, or if you need more info please let me know.
    Rob

    Rob-
    You can scale movie clips by a percentage or resize by
    directly manipulating the width and height values.
    main_Movie._xscale = 50; //scale width by 50%
    -or-
    main_Movie._width = 20; //set width to 20 pixels
    For more information check:
    http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001570.html
    I hope that helps.
    Sean

  • HT200109 Can rental movies be watched via Apple TV from an iPad 2?

    Can rental movies be watched via Apple TV from an iPad 2?

    They can be rented on the iPad and sent via airplay to the Apple TV, if that's what you are asking. They cannot be rented on the Apple TV and sent to the iPad.

  • How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19

    How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19.
    URL Eaddress: [email protected]

    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden, so you need to hide the Menu bar to get the new appearance.<br />
    If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.<br />
    You can place the Tab Bar on top.
    * View > Toolbars : [ ] Menu Bar
    * View > Toolbars : [X] Tabs on Top
    The Tab bar only appears on the title bar if the Firefox window is maximized.

Maybe you are looking for

  • Parsing XML in JServer

    I appologize for my XML ignorance up front. We've got an application with which we store a bunch of different file types in Oracle BLOBS. Some of these files are XML documents which are primarily used by an external application. There is a component

  • Problem when exporting a movie

    When I export a flash movie (.swf), and when I go full screen, there are parts that show out of the stage (stuff out the workspace).. How can I make only the stuff inside the stage show? Thank you.

  • When you buy a new ipad air is it locked to a carrier

    I have just purchased a Ipad Air Cellular in the UK , it came with a Pre Loaded EE nano sim, can you tell me if that means my Ipad is Locked to that carrier? as it also had the option to have it without the sim included?

  • Archlinux and P35 Chipset. [ABIT FULL OF FAIL?]

    Hello, my latest build for my comp includes an Abit I-P35E. I have heard of P35 motherboards and linux not getting along very nice. Some of my friends have motherboards from Gigabyte with the P35 chipset and they are running Archlinux no problem. I o

  • Query on stocks movement takes a long time

    There is a query on stocks movement cube which gives closing stocks across all plants. This query lately has started taking too much of time to execute. We have compressed the cube with no marker update. Any  comments.