Flash SWF weirdness

Hi,
I am having a challenge trying to get several SWFs to load
XML directed content from a separate directory than the HTML
container the files are placed in. The SWFs, the XML, and the
content are all in their own directory.
Each SWF has it's own directory for itself, the XML doc and
the Content.
The HTML Document has all the SWFs contained with itself from
the their individual directories, but is resting on the main
server.
I am doing it this way so I can keep the server neat
otherwise it is hard to follow all the individual SWFs and content.
Is there any reason for this SWF behavior?
I did test the fact that the files do work when everything is
placed open on the server.
I am working in Dreamweaver CS3.
Thank you for any help,
Joseph Wraith

>> so even though the XML has nothing to do with the
HTML
>> other than the SWF. It is still relative to the HTML
and not
>> the SWF which is calling it?
> Yes, that is the case sometimes. I don't remember
exactly
> the rules for it.
Colin nailed it. When a SWF file loads an external resource
using
relative paths, that relative path takes its point of view
from the HTML
document that contains the SWF. This is true of any file the
SWF loads --
XML, CSS, images, audio, etc. -- except for video. In my
experience, video
is the only SWF-requested file that takes its point of view
from the SWF
itself.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Embedding Flash SWF Skin in External Site

    I posted this under the Flash forum as well. My Flash video
    displays correctly on my server, however, if I try embedding my
    Flash SWF file on an external site – just as you would with
    YouTube – the skin does not transfer. The video is the only
    thing that displays.
    I understand when using components that 2 SWF files are
    created when published – SO with that said, is there an HTML
    embedding technique to display both the video w/ the skin? If not,
    is this something that needs to be corrected within the Flash file.
    Any thoughts?

    I have this in front of the trace:
    myvars.onLoad = function(success){
    When I put in the full URL to the attachment on the Google page (i.e., something similar to "myvars.load("https://sites.google.com/a/..../home/department-sites/sales/variables.txt,");" - instead of just "myvars.load("variables.txt");", it doesn't work. So right now its set to just "variables.txt" and the swf file is in the same root location as the variables.txt file on the Google page. I also have a copy of the variables.txt file in the same local directly in which I am running the flash file for testing. So I think when I run it in debug mode, its referencing the variables.txt file in the local directory, rather than the one stored as an attachment on the Google page.
    That's what seems so weird...it runs locally in debug mode...but not when I embed it on the Google page. I can also get it to work if I explicity define the variables in the flash file, rather than rely on the external text file. That's the only time I can get it to work on the Google page.
    Thank you for your help!

  • Illustrator .swf weirdness in Flex

    This problem only occurs for .swfs that originated as a .ai
    file.
    I have a .swf graphic loaded as a SWFLoader child of a
    UIComponent. When I mouse over the Flash .swf loaded this way, I
    get the behavior you would expect from a graphic child of a
    UIComponent.
    But for .swfs that are published from Flash, but originated
    as .ai files, I get very odd behaviour when I mouse over the
    graphic part of the UIComponent. Instead of being treated as a
    normal child of the UIComponent, I get a mouseout event from the
    UIComponent and I lose all interactivity. The .ai was imported as a
    movie clip, with Flash layers, with the correct frame rate and
    registration point. Furthermore, if I create a hybrid .swf from
    Flash, I only get the weird behaviour from the non-native area of
    the .swf. I'm utterly mystified. Any ideas?

    you can capture keys, search the help files for 'handling
    keyboard events'

  • How can I make hyperlinks work from a Flash/SWF presentation?

    How do you make hyperlinks/buttons work in Flash/SWF Captivate 5.5 presentations? This did not seem to be an issue with Version 4. I cannot publish to video (i.e. mp4) or as an executable file for posting on our internal system. If it cannot be done in Flash/SWF, how else can I get buttons/hyperlinks to work? Thank you.

    Welcome to our community
    Please take a look at the links below. Not only do they answer your question, they are there to help you get the best forum experience.
    Forum Participation Suggestions
    Frequently Encountered issues
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Flash swf that runs on every browser except in Firefox. Can anyone help me please?

    Hello.
    I have an flash swf in a site that runs on every browser except in Firefox. I get an warning telling me that the page requires a newer version of flash player but i already have the 10,0,32,18 and the swf was published for flash player 9.
    Can anyone help me please?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • Need help with importing flash/swf into fireworks???? Is it possible???

    Hi, Is it possible to import a flash/swf file in to
    fireworks... If so... how..????
    Thank You for Your Help...

    can you post your code

  • Importing Flash (.swf) to Keynote

    Hi all,
    I am working in Keynote '08 (4.0.2) and have Quicktime 7.4.1 (14) installed. I need to import a Flash (.swf) file and play it in Keynote. Even though the online help says this: "You can also add video or Flash movies that play within a slide. For Flash to work with QuickTime 7.1.3 and later, choose Apple menu > System Preferences, click QuickTime, click Advanced, and select Enable Flash." Keynote 4.0.2 does not accept .swf files (they are grayed out) and Quicktime 7.4.1 cannot play an .swf (This is not a movie file). Should I unistall QT 7.4.1 and install a previous QT version? Can Apple fix this problem? Any other suggestions? Thanks

    Thanks for your quick response. Perian helps with Flash video but as far as I can tell it does not help with swf format. I have an actionscript loaded flash file that cannot be converted to MPEG-4. If you are indeed correct and Apple no longer supports swf with QT then I want my money back for iWork. It clearly states in their manual/help that users can import swf files and play them in Keynote. What a rip-off.
    Is there a way to unistall QT 7.4.5?
    Thanks.

  • Firefox Embedded Flash swf not shown in asynchronous desktop

    Hi all,
    in a jsp I embed a binary property of a content node that includes a flash .swf file. All that in an asynchronous desktop, using Firefox.
    I use the follwing code:
    "<embed scale="exactfit" quality="high" menu="false" width="600" height="400" hswLiveConnect="false" src="<%=myPropertyUrl%>">
    When the page is loaded by "normal" browser request, the flash animation inside the jsp renders as expected. After click on an url (<a> ....</a>) inside the same JSP the portlet content refreshes (via Ajax request), only the flash disappears. After F5 it's back agian.
    The problem does not exist with IE!
    How do i need to handle this for Firefox?
    Thanks for help.

    Firefox uses the object if there isn't a classid to specify an ActiveX control for IE.<br />
    You didn't specify such a classid (classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"), so there is actually no need for the embed in this case.<br />
    As jscher2000 posted above, an object tag only works in Firefox if there is a data attribute present (copy of the movie param) to specify the Flash file and a possible MIME type.
    <pre><nowiki><object style="width:420px;height:272px" data="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" type="application/x-shockwave-flash" >
    <param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" />
    <param name="flashvars" value="mode=mini&amp;backgroundColor=%23222222&amp;documentId=121102153057-a8027186d32d406698ae9cd6ce0305ed" />
    <param name="allowfullscreen" value="true"/>
    <param name="menu" value="false"/>
    <param name="wmode" value="transparent"/>
    </object></nowiki></pre>

  • How to set up one-button embed-hotlinking for Flash SWF?

    Hello,
    I'm publishing a webcomic in Flash.swf format and I'd like to make it as easy as possible for people to grab my comic and put it on their website. How can I set up one-button hot-linking that will automagically provide the code so that they can easily drop it into their website, similar to the way YouTube does with video?
    Thanks,
    Tom

    you can use the following.  the bolded lines require you to use appropriate values:
        <div id="flashContent">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="yourswfwidth" height="yourswfheight" id="swfname" align="middle">
                    <param name="movie" value="http://www.yourdomain.com/path/swfname.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="window" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="http://www.yourdomain.com/path/swfname.swf" width="yourswfwidth" height="yourswfheight">
                        <param name="movie" value="http://www.yourdomain.com/path/swfname.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#ffffff" />
                        <param name="play" value="true" />
                        <param name="loop" value="true" />
                        <param name="wmode" value="window" />
                        <param name="scale" value="showall" />
                        <param name="menu" value="true" />
                        <param name="devicefont" value="false" />
                        <param name="salign" value="" />
                        <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflash">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </div>

  • New to flash, swf loaded while changing size

    i'm trying to create a button that will replace the current
    swf with another and i want the size to change between the various
    sizes of each page. i'm currently using the following code in the
    action inspector:
    on(release){loadMovieNum("myfilename.swf",0);
    i know there has to be a simple way to do this! a very
    grateful thanks to anyone who tries to help!

A: new to flash, swf loaded while changing size

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

  • Get Url doesnt work in my flash .swf page

    Get url doesnt work in my flash .swf page
    www.wackyworld.biz/north.swf
    click on the building is supposed to go to a site. I made all the buildings symbols and when i hit f9 the actions window opens i put
    on bowling building
    on (Release)
    get URL (http://wackyworld.biz/bowling/bowling.html", "_self ") ;
    why when i click on the buildings they dont work? can someone download the file and convert it to fla and tell me what im doing wrong?
    Brent
    Message was edited by: crashncrazy

    i did click on the button and then put in the code.
    on (release)
         "getURL" (http://www.wackyworld.biz/bowling/bowling.html, "_self");
    like this?
    if so this is what i have. still no way to click on button on site

  • Flash SWF Performance Testing and Data

    Looking for some recommendations on tools that can be used independent of the source (that is just on the swf) to check for Frames Per Second, total size and how often the movie loops.
    Needed for Flash Banner ad quality assurance.

    The need was solved by writing my own AIR app to read the SWF file header.
    http://www.lonhosford.com/lonblog/2011/01/17/read-flash-swf-header-in-air-with-parsley-fra mework/
    You can drag a swf file and see the header data. As well you can load a swf from the web.
    Enjoy.

  • Horizontally centering flash .swf" and disallowing horizontal scroll??

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    I made my website in Flash Catalyst, and I made the width 1700px and the height 1200px. I made the width large because I wanted it to look good in the largest screen resolutions, but my biggest problem now that I've finished making the website is putting it up. Simply embedding it makes it scroll horizontally all the way to 1700px, which isn't good for those with small browsers.
    Originally, I was planning on making the flash file the background in CSS (using body {background: url(FILE.swf) no-repeat #000 top center}) but then I found out you can't put .swf's as backgrounds.
    Basically, I want to know if it's possible to center the .swf horizontally, and then disallow horizontal scrolling. I want to keep vertical scrolling,
    Any help appreciated!

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    Yes, but it introduces other problems. With scrolling disabled, you might not be able to see all the page. I DO NOT recommend what you are trying to do. Flash scaling would most likely give you better results.
    Background images if intended to cover a large area are typically very small images which are repeated to create a pattern. Using one large image will still never cover all the possible screen resolutions or page sizes... for example larger than 1700 or taller than 1200 pixels.
    Centering requires a set dimension, like 1700 so auto set margins would center it, but it still may not cover 100% as using a width of 100% would.
    That being said, turn off horizontal scroll and leave vert on with:
    overflow-y: auto !important;
    overflow-x: hidden !important
    then you'll need to use z-indexing to lay anything else over the top of you background .swf
    Here a sample page that should get you going... dimensions are smaller so you can see how it works... the principle is the same.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>No Scroll</title>
    <style type="text/css">
    <!--
    body, html {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    overflow-y: auto !important;
    overflow-x: hidden !important
    #main_container {
    position: relative;
    width: 800px;
    height:800px;
    background-color:#ff0000;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    #flash {
    position: relative;
    width: 800px;
    height:600px;
    background-color:#cccccc;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    #content {
    position: relative;
    top:-600px;
    width: 400px;
    height:300px;
    background-color:#00ff00;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    z-index: 5;
    -->
    </style>
    </head>
    <body>
    <div id="main_container">
    <div id="flash">
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="overflow" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="overflow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffff00" /><embed src="overflow.swf" quality="high" bgcolor="#ffff00" width="800" height="600" name="overflow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
    </div>
    <div id="content">
    <p align="center">This is the center</p>
    </div>
    </div>
    </body>
    </html>
    Best of luck!
    Adninjastrator

  • Flash SWF file within Swing JFrame

    I was wondering whether its possible to open a Flash swf file within a JFrame
    I am looking for a solution similar to the usage of Flash Activex control in .NET
    thanks in advance
    Vikas

    I have read the forum link and other such entries in this forum. I have found the following:
    1.) JFlash - a java based flash player. https://jflash.dev.java.net/
    Could'nt find the app or the official site
    2.) a few projects on sourceforge.org :
    java flash bridge where you embed the flash inside an Integrated Browser Component
    3.) SWT Flash integration.
    I do not find any of these solutions satisfactory.except the SWT/Flash integration which I havent tried.
    My question is that isnt there an easier and simpler way to :
    Embed Flash into Swing app where actionscript and java can communicate.
    I am aware of Remoting and web services. But It is a desktop app I am talking about.
    Can anyone suggest anything?
    thanks in advance..
    from a very frustrated programmer....

  • Swing and Flash SWF objects

    Is there a way to embed Flash files on a Swing application?
    What I want to do is grab locations of images through the java application and pass it to an SWF file to display an animation.
    If embedding flash in Swing isn't possible, what other options are there in Swing for animation?
    Thanks

    there is one more way to embed flash swf file in swings . ie thru JDIC .
    java desktop integration compnentsMy current favourite way is thru the DJNativeSwing project. I realised it provides a slightly better renderering of components than JDIC, especially for the embedded IExplorer on Windows platforms, and it also has some extra cool features that one can use out of the box, like mixing heavyweight and lightweight containers. And Swing borders even work great.
    ICE

  • Maybe you are looking for

    • SQL Query with MS-Access Database

      Hi, I have linked my oracle database with MS-Access via a DB LINK. i can access the data from MS-ACCESS, but i have a problem that when i specify the column name or define a where clause in my query it gives me the error ORA-00904: invalid identfier

    • Can a Time Capsule hard drive store external memory besides backups (eg. HD Video, iTunes library, ETC.)

      I'm going to get a MacBook Pro soon, and I'm going to get the 256GB Flash Storage, but I will need extra memory, mostly because I edit a lot of HD video. I may store my iTunes library, but I'm not sure on that one (I currently have almost no songs, a

    • VCleared Item also come under Open items list

      Hi Exports   In Vendor Account,after Clearing the transaction with F-43,When displays the balances in vendor account it is not shows as a cleared item but showing as open item with red mark but the account balance is  showing correct,only cleared ite

    • Smart Playlists not working properly

      Have a 5G iPod classic 30gb. I've created some smart playlists, but they're not synching properly. When I go to the playlist and set it to shuffle, each song is coming up as "1 of 1", as if it is a separate playlist... Any suggestions???

    • How we can increase/ decrease the width of a HTML Region.

      Hi, I am having following 2 HTML regions defined. I am using Two Level Tabs with Sidebar Region1 Type - HTML Text Template - Report region with 100% width sequence - 10 column - 2Region2 Type - HTML Text Template - Report region with 100% width seque