homepage Welcome to WebmasterWorld Guest from 107.21.186.38
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library : Charter : Moderators: eelixduppy

Flash and Shockwave Forum

    
Flash getURL() baseURL?
Is there one?
cabbagehead




msg:3035826
 5:03 am on Aug 6, 2006 (gmt 0)

I inherited a project from someone and naturally, there's no documentation. Anyway, when I run the flash navigation bar from my Windows workstation is uses relative pages. But as soon as I try to run it from my Linux server it uses an abo#*$!e path (http://www.xyz.com/), which is screwing up the QA env, since it keeps navigating over to the production environment.

I've stared at the Flash file for over an hour. All I see are calls like getURL("/section/") ... so I have no idea where the base url (http://www.xyz.com/) is coming from. Why would it try to go to [xyz.com...] when its on the Linux env? Is there some sort of baseURL parameter you can set on Flash that I'm not aware of?

Note - this happens even when I call the swf file directly in the browser (no HTML context).

Thanks.

 

dareRock




msg:3046970
 2:25 pm on Aug 15, 2006 (gmt 0)

if you change getURL("/section/") to getURL("section/") - remove the first slash, it should then be relative.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved