TwelvestoneFlash

getURL FF fix not working?


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
Napalm
 
2008-07-29

I have a flash menu that's not working in FF. The getURL fix is not working though.

Please help?

/* GetURL FIX */ var swfUrl:String = _root._url; var lastSlashIndex:Number = swfUrl.lastIndexOf("/"); var pipeIndex:Number = swfUrl.indexOf("|"); var baseUrl:String; if (pipeIndex >= 0) { baseUrl = swfUrl.substring(0, pipeIndex); baseUrl += ":"; } else { baseUrl = ""; } baseUrl += swfUrl.substring(pipeIndex + 1, lastSlashIndex + 1);

/* Button Actions */

movie1.onMouseUp = function() { var targetUrl:String = baseUrl + "index.php?option=com_content&task=blogcategory&id=38&Itemid=95"; getURL(targetUrl, "_self"); }

JLM
 
2008-07-30

use localconnection to send path to javascript and then let javascript load the page, may need yahoo ExternalBuffer class.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

getURL FF fix not working?