Correction - below in bold On Thu, Feb 17, 2011 at 9:57 AM, J.C. Berry <jcharlesbe...@gmail.com> wrote:
> Hello all, > I am willing to pay for successful help with this. I am working on a Video > player for our Brightcove videos and am having a problem. If I specify the > height and width of the video then the initial presentation is fine, but the > fullscreen resolution is bad, as is the presentation of the player upon > returning to non-fullscreen view. However, if I do not specify the height > and width then the player first appears with dimensions around 1.5x1.5 > inches or so, but then on fullscreening the resolution looks fine, *but > the presentation of the player upon returning to non-fullscreen view still > shows the 1.5x1.5 player*. You can see an under construction version here: > > http://www.mindarc.com/staging/simple_flash.html<http://www.mindarc.com/staging/simple_flash2.html> > > Some fullscreening code that I have been attempting to use here. > > private function onStageResize(event:Event):void > { > if (stage.displayState == StageDisplayState.FULL_SCREEN) > { > originalParent = player.parent; > originalIndex = originalParent.getChildIndex(player); > originalX = player.x; > originalY = player.y; > stage.addChild(player); > //stage.scaleMode = StageScaleMode.NO_SCALE; > //stage.align = StageAlign.TOP_LEFT; > //stage.fullScreenSourceRect = new > Rectangle(20,110,1280,800); > player.x = 0; > player.y = 0; > //player.width = 588; > //player.height = 410; > isFullScreen = true; > } else if (isFullScreen){//back to reg view > //stage.scaleMode = StageScaleMode.NO_SCALE; > //stage.align = StageAlign.TOP_LEFT; > originalParent.addChildAt(player, originalIndex); > //player.width = 478; > //player.height = 269; > player.x = originalX; > player.y = originalY; > isFullScreen = false; > //stage.fullScreenSourceRect = new > Rectangle(0,110,588,410); > //stage.fullScreenSourceRect = new Rectangle(0,97,478,269); > } > } > > Thanks much in advance. > > -- > J.C. Berry, M.A. > UI Developer > 619.306.1712(m) > jcharlesbe...@gmail.com > portfolio: http://Client:maz...@www.mindarc.com > > ------------------------------------------------------------------------------------------------------------------------------------------------ > > This E-mail is covered by the Electronic Communications Privacy Act, 18 > U.S.C. ?? 2510-2521 and is legally privileged. This information is > confidential information and is intended only for the use of the individual > or entity named above. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. > > ------------------------------------------------------------------------------------------------------------------------------------------------ > -- J.C. Berry, M.A. UI Developer 619.306.1712(m) jcharlesbe...@gmail.com portfolio: http://Client:maz...@www.mindarc.com ------------------------------------------------------------------------------------------------------------------------------------------------ This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. ------------------------------------------------------------------------------------------------------------------------------------------------ _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders