PDA

View Full Version : Flash Player Version


mconn
02-16-2007, 08:25 PM
I am a newbie and I am trying to figure our what version of flash I should use...

I want to create a flash button that will work in the panorama player...

Should I use Flash MX
or Flash 8
or the alpha of Flash 9

any advice??

jaaaab
02-16-2007, 09:34 PM
well my buttons work fine when they're made under alpha of Flash 9.

I don't think it works with previous versions.

++

Denis
02-18-2007, 11:24 AM
You can use any version of Flash to make a simple button and you should use Flash 9 alpha or Flex to create a button with advanced functionality.

Read here: http://flashpanoramas.com/blog/2006/12/27/hotspot-example-review (I used a couple of Flash 9 button with states, one simple Flash 6 button as a fullscreen button and one Flash 7 control application).

viktor-y
03-06-2007, 01:33 PM
Hi Flashpano-gurus
I have a not too complicated AS button code:

stop();
this.onEnterFrame = function(){
if(rewind == true){prevFrame();}}
this.onRollOver = function(){
rewind = false;
play();}
this.onRollOut = function(){
rewind = true;}

but it is not working with the flashplayer. Probably the onRollOver and onRollOut cause the trouble. Are there anybody who knows how can I rewrite it to work properly with the player? Is it possible to make a flash button with an AS code which load a new panorama? I tried to copy the code from the preview panorama but it didn’t work. :( I would be grateful if somebody could share this code?

Many Thx

Denis
03-10-2007, 04:26 PM
This should be an internal code for button. No changes needed. Could you make an example to check?

viktor-y
03-12-2007, 12:33 PM
Hi Denis,

I've uploded my files to a server
http://viktory.dynamicweb.hu/front.html

Hostname: ftp.dynamicweb.hu
Username:viktory
Password:gadfly

Please take a look what is wrong with the flash files.
Thanks for your help!

Denis
03-12-2007, 11:35 PM
Oh. I see.

I gave a hint about it here: http://flashpanoramas.com/blog/2006/12/27/hotspot-example-review/
By the way, there is one particularity about working with swf movies as a basis of hotspots: correctly working buttons should be compiled for Actionscript 3 only. Buttons for AS1-AS2 takes all mouse actions, and the panorama events like onOver and onClick don’t work (because there is no direct communication between AS3 and AS1-AS2). Nevertheless you can create some vector shape in Flash (just do not create buttons inside), compile it with any version of Flash and use it as a single button state, use another Flash movie or Hotspot plugin effects to create roll over effect. Or use Adobe Flash CS3.

Active areas in your AS1/2 buttons block events for AS3 event listeners and there is no direct communication between AS1/2 and AS3...

So, you have a choice:
1. Recreate you buttons in AS3. You can use Flash 9 Preview Release to compile. There is no Flash CS3 still, 2 weeks to go. :wink:
2. Make onRelease action inside your AS1/2 buttons and use HotspotsAPI ( http://flashpanoramas.com/player/hotspotsAPI ) to call loadPano and fullscreen functions directly.

viktor-y
03-14-2007, 02:52 PM
Hi Denis,

Thank you, it’s helped. Now everything is working fine.