ActionScript 1/2 :: Button - Make Media Display Component Fullscreen

Aug 5, 2010

I am using a media display component to display a short FLV cartoon. I have given the component the instance name "fcEp01" and am successfully controlling its play, rewind and pause functions using buttons using "on (release) {_root.fcEp01.Play();}" and so on. I want to have an additional button that will allow the viewer to toggle the component to fullscreen (and back). I am using AS2 in Flash CS3. I realise that it may be necessary to use a movie clip instead of a regular button, but the tutes I've looked at haven't worked.

View 6 Replies


Similar Posts:


ActionScript 3.0 :: Fullscreen Button On The Playback Component, Which Will Allow The User To Toggle The Video Fullscreen?

Apr 13, 2009

I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:

Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;

Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:

Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....

View 9 Replies

Flash :: Load F4V File To Media Display Component?

Jan 3, 2011

I am trying to load .F4V file to Media Display Component on button press using Following Scriptvideo.setMedia("support/name.f4v","F4V")But its not working,

View 1 Replies

Actionscript 2.0 :: Make A Fullscreen Button In It?

Nov 29, 2010

How can I make a Fullscreen Button in AS2?

I didn't find a video by Lee in his Tutorial Section...

View 1 Replies

ActionScript 3.0 :: Make A Fullscreen Button For Flv Player

Mar 23, 2010

so i'm trying to make a fullscreen button for my flv player, and it only works when my fullscreen_btn.x is < 600 and > around 300. anybody ever encountered this before?[code]

View 1 Replies

Media Server :: Make FMS Work In Progressive Display And Download?

Jun 30, 2011

I installed FMS about a year ago, and realized that it broadcasts videos in "real time", just the point where the video is, without a "progressive display and download".Maybe there is a mode in FMS that makes it work in "progressive display and download" way in HTTTP connections, just like youtube or any other tube, so, it will be downloading the rest of a video, while playing its previous part.

View 4 Replies

ActionScript 2.0 :: Media Controller Component Pause/Play Button?

Nov 10, 2009

I'm having trouble controlling the PAUSE and PLAY states of the pause/play button located on the Media Controller component, while streaming an .mp3 file.

- I set the button to the PLAY state (which shows the pause button) in the authoring enviroment. (Good).

- I set the media, and play the mp3 file. (Good).

- After the .mp3 file is done playing, the button goes back to the PAUSE state...DESPITE a fucntion I have that loads my next mp3 file).

I would like to be able to control the button states to reflect that the player is still playing. (ie. showing the pause image)

I thought "audioController.playing = true;" would do the trick...but it's not working correctly.Below is my code:

//Loads and Plays Audio

