ActionScript 3.0 :: Presentation With Videos, Can't Get It Working On Fullscreen
Jan 2, 2010
I made a flash presentatsion and because i'm using FlashEff components it has to be in as3. I'm a total newbie in coding, particularly in as3. I have made my presentatsion in as3 before and got everything working fine. This time my presentation contains videos. And this becomes a problem when going on fullscreen mode. My project size is 1024x768, I made a html and use a brauser to open it. I wan't my project to go fullscreen so that there aren't borders. If the stage goes fullscreen i don't want my movies to go fullscreen. When playing a video on fullscreen mode everything just goes black. Soo finally i figured out that i have to tell the videos not to scale.
My project is set up as follows:
1. MAIN TIMELINE On the first layer i have all the frames converted to movieclips and inside each movieclip is the content. On the as layers first frame i have this code. This is for navicating on the presentatsion slides with arrow keys.
stage.addEventListener(KeyboardEvent.KEY_UP, goNextFrame);
function goNextFrame(event:KeyboardEvent):void{if (event.keyCode == Keyboard.UP){this.nextFrame();}}
stage.addEventListener(KeyboardEvent.KEY_DOWN, goPrevFrame);
function goPrevFrame(event:KeyboardEvent):void{if (event.keyCode == Keyboard.DOWN){this.prevFrame();}}
2. INSIDE THE MOVIECLIP
On each slide there is some content that is called with a mouse click.
//On the fist frame
bg_mc2.addEventListener(MouseEvent.CLICK, playSlide);bg_mc2.buttonMode = true;
function playSlide(event:Event):void{ play();
//On the last frame
stop();
bg_mc2.mouseEnabled = false;
I have tried so many fullscreenmode - don't scale the video codes.I have tried so many ways but every time i play a video i get the typeerror 1009 Can't access a property of method.
View 7 Replies
Similar Posts:
Nov 10, 2010
I've to develop an interactive presentation for a customer and was thinking of flash.But I would like to have anyone opinion.Before this project, a dvd player was playing in loop a simple dvd video.Now, we would like to play an interactive video on a touchable device (http:url]....).The main menu will only present 4 button to play each video, any click on a playing video will return to the main menu.
First of all, will I be able to play a fullscreen video in high quality ? 1366 x 768 ? Which video format do I need ? FLV seem to be pretty poor quality ?
View 4 Replies
Jul 25, 2011
On all these web 2.0 websites i see those nice presentation videos/animations like here: i search a similar skin addsocials click on "how it works". it would take maybe 1 or 2 days for me to make such a simple but clean animation video. Are there websites where we can buy or download such skins for fast customization? the only website i know is activeden but i can't find any animation skins to buy. isn't there a market for such things?
View 1 Replies
Dec 28, 2011
when i create an exe and i take it to fullscreen, my videos stop playing...and if yes how can i allow it to play my videos in fullscreen mode....
View 0 Replies
Sep 1, 2008
My flash presentation contains video which I imported using the flash video component. When I play the presentation 100% size they play fine - contained within there window on the screen - When I play the presentation in full-screen mode they take over the whole screen. They also play untill the video is finished whithout moving onto the next scene.
View 8 Replies
Aug 16, 2010
I am using FLVPlayback component to display videos in fullscreen mode.
Try this:
1. Add 2 FLVPlayback components to stage (new file).
2. Make sure you are using two different *.flv files (video.source = "").
3. Change the video skin to one that has a fullscreen button and publish to Flash Player version 9.
4. Publish html with the fullscreen option set to true in the html page.
What you will find is that both the buttons display the same video!
I am unable to find any solution online. I have even tried this using AS3.0 with the same result.
View 5 Replies
Nov 24, 2010
I am using Ubuntu 10.10 on my IBM X200t. Installed is the standard flash player plugin for Firefox: (flashplugin-nonfree, 10.1.102.65). Everytime I switch a flash video to fullscreen, the video freezes. However, the video continues to play and I hear sound. How can I fix this?
View 2 Replies
Jul 12, 2011
I want to make an application in AS 3 in which a XML will be read and it contains all the tracks that I want to be played. But every movie must be played in fullscreen, and the transaction can't be seen by the spectators. So who is seeing the playlist must not see what is 'behind the movie'. Only movies being played sequentially in fullscreen. Is it possible to be made?
View 1 Replies
Jun 27, 2009
I got several pages in my root that are accessed by several bottons. One of those pages play a FLVplayback video. The thing is that when a video is running and that you move to another page, the sound of that video is still playing. So, I've tagged the video "flv" and I added flv.stop() to each botton. Now, all my bottons are not working anymore and I get an error message each time i click one. What should I do?
View 7 Replies
Jun 18, 2010
I have just very recently downloaded a trail version of Adobe Flash CS5 onto my laptop. The version of windows is Windows XP, and the program itself is running as well as it should.
I went to youtube to see if there were any video tutorials that could help me get started with the program. Unfortunately, right before a video will play, the browser will say there was an error, and close, and then re-try to open the page.
This problem has never happned before I installed Flash, so I can only assume it had something to do with it. Everything else on my system is running smoothly, I even checked every file and processor twice for any signs of adware that I may have picked up accidently.
View 14 Replies
Mar 13, 2011
i've got a problem with a Flash website that has been driving me crazy. i have a Flash website that was built for us in late 2009, it uses ActionScript 2 and i have been maintaining it in CS3 on a Mac.
the site is structured as a heirarchy of swf files, and loads XML files to specify text content, image locations, and Youtube videos. all this has worked fine until sometime in the past month or two. the problem now is that the embedded Youtube videos no longer load, although nothing has changed in the code. unfortunately i don't know exactly when the videos stopped loading.
in the Activity Window of Safari i can see the URLs for the Youtube crossdomain file [URL].. Youtube still for the video, and the Youtube player[URL].. however neither the still frame nor the player skin load.
if i run the site directly from my hard drive (with my Flash Player security preferences set to allow the swf to access the internet), the videos do load and play, so i am guessing that it is some kind of security domain issue. if i run the site in Flash CS3 in debug mode, when i navigate to a video page, although the video loads and plays, i get lots of these warnings (i've edited the path and file name):
[code]...
View 1 Replies
Mar 11, 2011
I am implementing a video player in Actionscript and I need to be able to define the starting play time for the videos. Netstream.seek(pos) works for flv files but fails for H.264 files (the player starts playing the video from the beginning). Anyone knows what might be the problem? (I am using Netstream for this instead of adding a parameter with the starting time when I call the Netstream.play method because I don't have Flash Media Server).
View 2 Replies
Feb 14, 2009
Flv fullscreen not working in div,Here is the code i m using :-
Stage["displayState"] = "normal";
F = 1;
fulscreen_btn.onPress = function() {
[code]....
but its not working,
View 0 Replies
Nov 15, 2007
I have developed a flash video player which had a fllscreen option.but the problem is fullscreen is not working in IE7.In some machine got this problem.[code]
View 3 Replies
Aug 14, 2009
I dragged the FLVPlayback component onto my stage and attached a source to it using the component inspector. When I view my .swf, I can't get the full screen option to work. I have uploaded my file here:[url]....
View 2 Replies
Nov 10, 2009
I have a Flash (AS3, CS3) piece that has a button that will make the piece go full screen.
stage.displayState=StageDisplayState.FULL_SCREEN;
This works great in all of the computers that I have tested it in except a tablet PC (HP 2710p is the only tablet I have to test on, but I hear the same behavior happens on all tablets). The scale mode is set to exact fit, but I have tried the other options as well:
stage.scaleMode = StageScaleMode.EXACT_FIT;
View 1 Replies
Jan 22, 2009
need to detect if the middlemouse button is pressed or not..and for that Im useing
ActionScript Code:
if (ASnative(800, 2)(4))
{
//Do something
}
and ofcourse the whole if-statement is inside of an enterFrame"Listener" or what its called..how ever...this doesnt work once your i fullscreen mode..
View 0 Replies
May 27, 2007
I'm not really getting this...in a flex HTML template I have this
HTML Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="${application}" width="${width}" height="${height}"
[code]....
View 4 Replies
Aug 14, 2009
I dragged the FLVPlayback component onto my stage and attached a source to it using the component inspector. When I view my .swf, I can't get the full screen option to work. I have uploaded my file here:URL...
View 2 Replies
Dec 11, 2008
I have a swf loading an external SWF which is a video player. The video player loads fine into the SWF, but if I hit full screen it goes full screen but I cant see anything. Its all black. I can still see the "hit escape to exit" bubble thing.If I embed the video player by itself(ie. ISNT loaded into a swf) the full screen function works fine.
View 3 Replies
May 26, 2011
the following code not working in IE for fullscreen?
Here is my code
Flash file code:
on(release){getURL("html/file name.html", "_blank"); }
[code]......
View 3 Replies
Sep 20, 2011
i am working on youtube api player in as3 and stuck on fullscreen btn problem. Is there any inbuilt functionality to make it work
in as2 youtube work the code is
ActionScript Code:
var listener:Object=new Object();
Stage.addListener(listener);
listener.onFullScreen=respondFunction;
[Code]....
View 0 Replies
Nov 20, 2009
i m just making a game for multiple questions, now i want to give some short key to select objective questions like a for 1st object nd b of 2nd object nd enter for submit . Here the sample of code which i used:-
Code: Select allvar keyListener:Object = new Object();
keyListener.onKeyDown = function() {
switch (Key.getCode()) {
[Code].....
Now when i use a,b,c,d keys in normal window of browser that time it's work properly but when i used fullscreen window of browser that time it's not working.
View 2 Replies
Feb 6, 2008
why the following code works for Firforx but not for IE? Both the Firefox and IE have flash player version 9,0,47,0
Code:
function goFullScreen()
{
[code].....
View 3 Replies
Jul 1, 2009
I've created one form application in flash, i have fillup the form(inputbox) in normal view, its working fine. but it's not work in fullscreen viewhow do enter the text in input textbox in fullscreen mode.
View 4 Replies
Jun 1, 2010
I am developing a website completely on Flash, it has an option for Fullscreen as well as keyboard navigation to switch between slides. On windows, when i do fullscreen, everything works fine. On Mac machines, after full-screen the keyboard navigation script stops working. This is the script I am using for keyboard action. Is there any particular script for Macs too ?
on (keyPress "<Right>") {_parent.gotoAndStop(2);}
View 1 Replies
Feb 17, 2009
I am using Actionscript 2 in Flash Player 9.I have created a movie which preloads then plays a very short animation.When the user clicks an 'enter' button it goes full screen.However, from within Flash the buttons work ok, but when it goes live on the server, when Fullscreen is called, all the buttons stop working. (they are movieclips with actions against them, not actual button clips).
View 3 Replies
May 25, 2010
Just run into an odd little problem. My project allows for the user to press numbers on the keyboard to call specific functions accordingly.It all works fine, until the user goes into "fullscreen" mode. When they are in fullscreen mode, keypress actions no longer seem to work at all. Have I missed something out with an EvenListeners? Or have I overlooked something entirely?Here's a sample of how the keyboardEvent is being used:
Code:
stage.addEventListener(KeyboardEvent.KEY_DOWN, keypress);
function keypress(keyEvent:KeyboardEvent) {
[code]......
View 2 Replies
Mar 14, 2011
ive pretty much finished my website(link is below).but there is one issue i am having problems finding articles/solution to;the fullscreen stage function works on Internet explorer but firefox does not go fullscreen when the button is pressed. you can test it for yourself and youll see.
View 3 Replies
Mar 20, 2010
i've drawn an ellipse sprite and added it to the display list of a container, which is added to the display list of the stage. to move the sprites with the keyboard arrows, it appears that my shiftModifier:Number variable is not working when the stage's display state is set to full screen. shiftModifier works as it should when the stage's display state is set to Normal.
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown);
function onKeyboardDown(evt:KeyboardEvent):void
{
[code]....
View 2 Replies