Can I make path from images folder to swf folder?

I am using Flash CS3 and Actionscript 2.0.
I want to make a photo.jpg that is in my images folder load into a swf that is in a swf folder. It works fine when I have the photo.jpg in the same folder as the swf. But it does not work when I have the photo.jpg in a different folder.
What must I do to the AS2 to make this happen?
I really do apprecaite an anwer to resolve this issue.
Here is the path:
mcLoader.loadClip("swf/images/photo1.jpg",mcHolder);

When you load those swf's into the main swf, they now live where it lives, and because the main swf is loaded into the html page, that's where it lives (whether it is in that folder in real life or not).  The files are essentially working someplace different from where they live.
You don't have to move anything, but you do have to target everything properly, and for swf's that get placed in an html-based home, that html-based home defines root of the relative path the swf's need to use.
I believe you have an html that embeds an swf file in the same folder, and that swf file loads swf files from a subfolder, let's say it's called swfFolder.  And I believe the images also lie in a parallel folder to the swf's subfolder.  Then if those subfolder swf's load images from that images folder, call it imagesFolder,, then the path in those swf's to target the images would change from ../imagesFolder/  to imagesFolder/ because when they are loaded into the main swf which is loaded into the html page's folder, they essentially exist in the html page's folder

Similar Messages

  • How can i make still from 16:9 film tot bitmap without distortion?

    how can I make stills from my 16:9 movie to bitmap without having distortion?
    ! work with Adobe Premiere Elements 10

    Bernard Bussemaker
    If you really have a 720 x 576 Standard Widescreen Video 16:9 (PAR = 1.4587) and you want a jpg still capture from it using Premiere Elements 10, then I suggest the following:
    Premiere Elements 10
    Project Preset = PAL DV Widescreen
    Place the Timeline Indicator to the frame that you want as a jpg image.
    Go to
    Share
    Computer
    Image
    and there set Presets = DV PAL SD (it is long story, but you do not have much choice at that level), so
    you could experiment with JPEG - HD 1920 x 1080 but no sure how that is going to look going from 720 x 576 to 1920 x 1080, so
    Under the Advanced Button/Video Tab of that preset, set
    Frame Width 1024 or 1050 pixels
    Frame Width 576 pixels
    Aspect = Square (1.0)
    ("or" relates to....if you just want a 16:9 jpg still, then 1024 will do fine. If you want a 16:9 jpg still that will present in a Premiere Elements project to fill the Edit Mode monitor, then 1050.
    1024 x 576 is the square pixel version of the non square pixel version 720 x 576 widescreen which is stretched for display after encoding.
    Image can resize downward if necessary. More details on that later.)
    If the details of what I have suggested are too much, then just try the suggestion step by step and then  let us know if it works for you. If any questions or you need clarification on anything written, please do not hesitate to ask.
    If you are really dealing with a 720 x 576 4:3 standard video, we can go through that next.
    But the answers are in the details.
    Thanks.
    ATR

  • Can I make a disk image of my macbook pro for backup?

    Can I make a disk image of my macbook pro for backup? I'm using Lion, have 8 g memory and 500 HDD.

    Clone Lion using Restore Option of Disk Utility
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Select Disk Utility from the main menu then press the Continue button.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    DU will also clone the Recovery HD partition automatically at the end of the process.

  • HT1364 I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanen

    I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanent?  I have an older machine with Windows XP.

    I don't believe mounting the hard drive should be necessary, unless you have several external drives and want your computer to recognise them as folders, rather than drives. I've never had to mount a hard drive, ever. If you don't know how to do it, then it shouldn't be necessary now.
    Try this:
    Prepare iTunes so that it can see the external drive.
    Make a note of which drive-letter the external drive has been allocated. (Look in Windows Exploer)
    Look at the file location for a song. Make sure it plays (and therefore that iTunes has found it). Highlight it and select File/Get Info/Summary>Where: and make a note of the drive letter for that song.
    Close and shut down the computer.
    The next time you turn the computer on again, connect the external drive
    Before you start iTunes - check the external drive in Windows Explorer. Is it ready, does it have the same drive-letter that it had last time? Can you go into the drive and see the files on it?
    Once you can, start iTunes. (If the drive lettter has changed, you need to work out why before going any further.)
    If iTunes fails to find your external drive, you need to check where iTunes is looking for your Library.
    Select the same song you checked before (presumably iTunes can no longer find it). Follow the procedure for locating it. You should be able to see where iTunes thinks the file is. It's the drive that counts. Which drive letter is iTunes looking at? Is it the same one that it was previously (which should also be the same one that the drive has now).
    What happens, which step do you have problems with?
    Message was edited by: the fiend

  • In iOS 7 you can still make calls from the locked screen. Just swipe the missed call numbers to the right. Is this a bug?

    In iOS 7 you can still make calls from the locked screen. Just swipe the missed call numbers to the right. Is this a bug?

    How is it a security breach? You're free to turn off lock screen notifications for the phone app so that no one can do that.... even if they can, they can only call the number that called you... nothing else. (well, except for 900 or whatever the emergency services number is where you are, but that's required by law).

  • How can i copy email from a folder within mail to an external device?

    How can i copy email from a folder within mail to an external device?

    In snow lepard you:
    1) Click the folder you want to export (e.g. Work mail)
    2) Go to "Mailbox" then click "Archive Mailbox"
    3) Then choose the pace you want to Archive it to
    Then it will create a file that looks like this:
    Then that is that mailbox.
    I belive its the same with lion

  • How can I make albums from events then delete events without deleting the album?

    Hey, just need a little help!
    How can I make albums from events then delete events without deleting the album?
    Many thanks

    You'll be more likely to get help with this if you ask in the iPhoto forum:
    https://discussions.apple.com/community/ilife/iphoto
    You'll need to tell people what version of iPhoto you have so they can give you correct advice.
    Regards.

  • Once a older version of a program is uninstalled on a mac, can they be deleted from apps folder?

    Once a older version of a program is uninstalled on a mac, can they be deleted from apps folder?

    Did you use the Migration Assistant to help set up the new iMac using some of the files in the older PC? Some likely won't mean much, unless you have applications that can use or convert them. There's also a way to use the software Time Machine to import data files from an external or another computer, so you may have used that, too.
    Hopefully someone with experience in a similar issue will reply...
    Good luck & happy computing!

  • HT3702 I can't make purchase from iTunes

    I can't make purchase from iTunes

    I have the same problem. I go to the iTunes from iTunes on my Macbook Air. Find the music I want to buy.  Click Buy.  I get a message that flashes at the top of the screen that says "Purchasing". Then the message goes away. No purchase. No download. How do I fix this? There are some new albums I want to buy

  • I can´t connect Facetime calls from my Imac or Macbook pro, i can only make it from my iphone 4. why is that? in my imac and macbook pro i have OS X 10.8.5

    I can´t connect Facetime calls from my Imac or Macbook pro, i can only make it from my iphone 4. why is that? in my imac and macbook pro i have OS X 10.8.5

    FaceTime for Mac: Troubleshooting FaceTime - Apple Support

  • I Forget my Ipad Paccode and now ipad is disabled and i can"t make Restore From ITunes what  should i do Please ?

    I Foret my Ipad Paccode and now ipad is disabled and i can"t make Restore From ITunes what  should i do Please ?

    Place the Device into Recovery mode...
    http://support.apple.com/kb/ht4097
    Note on Recovery Mode.
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most Recent Backup...
    Restore from Backup
    http://support.apple.com/kb/ht1766

  • I can't make calls from my iPhone

    I can't make calls from my iPhone

    Surprise!!!!!! Phone won't make and accept any calls :)))), mine works the same. Soft failure, did everything for 2 weeks.

  • I can't make calls from my iPhone 4. But I can receive calls and browse the Internet on it.

    I can't make calls from my iPhone 4 but I can receive calls and browse Internet.

    Surprise!!!!!! Phone won't make and accept any calls :)))), mine works the same. Soft failure, did everything for 2 weeks.

  • How can I make it put the folder in the current highlighted folder?

    When I am in a sub folder and want to create a new folder I got to File > New Folder and it always create the folder at the route in list view.
    How can I make it put the folder in the current highlighted folder?
    Kevin

    Open the subfolder in it's own window. The window has focus, that's why the new folder is created at its root level.

  • I can't make call from my iPhone 5s

    I can't make call from my iPhone 5s!!!!!I have check my phone chip it's fine..I can check my balance send message and receive call as well and i did even update my software...

    Hi,
    I had the same problem three days ago and now it is solved I was advised to try the following:
    Go to settings - General - Date & Time - switch off the "Set Automatically" option and adjust the time zone manually.
    I hope it works for you.
    iPhone 6, iOS 8.1.1
    Cheers

Maybe you are looking for

  • How do I get Flash to recognize my TextInput from class?

    Hi - I'm trying to write a class for a standard input form. I've got a movieclip in the library and have linked it to this class. (class included below.) This movieclip contains several text inputs which I have declared in my class file. I can get th

  • Request for code !!

    request for code needs a code (which ,copies  the file on your computer (it copies the file to which it will path  in TextBox1) and is pasted file in the folder: C: \ Program Files \ RunerBat \ Backup and needs code ,which when clicked, "button2" ope

  • Wcf web service send port retry?

    We are contacting external wcf web services. We don't control these services and they could be returning an exception for a short while (which is "ok"), so we need to retry for a given period of time, without suspending the orchestration/sendport. It

  • Slow loading Finder in Mavericks?

    I bought the brand new Macbook Pro Retina that came with Mavericks plus I upgraded my old Macbook Pro Retina to Mavericks before my new one came. On both computers I am noticing a few different things that are rather annoying. When attaching document

  • Upgrade from CS4 to CS5 problem

    I purchased and attempted to download the Cs5 upgrade last night but now when I go to start CS5 I get the following message: "One or more files in the Adobe Application Support folder, necessary for running Photoshop, are missing.  Please run the Pho