Posted by mindseye in SWF Studio V3 on Jan 21 2008, 09:10 pm

First off sorry.. i'am a designer n "wanna-b" developer.. but what i am trying to do is create a var from the "getURL method so i can use a if cond statement to see if its on the rite site.. sorry i am still trying to figure out the trace in swf studio.. so i wrote my code like this....

ssCore.Browser.getURL({}, {callback:onComplete});
function onComplete(return_obj, callback_obj, error_obj)
{
   ssCore.App.showMsgBox({prompt:return_obj + "," });
}


this was just done to see if i'am gettin the url..
what i keep gettin is [object Browser_getURL_OUT],
any help would be great
regards


Posted by northcode in SWF Studio V3 on Jan 21 2008, 10:19 pm

This will work better...

ssCore.App.showMsgBox({prompt: return_obj.result});

Since you're an self-professed newbie, that gives you the URL of the embedded browser. Is that what you're after?


Posted by mindseye in SWF Studio V3 on Jan 24 2008, 12:56 pm

thanks tim
yes that was what i was trying to do.. and i did use the code pryor, as you wrote it in your reply... my issue was my code just didnt wait long enough for the correct responce.. async vs sync.. my bad... ty for the prompt responce.
regards
ray