Flash 10 :: Scale Down SWF Using Button During Playback
Mar 15, 2011
I'm developing some e-learning content using Captivate and Flash. The .swf is currently opening in a new browser window and playing in almost full screen. Is there a way I can create a button which will toggle the size of the swf from large to small and back again as required during playback. I am not wanting to use the full screen button option to scale up as the resulting resolution at full size is unacceptably poor.
View 0 Replies
Similar Posts:
Jul 7, 2011
I'm new at actionscript and not sure how to do this. I have a button named btnPlay and an flv video named valerie.flv. I would like it when the button is pressed, the flv video plays in the same flash file through the standard flv player.
View 1 Replies
Feb 19, 2010
I want my flash content to scale when I scale my browser window.
View 5 Replies
Dec 4, 2009
My Flash image will not scale.if you zoom in, it gets chopped up. if you zoom out, it has a big blank area.What should I change in order to have this Flash image scale just like the rest of the site? [URL]It is the Flash in the center.
View 1 Replies
Jun 9, 2010
I have a .FLV video that I have loaded via FLV playback container (AS3). At the end of the video. I then have a replay button, that when clicked would like to either fade or dissapear and play the video again.
View 2 Replies
May 21, 2009
I know you are all probably very busy already but I was hoping you might be able to help me with an issue I am having in Flash CS3. It is my first project, and in retrospect I realize I have gotten in over my head but it is too late to turn back.The project is a recruitment video of sorts that will be distributed on cd-rom. When it runs, an intro video plays on the main screen, and there are buttons that will take the user to other pages with more videos and information. The problem I am having is that the intro video can still be heard in the background even when the user clicks to go to another page. I've tried multiple solutions from the boards but I am either doing something wrong or the solutions just aren't appropriate for my situation. Basically my question is this, how do I get a custom-created button (named "More" in my case) to pause the FLV Playback, or even just mute it's sound?
View 3 Replies
Mar 24, 2010
I have a flv file with a skin within a flash banner I have created. I am trying to also use a text button I created (that says "play movie") to start playing the movie. Does anyone know the action script 3.0 necessary to do this?
View 2 Replies
Aug 13, 2010
I have an FLVPlayer which plays a video and after the video is done playing, the REPLAY button shows up. Upon clicking the REPLAY button the movie starts over.. Everything works well, except, the REPLAY button only works once.. meaning, once the movie played once and REPLAY button is cilcked to play it again, after the movie is done playing for the 2nd time - the button doesn't appear... here's the code:
import fl.video.*;import flash.display.MovieClip;var myVideo:FLVPlayback = new FLVPlayback();var mybtn:myBtn = new myBtn();var staticpic:staticPic = new staticPic();var logo:Logo = new Logo();myVideo.source = "BatterypoweredFCM.f4v";myVideo.skin =
[code]........
View 3 Replies
Apr 8, 2009
Is there a way to control a movieclip playback with a slider button? Just like a video player but scripted to control an internal movieclip playback in the SWF.
View 1 Replies
Aug 24, 2009
I am creating a survey in flash to survey people's opinion about the temperature in a building. What I am hoping to do is have a scale which the surveyee can click on (see attached image) with 5 options from Too warm, warm, just right, cool, and too cold, and record where on the scale they click.
For example, if "Just Right" were correlated to an answer of 3 and "Warm" was correlated to an answer of 2, and a user were to click halfway between the two, I would want the recorded value to be 2.5. If they click closer to "Just Right" I want the recoded answer to be 2.8, etc.
It seems that the quick and dirty way I can think of doing this is to create a serious of invisible buttons over my scale which can then tell me where they click, but then I am limited in the granularity of the answer and it would just be a pain to create that many buttons.
View 3 Replies
Feb 6, 2008
I have a few flv component instances on different frames. When you click a navigation button the current flv should stop and it takes you to a new flv on a different frame. But the previous one keeps playing. How do I stop the current one playing when the button clicks?
View 6 Replies
Jun 9, 2006
I've been skinning some components and am having trouble changing the colours of the button in media playback component and the white and grey border round the listbox (I've included a closeup of this in the image to illustrate and highlighted the problems in red).
View 1 Replies
Jan 27, 2012
Use Flex 4.5.1 and when add icons to the button is so curve effect of scaling. Prompt how to make a proportional scaling icons?[code]
View 2 Replies
Sep 3, 2010
I have a png image which has been converted to an MS and used as a button. When I mouse over the button, I _xscale and _yscale it so that it's smaller and on roll out the opposite needs to happen. However, when I move my mouse just over the edge of the button the xscale and yscale vibrate erratically and I am not sure what is causing this. I have already put a transparent vector rectangle behind the image thinking this will sort out the problem but it seem it still happens.
View 1 Replies
Jun 12, 2002
Is there any possibility to combine those two handlers. I want a movieclip changing its scale when a button is pressed. The change I would write as this:
onClipEvent(enterFrame) {
if (_scale<200) {
_scale+=10;
}}
But I can't write
on (release) {
onClipEvent(enterFrame) {
...
Is there a way to realize it?
View 4 Replies
Aug 2, 2011
Will there ever be the ability to add a 'Record' button to a player such as those used with Ustream, Justin.tv and other similar players? I run a live stream and would love for the viewers to have a 'Record' button so they may capture the video to their local hard drives for later playback.
View 1 Replies
Aug 28, 2011
In Flash CS 5.5, I know you can preview the playback of a video right on the stage using the button and fader of the skin. But then why is there still the [preview] section written in the Component Parameter? (Under the isLive line) And why is it always set to None?
View 1 Replies
Mar 8, 2007
Scenario: main moveiclip with 4 other clips in it. I want the rolledover clip to scale up and all the others to scale down and blur.
Question: What is the most effiecent way to code this. Would it be a "for in loop"? I am trying to minimize the code and would rather not use a whole bunch of if then statements.
View 3 Replies
Feb 3, 2009
It appears when I click the Next button on the window with the likert scale. I have no idea why its giving this error.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
View 1 Replies
Jan 14, 2006
How can I convert the current scale of the instance to 100% so I can easily "visualize" and manage the instance when I modify its scale? Here's the actionscript, it works, but I just want the temp._xscale and temp._yscale to be in percentages, not real numbers.
Code:
USflag.onMouseDown = function ()
{
var temp = USflag;
onEnterFrame = function ()
[code]....
One last thing, what's the tag you have to put that is designed for boxing actionscripts? I'm suing [ code ][ /code ]
View 1 Replies
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
Aug 9, 2011
I'm trying to create a swf file that contains one flv playback component (Flash cs4) and one button. I can get the flv to load it's first video (the "source" attribute of the flv component is initially set in the component inspector to the http path to the video on my server ), but when I click the backyard button, the backyard video won't load The backyard video ("backWithDogs.f4v") is in the same folder as the .swf file on the server.ActionScript Code:backyard_btn.addEventListener(MouseEvent.CLICK, loadBackyardVideo);
function loadBackyardVideo(e:MouseEvent):void{
videoPlayer.source = "backWithDogs.f4v";
}
[code].....
View 12 Replies
Nov 18, 2009
Developing a flash resource which runs FLV files from within it as pro
gressive. It works ok on my local testing computer/network server. But when I put it online it does not play.I opened up the components panel for each FLV and noticed they were absolutely linked to my network drive (obviously when online this linking will now work). So i changed all the linking to be relative and some warning windows did come up and say i was breaking the link but i ignored them because i don't care about how it runs locally...i want this resource to work online!line.something that it might also be is I am uploading this resource to an LMS called Janisons (perhaps they are not FLV through flash playback - friendly).
Is there any particular path of troubleshooting I could go along? Because I have just about tried everything i know!UPDATE: I changed back one of the FLVs parameters to link to local drive in the component parameters - and as expected, it runs fine locally but when previewd in chrome (which might i add has some great debugging features that you could only dream of finding in IE) i get the following message:
SecurityError: Error #2148: SWF file http://my.tafe.qld.gov.au/GLC/GLC_Food_Hospitality/GLC_SITHFAB009A_TQC_A/Scenario/barMenu.swf cannot access local resource G:Resource DevelopmentRD2009-2010ITG
[code]......
View 1 Replies
Dec 19, 2011
I found out an action script online, and did like it. So I applied it in my new flash. However, when I play the .swf file with Adobe Flash Player, it runs smoothly, but when I upload it on my website, it keeps black out and does not run at all.URL...And here is the project I packed so you can have a look at the AS:URL...
View 2 Replies
Aug 9, 2010
I've been wondering something, websites like youtube (pandora does mp4s) play their music through a flash player. while each track is played, they're downloaded to the user's computer, e.g., /tmp/FlashXX*** This allows users to go and move the flv out of that folder for later playback.
However, when the user moves the flv out of the /tmp folder, the player continues to play the music/video quite happily. How does the flash player handle the removal of its file and why doesn't it throw errors from this?
More importantly, why are the flvs downloaded to the user in the first place if the player plays happily without them?
View 3 Replies
Dec 7, 2010
I have a video embedded in Flash as an FLV. I'm able to get the video to play through the way I want, but when the video plays through and ends, I want to have two options/"buttons" display that allow the user to either replay the video a la youtube, or link to another web page.
I know it must a very basic question but I can't seem to find any answers. I've included a screen capture of the end of the video.
View 1 Replies
Dec 21, 2010
I will need to display the frames of an FLV at different rates.
Here are some examples:
the user will 'scrub' through the flv frames(front/back) the flv will need to play at half the speed on a user interaction.
Currently I'm using LoaderMax and it's VideoLoader object to load and play FLV files. I've tried using the playProgress property, but only the keyframes of the FLV are displayed. I got the same result with the basic setup(using the NetStream class)
As a workaround, I playback the FLV once, and cache BitmapData instances in which I draw/cache each frame of the video. After this is done, I use the BitmapData Vector to update a Bitmap on stage. Scrubbing/changing speed works fine with this method, but still the user needs to see(wait for) the sequence once, while it gets cached, which I don't like.
View 2 Replies
Aug 15, 2011
How to control FLV Playback in flash with Action Script? I want to play Video in my webpage similar to YouTube. I have done it with automatic play but I want it when you press play button, then play and pause, volume, next & back as well.
View 1 Replies
Dec 23, 2011
Is it possible to listen for when a streaming mp3 actually begins to play?
e.g.
var snd:Sound = new Sound();
snd.load(new URLRequest("my.mp3"));
snd.play();
When loading/streaming the mp3 file over wifi or 3G the playback might not begin immediately.
I need to trigger something when the audio actually starts.
View 2 Replies
Sep 11, 2008
I need help into handling an animation imported in FLV format which I have a 3D object rotating 360 degree in about 100 frames.I would like to control the rotation myself maybe using a drag scroll system in order to back and forth between frames manually
View 3 Replies