You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, May 16th 2009, 8:34pm

question flash navigation buttons

Is it possible to use swf buttons instead of the jpg naviagtion buttons and if so how would that work


<!-- direction/zoom buttons -->
<plugin name="in" url="btn_plus.jpg" align="bottom" edge="center" y="40" x="-160" blendmode="screen" ondown="set(movevectorz,-1);" onup="set(movevectorz,0);" onover="set(blendmode,add);" onout="set(blendmode,screen);" /> *mellow*

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

2

Saturday, May 16th 2009, 11:13pm

Yes... It would work just the same as using the hotspot_ani.swf for the hotspot.

To test it out... just replace the url="btn_plus.jpg" with url="hotspot_ani.swf" (make sure you put hotspot_ani.swf in the correct folder)

If you find a source of decent free / cheap swf buttons, let me know *g*

Graydon

3

Sunday, May 17th 2009, 1:24am

Thanks for that,here is a good source for you

I tried it but the button is invisible,should I create a hotspot and add it that way

4

Monday, May 18th 2009, 11:05pm

Hi,

if a swf works a button or hotspots depends also on the swf itself,
it can work but it must not...
which flash button have you tried?

best regards,
Klaus

5

Sunday, June 21st 2009, 1:50pm

Hi Klaus !

What do you mean : "if a swf works a button or hotspots depends also on the swf itself,it can work but it must not..." ?


I've tried to create my own swf file with flash (name hotspot_volant.swf" and replace it in that code :




url="hotspot_volant.swf"
ath="-0"
atv="-0"
scale="2"
zoom="true"
blendmode="invert"
onhover="showtext(go);"
onclick="action(show_html_field);"
/>

But it doesn't work. I can't see my button. Or exactly, i can see the outline of the swf file but noting in it.
What sould i know to create mu own swf file ? I know how to use flash. My problem is to integrate it.

Thanx for your help

6

Sunday, June 21st 2009, 10:14pm

Ok, i answer to my question. To see the button :
blendmode="screen"

7

Monday, June 22nd 2009, 5:57am

Good to know that we can use flash buttons, any working example to see?

8

Monday, June 22nd 2009, 10:48am

Hi,
What do you mean : "if a swf works a button or hotspots depends also on the swf itself,it can work but it must not..." ?
a swf can be a full flash complex program, if it's just an image or animates there should be no problems, but if the swf draws something dynamically, and maybe has own resize events, or changes the layout of the internal drawing stage, then it could be a problem,


Ok, i answer to my question. To see the button :
blendmode="screen"
yes, the blendmode="invert" was the problem
you could also use - blendmode="normal" - to display the swf without any blending effect,

best regards,
Klaus