Register

My hyperlinks aren't working when I run from a CD

General Tips & Tricks
Site Admin
Posts: 1079
Joined: Fri May 26, 2006 3:15 pm
Location: San Jose, CA

My hyperlinks aren't working when I run from a CD

Postby James » Thu Jun 04, 2009 5:06 pm

If you run into a problem when running your Viewlets from a CD, the reason is due to a change in security with Flash 8.
Adobe won't allow local file access by default, only access via webserver.

In VB5 and VB6 we introduced some new events that use javascript. This code is referenced in the HTML file so when the SWF needs
it, the HTML is called. This will be blocked when running from a CD. To get this to work, you need to enable Local Access Mode, which will
basically allow all local communication but prevent webserver use.

The 2 events that stand out in my mind are the EMAIL TO event and the DisplayURL - New Window - Advanced option. Both of these use Javascript.

If you choose the DisplayURL - New Window (non-Advanced) option, this will use an internal Flash based call rather than Javascript, so it should work
both offline and online, but you are limited to the configuration options like javascript.

TIP: You can use the DisplayURL as a Mailto: if you want by just typing that into the field (mailto:someemail@email.com).

James

Return to FAQs - ViewletBuilder 6.x

Who is online

Users browsing this forum: No registered users and 1 guest