Panorama displayed as banner with trackable actionscript

Q&A about the latest versions
Post Reply
User avatar
henri_smeets
Posts: 67
Joined: Mon Jan 14, 2008 5:46 pm

A client wants a panorama delivered as a banner with the following actionscript included

on (release) {
getURL(_root.doelUrl, "_new");
}

Is this possible somehow?

Thanks!

Henri
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Hmm... I don't understand. Every click should go to a URL no matter what? If so, then you can do this with a hotspot all over the panorama.
MfG, Thomas
User avatar
henri_smeets
Posts: 67
Joined: Mon Jan 14, 2008 5:46 pm

Hmm, they requested this code, if the only thing it does is to link to an page there's not much to it I guess. They said they use it to count the number of clicks on a banner.

We'll see,

Henri
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

The code is also ActionScript 2.0 so it also wouldn't work with AchtionScript 3.0 anyway. I guess the best way is to solve this with a BIG hotspot.
MfG, Thomas
ThomasK
Posts: 112
Joined: Thu Sep 14, 2006 11:40 am

MochiBot for tracking Flash files on the web with support of ActionScript 3 (AS3).
http://www.mochibot.com/tour_dashboard.html

The application generates a snipplet of Actionscript that can be inserted into the fla file to track your swf file on the web.
Would it be possible to have the option in Pano2VR to include such snipplets?
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

ThomasK wrote:MochiBot for tracking Flash files on the web with support of ActionScript 3 (AS3).
http://www.mochibot.com/tour_dashboard.html

The application generates a snipplet of Actionscript that can be inserted into the fla file to track your swf file on the web.
Would it be possible to have the option in Pano2VR to include such snipplets?
Can you send me such a snipplet?
MfG, Thomas
ThomasK
Posts: 112
Joined: Thu Sep 14, 2006 11:40 am

Thomas, you need to create the snipplet online at http://www.mochibot.com/my/createswf.html

You get a snipplet like this:

Code: Select all

 // MochiBot.com -- Version 8
// Tested with Flash 9-10, ActionScript 3
MochiBot.track(this, "3c1bcb83");
And you have to download the file http://www.mochibot.com/as3/MochiBot.zip which contains the MochiBot.as class file

Instructions:
Add the MochiBot code into your FLA with the following steps:
1. Create a new layer and give it a layer name of "MochiBot". Make sure that this new layer is in your main scene and not the preloader.
2. Select the first frame of the new MochiBot layer and paste the MochiBot code into the Actions editor
Screenshot: http://www.mochibot.com/images/ss_install.jpg
Post Reply