Re: problem with opening an anchor link from flash 2006-09-04 - By Becky Kinney
Back You may be out of luck. Obviously this should work, and it does when I test it on a web server. Works in both Firefox and IE.
The problem kicks in when your page is not running on a web server. If you are trying to run in some other environment, and it doesn't work, I don't think there is much to be done about it. I don't know why the code fails when no server is present, but that appears to be the limitation you are up against.
Becky
-- -- Original Message -- -- From: "alikim2007" <alikims@(protected)> To: <pro_flash@(protected)> Sent: Monday, September 04, 2006 11:08 AM Subject: [Pro Flash Users] Re: problem with opening an anchor link from flash
> Thanks everyone for help but as I wrote before I can not use javascript. > I'm creating a presentation to be sent to a client and it must be > working regardless the presence of javascript in a browser on his PC. > The same with the uploading files to the net - I need it to be working > locally on CD, DVD, flash disc, hard drive etc. > > >> > Hello all, >> > >> > I have an html page with a flash object on it. The flash contains >> > a button >> > with the following AC placed at the button's frame: >> > >> > but.onRelease = function() { >> > getURL("promo.htm#anchor", "_self"); >> > }; >> > >> > so the idea is simply to open promo.htm at the anchor point. >> > >> > The problem is in following: when I place files on my D:/ and click >> > the button in Firefox it works perfectly but when I place files on my >> > flash disc it opens only "promo.htm" w/o anchor. >> > In MSIE the button always opens page w/o anchor. >> > >> > Actually, I have two questions: first, why isn't it always working? >> > and second, what can I do here? (mind that I can not use javascript) >> > >> > Any help will be appreciated, >> > alikim >> > > > > > > > > ========================= > Pro_Flash: Professional Web Developers Using Macromedia Flash > To subscribe: mailto:pro_flash-subscribe@(protected) > To UNSUBSCRIBE: mailto:pro_flash-unsubscribe@(protected) > > Yahoo! Groups Links > > > > > > >
========================= Pro_Flash: Professional Web Developers Using Macromedia Flash To subscribe: mailto:pro_flash-subscribe@(protected) To UNSUBSCRIBE: mailto:pro_flash-unsubscribe@(protected) Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/pro_flash/
<*> To unsubscribe from this group, send an email to: pro_flash-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
|