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.

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

1

Saturday, June 13th 2009, 5:26am

flash control panel version 2

hye all... id just finish this version 2 of flash control menu.. with extra *thumbsup* *w00t* *w00t*

download it here

this control menu will automatically located at bottom of panorama and will expand to the current width of panorama also...


the only code that need is redefined reset button to your own code....

Source code

1
<plugin name="controlpanel" url="controlpanelV2.swf" keep="true"/>  <action name="reset">tween(view.fovmax,       130.0, distance(179, 0.25), easeoutquad);tween(view.architectural,  0.0, distance(1.0, 0.25), easeoutquad);tween(view.fisheye,        0.0, distance(1.0, 0.25), easeoutquad, set(view.stereographic,false); );event:lookto(0,0,80);lookto(0,0,80);set(control.mousetype, moveto); set(hotspot.visible,true); set(autorotate.enabled,false);</action>


cheers..

This post has been edited 5 times, last edit by "bulp" (Jul 18th 2010, 11:05am)


2

Saturday, June 13th 2009, 6:04am

thank you

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

3

Saturday, June 13th 2009, 6:24am

no problems... enjoy it TIM.. *thumbsup*

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

4

Saturday, June 13th 2009, 6:37am

bulp how did you get your plugin to resize ? :) could you post that part of the AS3 code?

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

5

Saturday, June 13th 2009, 6:45am

can .... anyway im not an expert of this code but then id do some experiment (trial an error) with flashcs3exampleplugin1.fla
thanks to Zephyr for settle in my code ie the littleplanet code... *thumbsup*

but id guess calling code from xml is much more better, just like the reset button...


this is code for stage width listeners..

Source code

1
2
3
if (stage){// run standalone// no automatic scalingstage.scaleMode = StageScaleMode.NO_SCALE;// align on top left cornerstage.align     = StageAlign.TOP_LEFT;startup_plugin(null);}else{// run as plugin in krpanothis.addEventListener(Event.ADDED_TO_STAGE, startup_plugin);}

function startup_plugin(event:Event):void{// setup a global RESIZE event to set the positions of all elements when resizeingstage.addEventListener(Event.RESIZE, stage_resize);// add a Fullscreen event to make changes when switching to fullscreen and backstage.addEventListener(FullScreenEvent.FULL_SCREEN, stage_fullscreen_event);// do a first resize stage_resize(null);get_current_values();}




this is the backbar (black bar) that span accordingly to width of any stage size...

Source code

1
2
function stage_resize(event:Event):void{// dynamic set the position of the elementsvar screenwidth:Number  = stage.stageWidth;var screenheight:Number = stage.stageHeight;
// background bar - at bottom, scale to widththis.backbar.width = screenwidth;this.backbar.y     = screenheight;this.backbar.useHandCursor = false;}



cheers..

Shanti

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

7

Saturday, June 13th 2009, 8:26am

i do have another experiment... the loading panel is different... i mean it load as thin as 1 px and it cover the width of stages...

deleted


will update and finallize later if got much time...

cheers.. *thumbsup*

This post has been edited 1 times, last edit by "bulp" (Jul 18th 2010, 11:07am)


8

Friday, June 19th 2009, 4:26pm

I cant see the example page.
I get ERROR:
Adobe Flash Player 9 needed *confused* *confused*

I have flash 10 so why cant it work with flash 10?

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

9

Saturday, June 20th 2009, 5:53am

ditto on the error above. *rolleyes*

I thought I saw another topic with something similar... but I've been zooming through some posts and now can't find it. *angry*

10

Saturday, June 20th 2009, 6:26am

ditto on the error above. *rolleyes*

I thought I saw another topic with something similar... but I've been zooming through some posts and now can't find it. *angry*
Graydon,
is this the post you were looking for?
krpano 1.0.8 beta 8

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

11

Saturday, June 20th 2009, 6:30am

*g* Sorry rinks... that link you left goes back to this same post.

I meant that I thought I saw another post that mentioned the "flash error" showing up for some people... but not all people.... but now that I think about it some more... I think it had to do with linking directly to the swf instead of being embedded into an html page.

I just want to see the sample. *cry*

*smile*

12

Saturday, June 20th 2009, 6:33am

Sorry I have now edited the link.

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

13

Saturday, June 20th 2009, 6:59am

*g* haha... yeah... that was it... and I even commented there... how easy I forget where I'm at sometimes.

Looking at that now... I'm confused... I'll have to add another comment.

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

14

Monday, June 22nd 2009, 1:22pm

lol.. the sample link for this flash control vwesion 2 didnt work... my mistake.. sorry guys.. anyway any complain bout the control menu?

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

15

Monday, June 29th 2009, 6:48pm

Hi Bulp,

Great controlmenu *attention* Good looking *attention*

Perhaps this plugin can take his place on the Krpano USER plugins page like the Camera Controls by Andrei Stanescu and the Scrolling Thumbnails by Shanti Gilbert.

Don't you think so?

Salut.

16

Tuesday, June 30th 2009, 1:32am

i used the control panel here i am also testing sliding menus *thumbsup*

17

Tuesday, June 30th 2009, 9:46am

Hi, bulp

thanx for this one, a great one *thumbup*

This post has been edited 1 times, last edit by "Job.1" (Jul 5th 2009, 8:29pm)


bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

18

Saturday, July 4th 2009, 5:00am

thank you Michel.. it ok.. id just experimenting with sample ASC3... lots of XML structure script and Flash scripts i still hv to learn...

thanks Tim2420... looks great... id guess id should make the freely adjustable/moveable/placeable location of this controlpanel...

thank you Job.1... *thumbsup*

Anis

Beginner

Posts: 3

Location: Brussels, Belgium

  • Send private message

19

Tuesday, March 16th 2010, 11:02am

Hi Bulp,

Do you think that it's possible to disable the "move to" button?

Thank you for this great plugin, nice work!

bulp

Intermediate

  • "bulp" started this thread

Posts: 388

Location: Malaysia

  • Send private message

20

Tuesday, March 16th 2010, 1:29pm

hye Anis.. i do hv few option at here in this forum... please do search.. i think i still hv it..

Flash Control Panel Version 3 & 3+ (now With no TEXT version)

but if you want something different.. please do visit this link..

http://krpano.com/plugins/userplugins/flashcontrolpanel/#top

thank you..