Loading a Movie that Loads other Movies

Hi All,
I am working on a kiosk. There are two seperate versions of
the kiosk, one in english and one in spanish. Both of these
versions are in a seperate folder. I want to create an exe that
will give the user the choice of language and then load that
version. Unfortunately, the seperate versions of the kiosks also
load external movies. So for example, when I load the english
version it is looking for the external swf in the same directory of
the movie that is loading it.
Is there any way around this? I want to basically "lock" the
loaded movie so that any calls to external swf's refer to the
directory structure of the loaded movie and not the movie that is
calling it. I can't put the external files in the same directory as
the main movie because both versions use files with the same names.
Thanks for any available help!
-=Chris

Okay, here is a simplified example of my directory structure:
|-Main.exe
|--------------- spanish folder
|---------------------------------spanish.swf
|---------------------------------Content Folder
|------------------------------------------------content1.swf
|------------------------------------------------content2.swf
|------------------------------------------------content3.swf
|--------------- english folder
|---------------------------------english.swf
|---------------------------------Content Folder
|------------------------------------------------content1.swf
|------------------------------------------------content2.swf
|------------------------------------------------content3.swf
Main.exe gives the user the choice to select English or
Spanish. If the user selects English, then english.swf is loaded
into main.exe. However, when english.swf is loaded, it no longer is
able to load content1.swf from the content folder. I understand
that I can change the path in english.swf to make it work, but
there are a great deal of paths that would need to change. Is there
any way to lock the loaded movie(english.swf) so that any calls to
external swf's(content1.swf) refer to the directory structure of
the loaded movie(english.swf) and not the movie that is calling it
(main.exe). Thanks again!
-=Chris

