Referencing external files from flash in Dw

I am working on a web page that has an embedded .swf, the
flash movie reads an xml file which describes some photos and then
displays a slide show with the photos and their captions. It works
fine when I play .swf in Dw, but when I preview it in Firefox
within Dw, it doesn't work, i.e. just a blank area. When I open the
.swf file with firefox in the directory where I first created it,
it works fine in the browser. However, when I try to open the file
in the Dw site with Firefox it doesn't open.. The referencing used
in the Dw copy is "/flash files/XML/slideshow1.xml" and the
reference to the pictures in the XML file is /flash
files/mainslideshow/filename.jpg
I don't understand why it works in Dw but not Firefox. This
has been "bugging" me for a couple of days now so any help would be
greatly appreciated. Thanks

eizzor wrote:
> bregent thanks for the reply. No all the files are
within the Dw site. The site structure is:
> Site
> Css
> flash files
> .fla
> .swf
> XML
> .xml
> mainslideshow
> .jpg
Not that I actually know what is going on here, but I do
notice that you
are using spaces in folder names - "flash files".
Never a good idea.
Harvey

Similar Messages

  • Link a pdf file from flash for download?

    I want to know how to link a pdf file from flash and make it availble for download?

    that was fast
    i know how to link to another page, using get url. would it do the same way with a pdf?
    And also how do i get flash to force a download box, that will appear in front of the flash movie and prompt the user to download the file.
    Thanks
    Jared Williams
    Art Director
    Mindpro Multimedia Studio
    (246) 425-3598
    (246) 263-1931
    [email protected]
    www.mindprostudio.com

  • Is it possible to run a command prompt(or DOS Command) through flash and run a Activex(.OCX) file from flash

    Hi all
        Is it possible to run a command prompt(or DOS Command) through flash.If it possible please guide me to do that throug AS 3.0.
       and
    Is it Possible to run a activex (.OCX) file from flash. If it is so please guide me the way to do it
    Thanks and Advance
    Sankar.M.S

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Cannot import swf/air file from flash catalyst

    Cannot import swf/air file from flash catalyst, states error in code, there is nothing in the properties panel.

    Hi Kristen
    Have you tried using ActionScript 2? You might give that a go
    and see if things improve.
    Just a thought... Rick

  • Export version 10 SWF file from Flash CC

    Hello,
    I am trying to work out how to export a version 10 SWF file from Flash CC. Every media agency I am supplying files to requires version 10 but I can only export a Flash Player 10.3 file which creates a version 12 SWF.
    Does anyone have any advice other than buying an odler version of Flash....
    Thanks for your time.
    Keith

    you can use flash cs 6.  it's part of your cc subscription.
    or you can add fp 10 to flash cc.  here's a walk-through using fp 9: http://forums.adobe.com/message/5511080#5511080

  • Trying to link to a zip file from flash

    I am trying to link to a zip file from flash for my users to
    download. I can link to the file fine using get URL. The problem is
    on a PC I am having trouble with the users settings for blocking
    pop ups. If the user clicks one of the two links it works, if they
    then click the other, it blocks the download from happening?
    Works perfect on a MAC.
    Any Suggestions would be greatly appreciated.
    Thanks

    What does your code look like?
    getURL("/yourfile.zip") shouldn't create any pop-ups
    Dan Mode
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    "kquinn5000" <[email protected]> wrote in
    message
    news:e9ge88$dpo$[email protected]..
    >I am trying to link to a zip file from flash for my users
    to download. I
    >can
    > link to the file fine using get URL. The problem is on a
    PC I am having
    > trouble
    > with the users settings for blocking pop ups. If the
    user clicks one of
    > the two
    > links it works, if they then click the other, it blocks
    the download from
    > happening?
    > Works perfect on a MAC.
    >
    >
    > Any Suggestions would be greatly appreciated.
    > Thanks
    >

  • Writing Xml file from Flash

    hi all
    Is there a way to write and modify xml file from flash
    without using asp or php.
    if so how can be it done.
    thanks bye.

    no good champ.
    you need a serverside script.
    Dan Mode
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    "Darr_darshan" <[email protected]> wrote in
    message
    news:e6mgpu$bun$[email protected]..
    > hi all
    >
    > Is there a way to write and modify xml file from flash
    without using asp
    > or php.
    > if so how can be it done.
    >
    > thanks bye.
    >
    >

  • Music files from flash drive to new itunes

    ive been slowly transfering music from my old PC to a music library on my MBP.  the weird thing is that on a fair number of folders, when they transfer, some songs seem to get left behind and not copied.  i'll have an album with 11 tracks, and move it as usual to the flash drive, then when its gets loaded onto the mac three or four of them are gone.  i must be really behind the times, because i cant fathom the file allocations that itunes uses.  ill load the batman begins soundtrack folder into the music folder, and it will split it into to two separate files - one with the original folder title and another with the artist listed and consolidiating them manually doesnt work.  it just resplits the **** thing - am i still to PC-if-fied?

    andyrh68 wrote:
    my itunes library information has gone for good
    ... unless you have a backup copy of your *iTunes library file*. do you use time machine or any other means of backing up ?
    What is the easiest way to link the now newly installed itunes to these external files?
    if the answer to above question is no, you will have to start from scratch, i.e. no playcounts, ratings, playlists, etc. from your old library will be there.
    assuming you have *copy files to ... when adding to library* checked in preferences > advanced, option-drag the folder containing your media files into an open iTunes window. iTunes will index the path to the location of the original files, but won't copy them physically.
    btw, pointing *iTunes media folder location* to another spot will only tell iTunes where to put newly added content, not where the current content is.
    JGG

  • FAQ: SWF's and loading external files in Flash Catalyst

    How do I make the images in my Flash Catalyst project external to the published SWF?
    You can choose whether images are embedded in your Flash Catalyst SWF, or loaded dynamically; this can help to keep your SWF's small. Simply right-click an image and chose "Externalize Image".
    Answered by: Adam Cath.
    See entire discussion.
    How do I make the SWF I imported to Flash Catalyst load external files?
    When importing a SWF, Flash Catalyst only pulls the SWF asset into your project. Many SWF's, such as slideshows and media players, rely on external data files, such as configuration files or media assets. If you would like to use such a SWF in Catalyst, then you will have to place these external resources into your Catalyst project as well as importing the SWF.
    Let's assume you have a SWF source folder that contains your SWF file and all of the external files it needs. You can open the SWF file from this folder and it works fine. But, if you import the SWF into Catalyst, the Catalyst project doesn't display it correctly because it can't load the external files. Here's what you do:
    1. Open your swf source folder, and copy all of the files/folders there except the SWF you imported.
    2. In Catalyst, Run/Preview your project (Ctl/Cmd-Enter)
    2. Note the file path to Main.html in your browser
    3. In your OS, open the folder that contains /bin-debug/Main.html from above
    4. Open the "src" folder
    5. Paste all of the files from step 1 into the src folder.
    6. Catalyst won't pick up that your project changed, so tweak it a bit (add a Rectangle), and save it.
    7. Run your project. If it doesn't work, try closing and reopening your project and running again.
    For an example, check out: Using an XML-driven SWF in Catalyst to create a slideshow.
    See entire discussion.
    Answered by: Bear Travis

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • Loading External Files From SWF Root

    Hi All,
    I do not know anything about flash.  I have been provided with some flash movies/apps to include in a web design that I am doing.  These flash movies load an external xml file.
    This is failing.
    The problem appears to be that when the flash movie goes to load the file using a relative directory path, it starts at the very root of the web directory, where the main jsp file is, instead of the where the .swf file is located.
    For example, say my website is www.mywebsite.com/mysite.jsp and I have stored the flash in a directory similar to /mywebsite.com/flash/movie1/movie1.swf.
    When the movie goes to play, I am getting a 404 error in firebug because the flash movie is trying to load the external xml from /mywebsite.com/file.xml instead of /mywebsite.com/flash/movie1/file.xml.
    How can this be corrected?  Is there a way for the flash application to use the .swf root directory instead of the .jsp file root directory?
    I hope this made sense.  Good chance it doesn't. 

    When you load the Flash file into a web page, the web page becomes its frame of reference for loading other content.  So to fix this situation you should either relocate things to where the Flash file lives in the same directory as the web page that loads it, or retarget the files that the Flash file is loading as if it were in the web page's folder (using absolute paths should guarantee correct targeting).

  • Link to external URL from flash site

    Is there any way to link to an external URL from your flash
    site without having the flashplayer prompt you to change your
    settings and allow access to that page? (this only applies to swfs
    viewed through a browser)
    the only way around this i've found isn't very useful - you
    have to put a small xml file on the host server where the page you
    want to link to is located. i seriously doubt every site you want
    to link to will allow you to put an xml file on their host server
    just so you can link to their page. the code in the xml file just
    tells flashplayer that the site you are trying to access is safe.
    it's called crossdomain.xml
    anyone have an answer?
    thanks!

    This question was answered by kglad, on Saturday, August 11,
    2007 10:13 AM
    Answer
    no it doesn't. getURL() causes no security issues unless you
    try to open the html locally and (try to) access something on the
    internet.
    unless your "flash site" is your local computer there is no
    security issue. if your local computer is an internet server, you
    just need to set the security settings for your local file and give
    it permission to access the internet zone.

  • How can I write to a (external)file from a stored procedure

    I want to write some data to a (external) file. I have it working with the function UTL_FILE.
    My problem is I want to write to a file on a mapped drive (so a drive on a different machine). This is not working.
    Does anyone know a way to build this.
    Please send your responses to [email protected]
    Many thanks,
    Alex Nagtegaal

    an extraction out of expert one-on-one from Thomas Kyte
    <quote>
    when an oracle istance is created the services that support it are setup to 'log on as' the system (or operating system) account, this account has very few privileges and no acces to Window NT Domains. To access another Windows NT machine the OracleServiceXXXX must be setup to logon to the appropriate Windows NT Domain as a user who has acces to the required location for UTL_FILE.
    To change the default logon for the Oracle services go to (in Windows NT):
    Control Panel | Services | OracleServiceXXXX | startup | log on as; (where XXXX is the instance name)
    In Windows 2000, this would be:
    Control Panel | Administrative Tools | Services | OracleServiceXXX | Properties | Log on tab; (again XXXX is the instance name)
    Choose the This Account radio button, and then complete the appropriate domain login information. ONce the services have been setup as a user with the appropriate privileges, ther are two options dfor setting UTL_FILE_DIR:
    * Mapped Dirve: To use a mapped drive, the user that the service starts as must have setup a drive to match UTL_FILE_DIR and be logged onto the server when UTL_FILE is in use.
    * Universal Naming Convention: UNC is preferable to Mapped Drives because it does not require anyone to be logged on and utl_file_dir should be set to a name in the form \\<machine name>\<share name>\<path>
    You will of course need to stop and restart Oracle after changing the properties of the service.
    <\quote>
    I want to write some data to a (external) file. I have it working with the function UTL_FILE.
    My problem is I want to write to a file on a mapped drive (so a drive on a different machine). This is not working.
    Does anyone know a way to build this.
    Please send your responses to [email protected]
    Many thanks,
    Alex Nagtegaal

  • Error copying files from flash drive

    I'm not entirely sure this is a Windows compatibility problem, but it seems plausible. We have an external USB drive that is used to carry files back and forth between home, where we have a MacBook, and my husband's job, where he has a Windows machine. He has had a problem on several occasions copying files between the external drive and the hard drive. If he copies an entire folder, the copy will sometimes throw an error and then abort the copy process. This then results in anything that previously existed in the target folder and didn't get copied being completely wiped out (instead of them just being left there).
    I was able to replicate this behavior for the local copy of the files that are now on our hard drive, just trying to copy to another folder on the hard drive. The error message I saw was a "File in Use" error on a file that was definitely not open in any application, and then the aborted copy process (and the complete erasure of any files that previously were there). It was intermittent: I had a successful copy-and-paste of the folder once, and another that displayed the error behavior.
    Other info:
    I can copy using "cp -r" on the command line, this only happens with the Finder.
    The file that I saw the "File in Use" error on has an extended attribute set (I noticed this due to the "@" sign at the end of the permissions). When I look at it, it is a com.apple.FinderInfo attribute but I don't know what the values/fields mean.
    The files all show the username & group name from the Windows system my husband uses at work (we haven't set any groups at home -- the files show "staff" as the group so I presume this is from the Windows system).
    Some of the files were originally created on the Windows machine, others originally on the Mac machine.
    The external hard drive is formatted as MS-DOS (FAT32).
    I'm thinking there is some permissions issue between the Mac attributes and the Windows attributes that is causing the copy to fail (ungracefully) but that's a theory and I don't know how to fix it. Thanks for the help.

    I never did figure out why the files wouldn't copy over. Eventually, I deleted them and reformatted the drive. I don't know if that "fixed" anything, and I have not tried to copy such large files from the Mac to drive or vice-versa, but the drive seems to be fine. So, the problem and the solution remain a mystery!

  • How to call external files from java?

    How to call external files in java. For example how to call a *.pdf file to open in its default editor(say Acrobat), or a *.html file to open in the default browser or a *.txt file in a notepad etc..,
    In my program i have *.chm (Compiled Windows HTML Help) help file. how to open it in its default editor it?

    Jayarathina_Madharasan wrote:
    no one answered my questionHi what wrong did i do...basically insulted all the volunteers here who took the time to consider your question and try to offer you help. Other than that, you did nothing wrong.
    From JavaRanch :
    And even if an answer doesn't solve your problem, even if it should totally miss the point - the best thing to do to motivate others to continue trying to help you is showing respect and gratitude for the investment of time that was put into dealing with your issue.
    Edited by: Encephalopathic on Apr 14, 2008 10:01 AM

  • PRINT PDF FILES FROM FLASH 8 PROJECTOR

    Hi,
    I'm developing a small interactive CD. And i have a section
    were the useres can print a specific pdf document, stored in the
    cd, by clicking a button.
    Can anyone help me on this? Is there a print action in Flash
    8?

    hey cmorrissey!
    I know that i can open the file using fscommand(), but i
    really want to do something diferent.
    Are you certain there is no way to print a file from a flash
    projector?

Maybe you are looking for