A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [RESOLVED] relative path from html rather that swf when embedding

Hybrid View

  1. #1
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    You can try using the full URL: http://,,,,
    - The right of the People to create Flash movies shall not be infringed. -

  2. #2
    Junior Member
    Join Date
    Nov 2008
    Posts
    3
    Using the full path is not an option in this case. As the software may be deployed across multiple domains. Neither is using flashvars.

    Editing the fla for every site should be avoidable.

  3. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    3
    Found out the problem!!

    The problem is in the html embed. You have to add an extra param with the base dir where your swf is located. this has fixed all my references that were broken.

    for instance i would put in my base param the value "/flash/"

    this will set the base dir as my flash folder from server root without having to s use the full path "http://www.blahdomain.com/flash/".


    from adobe livedocs

    http://livedocs.adobe.com/flash/9.0/...1af6-7ba7.html

    (under "base")

    "
    Value

    base directory or URL

    Description

    (Optional) Specifies the base directory or URL used to resolve all relative path statements in the SWF file. This attribute is helpful when you keep SWF files in a different folder from your other files.
    "

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center