Similar Messages

  • I have a problem that I can not load or even close the download in iTunes, it turns out I have hanging in the mode, and because of that I can't download from AppStore, because it turns out that the other programs I have on standby. What do I do? Thank you

    I have a problem that I can not load or even close the download in iTunes, it turns out I have hanging in the mode, and because of that I can't download from AppStore, because it turns out that the other programs I have on standby. What do I do? Thank you.

    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

  • Can I load a swf into my Flex app that loads other swf's?

    The code below loads an AS2 swf into my Flex mobile for IOS app and it works.  If that AS2 swf has like a circle in it that runs across the stage, it loads and displays properly when run in FlashBuilder.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     initialize="init()">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  private var request:URLRequest = new URLRequest("http://PATH_TO_AS2_SWF");
                                  private var loader:Loader = new Loader();
                                  private var myComponent:UIComponent = new UIComponent; 
                                  private function init():void{
                                            myComponent.percentHeight = 100;
                                            myComponent.percentWidth = 100;
                                            loader.load(request);
                                            myComponent.addChild(loader);
                                            player.addElement(myComponent);
                        ]]>
              </fx:Script>
              <s:Group id="player"
                                   height="100%" width="100%"/>
    </s:Application>
    But if that AS2 swf loads other swf's, they don't load or display.  My FlashBuilder debugger reports no errors or security sand box violations.   I'm using the most elemental code in my AS2 swf so as to not cause problems.  This is it in its entirety:
    this.onLoad = function(){
              _root.loadMovie("http://[PATH_TO_REMOTE_SWF]");
    The paths to the remote content are fine because swf's load and display fine from AS2 swf when run on it's own - not embedded in Flex app.  They also load and run fine if I cut out the AS2 swf and access directly from my Flex code.  So I know there isn't a path issue.  More likely not accessing the right layer in the AS2 swf from Flex or something.  Or maybe security sandbox violation but I don't see anything reported in the FlashBuilder debug console.  When run console just reports:
    [SWF] SwfMobile.swf - 2,639,761 bytes after decompression
    [SWF] assets/swf/AS2.swf - 1,470 bytes after decompression
    Is there something inherently wrong with loading swf's that load other things?  Even if I have the AS2 swf load jpgs they don't load so the format of the target content at the end of the chain doesn't seem to be the issue.  Just the act of embedding a swf that loads other things seems to be the problem.

    Ah, yes. Using an AVM1 SWF could prove difficult...
    I'm going on about 3 hours of sleep at the moment, but let me toss out a few thoughts I have and hopefully something will stick...
    Ok, so my first thought what to try and cast the loaded content as a MovieClip and call methods on that, but the fact they are AVM1 throws that out the window.
    That leaves LocalConnection, as you mentioned. But this would require you to have code on the receiving end to handle the connection... no good either.
    But what if you created a "bridge" in AS2 that holds all the code for the receiving end of LocalConnection (or has the control logic itself, perhaps even eliminating the need for LocalConnection all together!). I think maybe this is what you were trying to do already by loading a SWF into a SWF? Well instead of loading your bridge at runtime, what if you statically linked it into your project as a class?
    *a few moments later*
    Well it looks like you can in fact link in a a symbol created for AVM1, but it will only come in as a SpriteAsset, and will not include any custom code (which makes sense, since they use entirely different class constructs).
    To do the test, I created a symbol exported for actionscript (AS2/Flash8), then linked it in with a CSS style embed. I then instantiated the class and called describeType on it.
    So in summery, it looks like calling custom code on the bridge is out (I did not test this extensively, that was just my first impression with this simple test). However, if you may be able to perform the actions you need by attempting to cast the loaded content into something AVM2 can recognize. Apparently it does this automatically when linked in statically, so maybe there is something there worth looking into... mainly, can you do what you need using only the base class and no custom code?
    Keep me posted!

  • I purchased two albums from iTunes but neither properly loaded and I cannot play any of the songs.  I have prevously loaded other albums with no problems.  How do I delete these albums and reload them?  I don't see iTunes on iCloud.

    I purchased two albums from iTunes but neither properly loaded on my iPad Mini and I cannot play any of the songs.  I have prevously loaded other albums with no problems.  How do I delete these albums and reload them?  I don't see iTunes on iCloud.

    If the albums do appear in the Music app, hold down on the album icons and the X to delete will pop up on the icons. Tap the X to delete the albums.
    You don't see a anything in iCloud, you see your previous purchases in the purchased tab of the store that you bought the content in. So you find your music purchases in the purchased tab of the iTunes app on your iPad. Tap on Purchased and look for the albums in the Not on this iPad section - assuming that you are able to delete the albums from the device.

  • How to load other obejects in flash file after intro using ActionScript 3.0

    How to load other obejects in flash file after intro using ActionScript 3.0 or any other method all in same fla file. see blow intro screen shot ,this one playing repeatedly without loading other fla pages .only way to load other pages is click on Skip intro .see second screeshot below .i need that site to load after intro .
    see codes already in
    stop();
    skipintro_b.addEventListener(MouseEvent.CLICK, skipintro_b_clicked);
    function skipintro_b_clicked(e:MouseEvent):void{
    gotoAndStop("whoweare");
    There is another script there
    /* Simple Timer
    Displays a countdown timer in the Output panel until 30 seconds elapse.
    This code is a good place to start for creating timers for your own purposes.
    Instructions:
    1. To change the number of seconds in the timer, change the value 30 in the first line below to the number of seconds you want.
    var fl_TimerInstance:Timer = new Timer(1000, 30);
    fl_TimerInstance.addEventListener(TimerEvent.TIMER, fl_TimerHandler);
    fl_TimerInstance.start();
    var fl_SecondsElapsed:Number = 1;
    function fl_TimerHandler(event:TimerEvent):void
              trace("Seconds elapsed: " + fl_SecondsElapsed);
              fl_SecondsElapsed++;
    i have no knowledge about these thing ,any help really appreciated .

    Ned Murphy Thank you very Much .It is working .Great advice

  • Firefox loads other pages than expected

    From time to time firefox loads other pages than expected.
    Is it firefox, google :D or do i have a virus:D?

    Many site issues can be caused by corrupt cookies or cache.
    * Clear the Cache
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > Network > Cached Web Content: Clear Now'''
    and
    * Remove Cookies
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Privacy.'''
    Under '''History''', select Firefox will '''Use Custom Settings'''.
    There is a button on the right side called '''Show Cookies'''.
    If there is still a problem,
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''''' {web link}
    While you are in safe mode;
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites and see if there is still a problem. Then restart.

  • Someone else bought an app on the store. I had already purchased the app before on my other computer, so I deleted the app on my new computer that the other person purchased. I now want to download the app again on MY account but...........

    Someone else bought an app on the store on my new computer. I had already purchased the app before on my old computer, so I deleted the app on my new computer that the other person purchased. I now want to download the app again through MY account. When I click INSTALL it asks for ID, but it shows up automatically with the other person's ID, so I delete that and enter mine instead. I then click SIGN IN, but then it says "Unknown error", then I click OK, then it says "We could not complete your request. There was an error in the App Store. Please try again later. (4)". How do I get rid of all info of other people's IDs so I can get the app through my account again?
    The app that I'm trying to download actually might have been a pirated app. But I deleted it, so why is it not letting me get it through my account?
    Please help!
    Thanks

    you may delete this discussion. I fixed the issue

  • Whenever I go to iTunes with my iPod 5th generation 32 gb iPod Touch, running iOS 8.0.2, It tells me that the "Other" category is using up 14.59 gb of data. I have no clue why it says this and I have searched the internet for fixes and none worked.

    Whenever I go to iTunes with my iPod 5th generation 32 gb iPod Touch, running iOS 8.0.2, It tells me that the "Other" category is using up 14.59 gb of data. I have no clue why it says this and I have searched the internet for fixes and none worked. I have tried on a windows and a mac and noticed no change. I have tried restoring to a backup but that didn't help. I haven't had time to do a full restore but I will try if the problem persists.

    An "other" larger than about 1 1/2 GB indicates corrupted files.
    What is the Other on my iPhone and How to Remove It
    What is "Other" and What Can I Do About It?
    Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Restoring iOS software

  • How do i get rid of the space on my ipod that say other

    i put some music off my computer onto my ipod now i have a large space that says other

    I have a whole folder full of apps I don't want or use. It has a creative name that won't make it through the forum's word filter.
    As to notifications, you can go in and remove everything from the notification center as well as turn things off. With nothing in there then you don't really notice that it exists.

  • Problem in BPEL with payload xsd that include other payload xsd.

    Hi,
    We have a payload xsd that includes other payload xsd. JDev does not complain when we validate or compile the BPEL project but when we try of create a variable of that type in JDev it fails. Any ideas?
    <xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.oracle.com/retail/integration/payload/XItemDesc"
    xmlns="http://www.oracle.com/retail/integration/payload/XItemDesc"
    >
    <xs:include schemaLocation="RIBDate.xsd"/>
    <xs:element name="XItemSupCtyDesc">
    <xs:complexType>
    <xs:sequence>
    I imported both(XItemDesc.xsd + RIBDate.xsd) the xsd to JDev but it still fails.
    Thanks,
    Prantor

    There are known limitations to XSDs with imports and includes.
    Look at metalink and log a SR.
    Oracle support ignores this, but with every SR the pressure is increased...
    (My SR (XSD importing XSD) was classified not as bug but as enhancement request for the next release)

  • How to find PDF files that have other documents bundeled within them?

    Hello guys
    I need help with the following: we have a huge number of PDF files that have other documents imbedded (bundled, attached) in them. If such a document is open in Acrobat, bundled files show up as attachments on the left. Some of those attachements are .mdi files. This is Microsoft Document Images files. Is there a way to flag PDF's that have those .mdi files in them? I need to find them and convert to PDF. If I need to be more descriptive please ask, and thank you in advance for help.

    Preflight is a complex plugin, it's hard to explain how to use it in one forum post. You need to read the documentation carefully.
    There's no pre-built profile for what you want, so you would first create a new Custom Check that compares the MIME type string of embedded files to what you're searching for (not the file extension but the full MIME identifier, which for Office files is a very long string). You would then place that new Custom Check into a new Profile, identifying it as an error condition. Once you've saved the Profile you can run it against a number of files and specify actions to be taken for pass and fail conditions, such as changing the filename or moving to a subfolder.

  • HT204053 I have set up i cloud but my calendars wont sync between MacBook, Ipad and iPhone. Is there a refresh style option or does anyone know what to do to make sure the calendar on my MacBook is the one that the other devices reads. Thanks everyone.

    I have set up i cloud but my calendars wont sync between MacBook, Ipad and iPhone. Is there a refresh style option or does anyone know what to do to make sure the calendar on my MacBook is the one that the other devices reads. Thanks everyone.

    Don't spend a lot of time trying to change it. It's an iCloud problem that's happened before, and when it happened in August it went back to the correct colors in a few days. Just be careful when you add new items to the calendar to use the right calendar (even if the color is wrong), otherwise you'll have things out of synch when the correct colors come back.

  • When i try to synce my iphone the tab that says "other" says it have 7.0 gb on there when i know i dont.but on my iphone it says 2.5 gb

    When i try to synce my iphone the tab that says "other" says it have 7.0 gb on there when i know i dont.but on my iphone it says 2.5 gb

    Hi kman1357,
    Thanks for your reply.  I'm sorry for the confusion.  The excerpt provided wasn't meant to address how to remove the "Other" data, but the linked article does have those instructions:
    iOS: 'Not enough free space' alert when trying to sync
    http://support.apple.com/kb/ts1503
    Resolution
    Try disconnecting and reconnecting your device, then syncing again to solve this issue.
    Orphaned files may remain on your iOS device if it is physically disconnected while syncing music, podcasts, videos, or photos. This can prevent iTunes from syncing the iOS device on subsequent sync sessions. When this happens, the Capacity indicator in iTunes may report a large amount of "Other" disk usage for the iOS device. To resolve this issue:
    Turn off the music or photo sync option in iTunes for the device.
    Click Apply to sync the changes to the device.
    Turn the music and photo sync options for the device on again.
    Click Apply again to try to sync the device to iTunes.
    If the 'Not enough free space' alert appears, continue to step 5.
    Turn off the automatic syncing functions for the iOS device. To do this:
    Select the iOS device from the iTunes window and click the Summary tab.
    Deselect "Automatically sync when this device is connected" and select the "Sync only checked songs and videos" checkbox.
    Click Apply to sync the changes to the device.
    Reduce the amount of data that is being synced to the device and resync the device. For example, if syncing your Music library exceeds the memory capacity of the device, choose "Selected playlists" to transfer rather than "All songs and playlists" under the Music tab in iTunes.
    If the 'Not enough free space' alert appears, continue to step 6.
    Restore using iTunes.
    If that does not help, due to the nature of your issue you may have more success using another one of Apple's support resources:
    http://www.apple.com/support/contact/
    Take care,
    - Ari

  • I can't download Ikea 3D kitchen planner.  It's really frustrating - a message is appearing on my mac book pro that I ned to get info and check that various files are unlocked.  I've checked that all other requirements are fulfilled, still won't download

    I can't download Ikea 3D kitchen planner.  It's really frustrating - a message is appearing on my mac book pro that I ned to get info and check that various files are unlocked.  I've checked that all other requirements are fulfilled, still won't download.  Any help very gratefully received.  Thank you.

    Hi, I'm not really very good with computers and am having the same problems when trying to install the Ikea 3D kitchen planner, please could you take me through the steps?
    1. Download (save) the disk image file 2020PluginInstaller.dmg
    I double click on the link which says "Install 3D Planner"
    I agree to the t&cs
    A file downloads to my download folder called 2020PluginInstaller_IKEA.dmg
    2. Mount the disk image (open/run the downloaded file) if not mounted automatically
    I double click on the downloaded file
    3. Find the 2020PluginInstaller window (might be behind the window on top)
    A small window opens up with a lego brick called 2020PluginInstaller_IKEA.dmg and a folder called Internet plug ins.  I highlight the lego brick and do File, Get info and unlock it
    4. Drag the lego piece to the folder (if you do not have admin privileges you will be prompted to authenticate)
    I do this and put in a password to authenticate
    5. Restart the browser (it is not enough to close the browser window, you need to restart the browser
    application)
    I've tried restarting Safari, I've tried re-starting the computer
    6. Access the same link and you will now see the Start button and be able to start planning your room!"
    When I go back to the IKEA kitchen planner I don't see a start button, I just see the exact same screen as before prompting me to install the 3D planner
    Please can you help?

  • HT4972 I cannot find software update under general.  What does that mean,other than I am goofy?

    I cannot find software update under general. What does that mean,other than I am goofy?

    IOS 4 do not have Settings>General>Software Update.
    You have to connect your iPad to iTune (computer) and Check for Updates.
    Backup before you proceed with update.
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%201/e0f22e92de98ebae10e 3fd537c16619e.jpg

  • I have 22 gb of space being used that says other?

    I have 22gb of space used that says other on my macbook air. I got rid of old apps, downloads etc. What is this? ughh very frustrating!!! help please

    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    If you're using Time Machine to back up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of files you've recently deleted. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as "Backups." The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself.
    To locate large files, you can use Spotlight. That method may not find large folders that contain a lot of small files.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning your files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

Maybe you are looking for

  • How can I set up a 2 column layout in LiveCycle?

    Hi, I'm new to working with LiveCycle Designer. I'm using version 10.4, the OEM version bundled with SAP. Aside from being quite buggy, the capabilities seem pretty similar to LiveCycle Designer ES4, which I downloaded in a trial version. All of whic

  • Embedded PDF files do not show in Internet Explorer 11

    Hi, We have several machines that cannot show embedded pdf files in Internet Explorer 11 with Adobe Reader as default pdf reader. Example from one pc: OS: Windows 7 Enterprise SP1 x64 – all updates applied. IE 11 version: 11.0.9600.17239. Update Vers

  • I dropped my iPod 5 in the snow

    Today, I dropped my iPod in the snow and now it's stuck in headphone mode. I can't hear anything unless my headphones are plugged in, did I ruin it?

  • Upgrade to version 4.3 - experiencing battery dying at rapid pace

    A few das ago I accepted the Verizon update to Android version 4.3 on my Note II.  I am now experiencing battery drainage at a rapid pace.  For example, After 3 hours of light use the battery is at 75%.  This is leading to the battery needed charged

  • BEx Questions

    Hello Everyone, I have few questions related to BEx . 1. Can we use a function module in BEx so that ABAP code can be called while executing Bex query/report in BEx Analyzer. 2. Can someone tell me how to use multiple structures / variables in query