Hi,

Try this..It might solve your problem.

======================================================
import flash.display.StageDisplayState;

function goFullScreen():void
{
    if (stage.displayState == StageDisplayState.NORMAL) {
        stage.displayState=StageDisplayState.FULL_SCREEN;
    } else {
        stage.displayState=StageDisplayState.NORMAL;
    }
}



stage.addEventListener(MouseEvent.CLICK, handleClick)



function handleClick(event:MouseEvent):void
{
    goFullScreen();
}

B.S

On Mon, Feb 21, 2011 at 4:54 AM, Latcho <spamtha...@gmail.com> wrote:

> Can help you out. I'm all in video. Wrote the Adidas player.
> for ex.
> http://www.adidas.com/nl/basketball/?&cm_nav=cm_exnv
> PM me if you like: zetm...@gmail.com
> Cheers,
> Latcho Aka Stijn De Ryck
>
>
>
> On 2/18/2011 11:04 PM, Karl DeSaulniers wrote:
>
>> And the videos, so I can test
>> :)
>>
>> On Feb 18, 2011, at 3:43 PM, Karl DeSaulniers wrote:
>>
>>  Hi J,
>>> I'll take a stab at it. Can you send me a fla with just your video page
>>> and code in it?
>>> LMK,
>>>
>>> Best,
>>>
>>> Karl
>>>
>>>
>>> On Feb 18, 2011, at 1:30 PM, J.C. Berry wrote:
>>>
>>>  I am willing to pay a few hundred for successful rewriting of this.
>>>>
>>>> On Thu, Feb 17, 2011 at 10:05 AM, J.C. Berry <jcharlesbe...@gmail.com
>>>> >wrote:
>>>>
>>>>  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>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.
>>>>>
>>>>> ------------------------------------------------------------------------------------------------------------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>
>>> Karl DeSaulniers
>>> Design Drumm
>>> http://designdrumm.com
>>>
>>> _______________________________________________
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>> Karl DeSaulniers
>> Design Drumm
>> http://designdrumm.com
>>
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to