ActionScript 3.0 :: Hiding The FLVPlayback Control Bar?
Nov 30, 2010
I have a FLVPlayback on my stage, but I want to use my own controls rather than the ones provided by the skin.I read that I can make my own skin - but have not been successful.
I have created a movie in Flash CS3 with the FLVplayback control. In the parameters of the control I have set the autohide of the player skin to false. But when I publish my movie to the webserver the controls are still autohiding. I have cleared my cache repeatedly and republished the movie repeatedly, but I can't seem to get the controls to stay up permanently.
I have done this with presentations many times and I have never had this issue before.
The presentation is being shown in IE8 with compatibility view off, although I have tried it with compatibility view on as well.
I have a flv playback compotent and I created a control bar with play and pause button. I would like to hide the bar until the mouse rolls over it and then it would appear for a few seconds and then hide again. Much like the skin effect, but I'm not using the skins.
does anyone know how to make the flvplayback control accessible? meaning to be able to use the tab key to navigate the play,stop,fwd,back buttons? According to Adobe I should be able to load up a skin and its already set.
"All skins provided by Flash CS4 Professional support keyboard and screen reader access, so developers simply insert the FLVPlayback component on the stage in Flash no configuration is needed."
This is incorrect. I have tried to load several different skins and it fails, my coworker tried with her system "fail" I've managed to create my own playback bar (sorta) and was able to get the tab to work by assigning tab indexs however the flvplayback skins does not allow tab indexing.
I cant actionscript worth a lick so using my playback bar is not an option and the SkinUnderAllNoFullscreen playback was the chosen controller. point me in the right direction. Adobe and the forums over there were of no help.
I am facing a weird issue while using FLVPlayback control.I have created a class which internally creates an instanceof the FLVPlayback control and sets the skin toSkinOverPlayStopSeekFullVol.swf.In the main program I have created n instances for this classto load different flv files [just like any multi windowedapplication, with each window playing its own flv file]. Once I click FullScreen button the video loaded last alwaysget in to full screen mode; irrespective of the
How would I go about using an external video in which the video would scrub (or move forward or rewind) when the user clicks on an object and drags the object left or right? I want to make a site in which the user has control over the movie, and when they choose left or right, the video will scrub to a certain cue point. wants it hits that cue point, the video will seek to another cue point and the story will continue. I want to make it so when the user clicks on the person, and drags them, it scrubs through the video as if the person is walking in a certain direction. I think I have the cue points set up properly, now to just figure out the rest.
I have an Adobe Air 2.5 app that has been written in Flash CS5.There is a need to play video's from within that app and I am not in the mood to write a video player from scratch. Soooooo... we attempted to use the FLVPlayer from http:[url].... but could not get the thing to work properly at all through their API.
The video player must go full screen and have the normal playhead scrubbing, play / pause / stop, and volume controls.Can you make the FLVPlayback control go fullscreen?
Creating a simple video for embedding by importing a video into flash creates a separate swf for the controls. Is there a way to have the controls embedded in the main SWF, so you don't have to worry about paths to the control swf?
I was wondering if there was a way to get the sound from a FLVPlayback component and manipulate it with using a custom volume slider? Within my Actionscript I currently have this code which enables me to control the volume of a MP3:
import fl.events.SliderEvent; var mysong = new music(); var myChannel:SoundChannel = new SoundChannel(); var myTransform = new SoundTransform(); myChannel = mysong.play(0,10);
[Code]...
But Instead of using the MP3 for sound, is there a way to use an FLV's sound instead?
I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.
whenever I publish a FLA file I have, and load it onto a website, I see elements which aren't suppose to be within the frame sitting outside the frame.These elements are outside the canvas in flash and come in for brieft flashy moments but then fly back out again.How do I hide all files outside the canvas? I tried masking the top layer and adding everything underneath it and locking it but that never worked.
I have a small microsite built using Flash 4. It contains 5 'pages' assigned to individual keyframes, each keyframe separated by 5 frames (F5s). Each Keyframe is labelled 'page1' through to 'page5'. I have a navigation bar for the entire site which includes NEXT and PREVIOUS buttons. When the user reaches the LAST PAGE/KEYFRAME I do not want the NEXT BUTTON to show. I suspect it is something simple like nextbutton.visible = true - but I've spent a day trying to work out how to do this but without success.I am using AS3 and the existing coding is shown below.[code]
I download a flash template to take apart and play around with to make sure i still know my way around the software. Everything was going great until I discovered there are part of it that I can not find. The animation are not in the timeline or anywhere else I've looked. When I scrub through it they aren't there, but when I preview the movie (F12) they are always there. I managed to delete the pictures in those particular animations, but can not edit or find anything else.
I have a flex app that I want to hide in a div until the user clicks a link or element of some type. I've noticed that embedding the swf in a div with style display:none does not actually hide the swf, so how would I go about accomplishing this? The goal is to have the flex app loading in the background while the user does other things.
I am attempting to hide a SWF file that has the AS2 FLV component in it only after the FLV has finished playing. How would I go about this?I've searched google fairly extensively and had no luck.I've found a way to hide the Div the SWF is in using a timed Javascript event that is external to the SWF, but I'd like to find a more elegant solution.
I am not a strong AS3 programmer but I have managed to get 90% of what I need done for a current project:
[URL]
I am having one problem that I am not having much luck with though, I would like to have the two buttons visible set to false when the movie loads, which I hope would stop the initial flash that happens when the movie loads.
I'm building an mp3 player expressively to make my music URLs a little less steal-able. Forgive my hacking ignorance here, but would it be better to embed my playlist XML (with the URLs) in the SWF rather than having the SWF read the XML file from my server? Seems that the latter approach would be easier to intercept...
I'm pretty sure that no one wants my mp3s badly enough to decompile the code. But with the player currently at my site, my XML playlists -- with the URLs -- started to come up in Google searches. Would rather avoid *that* level of exposure.
I'm wanting to remove/hide a mc permanently. I though visible = false would hid it but when you go forward a frame and then back a frame the mc is back.
Code:
function pickupKey(evt:MouseEvent):void { gotKey = true;
I've done some searching and it looks like you cant hide a layer using action script. I'm going to have a page with a lot of form controls on it and when the user clicks the submit button, i want all those controls to go away so that i can display something else.I really dont want to have to do control._visible = false for every single item. I did see one person saying i could attach those form fields (movieclips) to a parent movieclip, and then just make the parent visibl = false. would that be the best way to hide a bunch of controls without explicitly setting the visability on each movieclip
I have an XML file that my .swf opens and reads from my server. I actually have the .swf call a php file that builds the xml output which works fine. My question is, is it possible for anyone that can see my .swf project on their browser get the path to the php file that it calls?
Can I use POST in actionscript instead of GET when getting a url so I could hide the variables sent?
Is there a header or something that flash sends that I catch with my php file? So i can tell if flash is calling it, or if some user is just directly going to the file to get the information. Or if all else fails, can I have flash create a file on my server that when I call my php file it first checks to see if that file holds the right data before spitting out the xml. When other people link to my flash file on their server, it seems this method might still work seeing as it's my servers flash .swf being called.
We have a little in-house LMS with courses built in Flash. Scores are updated and retrieved with POSTs to PHP scripts which query a MySQL database. All the course content and quiz questions are in xml files. Those XML files are easily accessible from a user's Temporary Internet Files (sort of SCORM style, for those familiar with it) and while you'd have to be pretty desperate to cheat at something like a Fire Safety test, it's still a vulnerability we'd like to solve.
I intend to move the quiz data (and eventually, the course content) into a MySQL database, then probably build the XML in PHP and echo that to the Flash course (as we've been doing to update and retrieve assessment scores). I think I could limit how and when the xml is displayed by passing hashes and shared secrets and whatnot between the PHP page and Flash, but this only limits outside access, and anyone viewing the course legitimately will still see the XML passed around (I think..).
Surely I'm not reinventing fire here. Is there a method or a technology in existence that allows the safe, discrete passage of xml into Flash?
Does anyone know how to hide the tab bar up top on a flex tabnavigator component? I don't want to see the tab bar at all and I don't need to click on it (I have an automated iterator through the tabs).
I have a swf object that is to the left of a header div that is 1000px wide. the swf is 303px wide. How would I make the swf on the left hide behind the window when the windows is only, say, 1050px wide?
Kinda like how this one is: [URL]
notice how the object get hidden, still plays, but doesn't lose it's aspect ratio? How does someone do this?
the code is set up like this:
<div class="swf"> object </div>
[Code]...
I've tried to make the header 1303 wide, but then on resize it just stops and keeps moving everything that is under it, and the swf stays put