A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Base Path and [[IMPORT]] weird issue

  1. #1
    Game Developer
    Join Date
    Apr 2001
    Location
    Canada
    Posts
    292

    Cool Base Path and [[IMPORT]] weird issue

    I have a swf located at :

    http://www.mydomain.com

    I set my base path to some other location such as :

    http://www.myOtherDomain.com/folder/

    and then from within my swf I load in another swf and I see it trying to get it from :

    http://www.mydomain.com/[[IMPORT]]/myOtherDomain.com/folder/mySwf.swf

    What is going on here? I was hoping when my main swf tried to load anotehr swf, it just used my basepath and append the swf name... such as :

    http://www.myOtherDomain.com/folder/mySwf.swf

    Any idea what I am missing?

    Thanks!

  2. #2
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    base is used for relative path resolution. It's purpose is for when you have swf files in a different directory than your html but on the same domain.

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