ActiveDen

AS3 FULLSCREEN ALIGN OBJECT

  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • Europe
  • Referred between 500 and 999 users
lydian says

Good one

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
ufoufoufo says

nice

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Turkey
  • Referred between 10 and 49 users
DesignForLife says

nice

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 1 and 9 items
  • Referred between 10 and 49 users
flashblue says

Nice.

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • United States
  • Referred between 50 and 99 users
MBMedia says

great addition to the idea with the right click menu :)

3 years ago
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Europe
rocksil says

hmmmmmm… Interesting! :P

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Europe
  • Referred between 1 and 9 users
tigerworks says
Author

thanks :P:D

3 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • France
2babooblabla says
Purchased

Hello,

If i load a swf in middleCenter, it does not center. Please let me know.

Thank’s

3 years ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
funkybudda says

is this coded in fla with timeline codes or with exernal as class?

3 years ago
Author
tigerworks tigerworks replied

fla with timeline codes…

3 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
zounds says
Purchased

hi funkybudda, can you help me out? when i change the name on files (publish) i upload and got a grey screen, any ideia what i did wrong?

thanks in advance

3 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
taksman says

Hi will this work with several loaded swf. containing scollbars, video etc? Will this work with a regular fullscreen button (not right click)?

Cheers

3 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
ryusan77 says
Purchased

Help. The resizing works great on the first frame but it stopped on the next frame. I’m sure I’m doing something wrong, do you think you can help?

AS code in first frame: stop(); // context menu (RIGHT CLICK MENU )============================================== var ON :ContextMenuItem = new ContextMenuItem(“FULLSCREEN ON”) var OFF :ContextMenuItem = new ContextMenuItem(“FULLSCREEN OFF ”) ON.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,fullscreenON) OFF .addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,fullscreenOFF)

var newContextMenu:ContextMenu = new ContextMenu();
newContextMenu.hideBuiltInItems()
newContextMenu.customItems.push(ON);
newContextMenu.customItems.push(OFF);
contextMenu = newContextMenu;

// fullscreen ON function function fullscreenON(e:ContextMenuEvent):void { stage.displayState = StageDisplayState.FULL_SCREEN; }; // fullscreen OFF function function fullscreenOFF(e:ContextMenuEvent):void { stage.displayState = StageDisplayState.NORMAL; }; // end context menu (RIGHT CLICK MENU )===========================================

// Alignment of objects on stage resize ======================================== stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE;

// resizeFunction function resizeFunction() { // mainmovie mainmovie.x = 0; mainmovie.y = 0; // TOP topRight.x = stage.stageWidth – topRight.width; topRight.y = 0; // MIDDLE middleLeft.x = 0; middleLeft.y = stage.stageHeight / 2 – middleLeft.height / 2; mainmovie.x = mainmovie.stage.stageWidth / 2 – mainmovie.width / 2; mainmovie.y = mainmovie.stage.stageHeight / 2 – mainmovie.height / 2; // BOTTOM bottomLeft.x = 0; bottomLeft.y = stage.stageHeight – bottomLeft.height; };

// resizeFunction resizeFunction();

// againRresize Funtion function againResize(event:Event):void { resizeFunction(); }; stage.addEventListener(Event.RESIZE,againResize) // END Alignment of objects on stage resize =====================================

2 years ago
Author
tigerworks tigerworks replied

next frame include this code…

2 years ago
  • Has been a member for 5-6 years
  • Bought between 10 and 49 items
nod74 says

Hi befor purchase I´d like to know if it is possible to give the objects a minus offset? So only a part of an MC is visible on the stage? THX NOD

2 years ago

by
by
by
by
by