Code:
function loadAudio() {
audioPlayer.setMedia("audio/" + audioNames[_global.nCurAudio]);[code]...............

View 0 Replies

ActionScript 3.0 :: How To Make Button Component Wierdness

Sep 17, 2008

Player.fla and Controller.as are in the same folder.Player.fla:Button component in the library (with its assets). DocumentClass = "Controller". 1 layer, 1 frame. No code in timeline.Controller.as:(see attached code)My problem:I put a button on the stage, set instance name toplayPauseBtn, change it's label to anything but "Label" in theParameters panel, and for some reason the button cannot be disabledwith code I attached.Not a critical problem because I can set playPauseBtn.label ='' in my class file and it will work, but why would the buttoncomponent require a label of "Label" in the parameter panel toallow disabling?

View 3 Replies

ActionScript 2.0 :: How To Make A Button Work - Display The Image

Aug 2, 2004

i am trying to to do the following. I have 2 buttons on a page.when i click the first button it should just display the image i want it to.when i click the second button it should display the other image i want to display.

View 2 Replies

ActionScript 3.0 :: Make A Movieclip Display And Play When Click On A Button?

Jul 23, 2009

I'm looking to have a movie clip pop up, play itself after a user clicks on a flash navigation button.
 
(something like this???)  
message_btn.addEventListener(MouseEvent.CLICK, goMessage1);
function goMessage1(evt:MouseEvent):void{    ???(play message movie clip here)???;}

View 3 Replies

ActionScript 3.0 :: Make All Button Component Instances Trigger RollOver Sound?

Dec 18, 2008

I am using the Button component (the one shipped with CS3) inmany places in my AS3 project. I am coding in .as files, not on thetimeline.I have skinned the Button to use the colors I like. Now Iwish to "skin" it so that all instances generate a rollOver sound,and I'll be darned if I can figure out how.I know I can listen for ROLL_OVER events in each Buttoninstance. But I have many many Buttons and it seems kludgy to addthat same code to every class I have which tracks a Button. I amhoping there is some way I can make *all* instances of Buttonrespond to rollOver the same way. I am hoping it is likesetComponentStyle or changing the skin for the Button; I can do itin one place and it works everywhere.I guess I can listen on the Stage level for bubble-ups ofROLL_OVER, trap those that come from Button instances, and handleit from there, but stagewide listeners also seem a tad kludgy

View 1 Replies

Flex :: 4 - Null-component - Checking If The Cancel Button Component In The Child Component?

Jun 23, 2011

I have a component "child" which has a cancel button. Now this component is placed in a state called "newChildComp" I also have another component called "parent". In the parent component, i have a button that dispatches an event. Here is the event code:

[Code].....

so, basically,i am checking to see if the cancel button component in the Child component, while i am still in the parent Compoent, was clicked, if it was clicked, call the cancelButtonHandler. The problem is by the time the addNewChild handles the event, that cancel button was still null. My question is how do i solve this without using the itemCreationPolicy on the cancel button?

View 1 Replies

ActionScript 3.0 :: Load Full Browser With A "fullscreen"-button To Go Fullscreen?

Aug 30, 2009

I'm making a flash site, and i want it to load full browser with a "fullscreen"-button to go fullscreen. The problem, however, if i resize, the site will keep the same width-to-height ratio...But if i'm testing it using the flash debugger, everything resizes just correct...My html:

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">[code]......

View 1 Replies

Fullscreen Picture Display?

Jul 7, 2002

Im creating a sort of a picture album, i would like the users to be able to click for full screen display! How do I achieve this??? pics. are most probably jpgs.

View 4 Replies

Can't Get FLVplayback Component To Fullscreen Correctly

Sep 30, 2010

I have tried numerous things but when I insert the FLVplayback Component into flash that is linked to an external video source the fullscreen function will not work but the video plays as needed.

View 15 Replies

ActionScript 3.0 :: Fullscreen Video And Display Certain MCs?

Apr 27, 2009

I am just starting to use AS3 (grumble) and I have a video application that when it runs fullscreen it hides all other movie clips and objects on the stage. I would like to display certain objects/movie clips over the fullscreen video.

View 1 Replies

Flash :: Flex 4.5: Tree - Make A Flex Tree Component Display The Children Of A Sprite In A Hierarchical Way

Nov 19, 2011

I'm trying to make a Flex Tree Component display the children of a sprite in a hierarchical way. Moreover, dragging the items on the FlexTree would resort and reparent the items. I have special Elements set as Folders. This would allow other elements to be added there as a children by dragging an element on the tree and dropping it there. I have a failed attempt which works, but breaks when I try to add folders. Basically, it fails at reparenting the items by dragging and resorting folders and that Does anyone know of a component or something which can do this, has anyone have created any of this or could anyone give me a clue?

View 1 Replies

IDE :: FLV Player Component - Click To View Fullscreen?

Jan 14, 2009

So I'm building a flash presentation and one slide has video. I have a flv component on the stage and the user wants the video to initially appear at a smaller size and then to click on it to launch the movie in fullscreen and to play. The playing is no problem but it doesn't want to launch fullscreen.Code below:

// VIDEO
moviePlayer_mc.fullScreenTakeOver = false;
moviePlayer_mc.addEventListener(MouseEvent.CLICK, launchFullScreen);

[code].....

View 9 Replies

Actionscript 2.0 :: Fullscreen Mode For FLVPlayback Component

Oct 17, 2010

I am using a FLVPlayBack component to play some videos back inside a flash site I am making. Obviously I am using a Flash CS3 - AS2 skin since I am making the site using AS2.

Does anyone have the code to create a fullscreen mode button so that the videos go into full screen mode that are playing the FLVPlayBack Component?

View 3 Replies

ActionScript 2.0 :: Display Images/movies In Fullscreen?

Aug 23, 2009

I am new to Flash and this forum. I use Flash 8.0.pro with AS.2.0. I wish to display my images/movies in full screen with pan and zoom.

View 0 Replies

ActionScript 3.0 :: Switching To Fullscreen With FLVPlayback Component On Stage

Sep 5, 2009

I've encountered a really frustrating problem recently when switching to StageDisplayState.FULL_SCREEN with a FLVPlayback component on the stage.

My movie:
bottom layer: a movie clip inside of which is a FLVPlayback component playing a flv movie
upper layer: movie clip (logo), second mc (fullscreen button)

Fullscreen button code:
function doFullscreen(event:MouseEvent):void {
if(stage.displayState == StageDisplayState.FULL_SCREEN){
stage.displayState = StageDisplayState.NORMAL;
} else {
stage.displayState = StageDisplayState.FULL_SCREEN;
}}bFullscreen.addEventListener(MouseEvent.CLICK, doFullscreen);

Effect (Before clicking the fullscreen button):
Everything is okay, the movie plays, logo and button are visible.

Effect (After clicking the fullscreen button):
The only thing that is visible is the playing movie, but logo and fullscreen button disappear.

What happens:
The mc with the FLVPlayback component gets the highest child index and covers the logo and button. It is not the problem with aligning logo and button on the stage, as without the FLVPlayback component they are perfectly aligned. I also tried to manually switch the depth of the mc with the FLVComponent, unfortunately without any result.

View 1 Replies

ActionScript 1/2 :: Create Fullscreen Functionality In FlvPlayback Component?

Aug 9, 2011

How to create the fullscreen functionality in FlvPlayback component.

View 3 Replies

Actionscript 3.0 :: Caption Component Moving In Fullscreen Mode?

Sep 15, 2009

I am using the flvplaybackcaptioning component in Flash CS3 along with a flvplayback component.

The XML file is pointed and everything works fine till I go fullscreen mode. Once switched to fullscreen mode, the flvplaybackcaptioning component starts moving up by 1 or 2 lines. This is very distracting.

View 1 Replies

ActionScript 3.0 :: FLVPlaybackCaptioning And Fullscreen Mode To Display Subtitles

Sep 7, 2010

I have something really weird happening when I try and combine using FLVPlayback Captioning and fullscreen mode to display subtitles.Basically, when I oscillate between normal and full screen...
 
1. the first time I do so (normal->full) it works - the subtitles are resized fine.

2. Then when I go back to a normal-sized player (full->normal) the subtitles disappear.

3. Then when I try again to go to full screen (normal->full) the subtitles appear - but they are the wrong size - the size that should appear for normal-sized screens.[code]

View 2 Replies

Professional :: Display Fullscreen In Html(flash Publish)?

Dec 28, 2011

what problem am i when the flash publishing on ie,it was not show all?here is my setting of publish,is it someting setting wong?

View 3 Replies

ActionScript 2.0 :: Display Flash File In Fullscreen In Browser?

Aug 14, 2009

I have a problem to display flash file in fullscreen in the browser. My requirement is the same one as below link.

[URL]

View 5 Replies

ActionScript 3.0 :: Fscommand Fullscreen Auto-scales Flvplayback Component!?

Jan 20, 2010

I have an FLVPlayback component instance on my stage, into which I load videos based on button presses. When I create a .swf of my project though, if I use

fscommand("fullscreen", "true");
fscommand("allowscale", "false");

I get unexpected behavior. What should happen is the file loads, everything is centered, and the area around the project is whatever the background color is.This sort of works .. until the first FLV is played. The FLV gets scaled to 100% (fullscreen)and if I hit "esc" I go back to the "normal" sized player, but if I then maximize the window (almost the same as fullscreen), the entire flash player now decides to scale, not just the FLV playback component

I'd like to be able to have my windows projector file to take up the entire screen when it's loaded (without being scaled), but this doesn't seem possible. Any ideas what's going on? Regarding the FLVPlayback component, I've tried everything to make it fit and not scale ....set height, width, set scale to "noScale", set registrationHeight, registrationWidth, etc. Nothing works.

View 2 Replies

ActionScript 3.0 :: When In FullScreen Display Video Controls At The Bottom Of The Screen?

Nov 6, 2010

We all must have seen players, that when in full screen mode, the controls are set to perfectly align at the bottom of the screen, and the aspect ratio of the controls are perfect (no distortion) - any one know what code acheives this?It must be something to do with, being able to auto detect what screen size the user has, perhaps

View 10 Replies

ActionScript 3.0 :: Display Video Controllers When Using A HD Output On Fullscreen Mode?

Feb 12, 2010

basically i'm following this tutorial on how to make a fullscreen HD video [URL]the only difference is i'm not using any flash components with my player.when i play the video on a normal screen, the video zooms in with the size of my object which the embedded plash player. all my controllers are not visible but still somehow it was on the back that you can still click on while the video is playing.also, on fullscreen mode, definitely all controllers are gone.

View 0 Replies

ActionScript 3.0 :: Display A FLVPlayback Full Screen The Same As When Click On The Full Screen Component Button?

Sep 17, 2008

I wnat to display a FLVPlayback full screen the same as when you click on the Full Screen component button.

function goFullScreen():void {
vidPlayer.enterFullScreenDisplayState();
}
var vidPlayer:FLVPlayback;

[code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved