ActionScript 3.0 :: Resizing Subtitles For Flash CS4
Jul 29, 2009
useful code for resizing subtitles when you go to fullscreen? At the moment I have the following code, but when I go to full screen it resizes correctly on the first click, then if you go back to normal screen size, and then back to full screen again, the full screen subtitles are still in the smaller, normal screen size.
[Code]...
View 2 Replies
Similar Posts:
Oct 8, 2009
How i can add Subtitles to the Flash Video PlayerI am using my own Flash player , so Caption Component is not working
but i dont want to use embeded subtiles or captions
I am loading External video, and i Want to load subtitles as well
subtiles will be in timed text xml file
so i can connect my video to the subtitles ?
and I am not using FLVPLAYBACK component
View 4 Replies
Jul 6, 2011
I want to insert subtitles in youtube flash movies. As I can see, there is a site that can do this. URL...is the site and I am wondering how I can do this? If I make a flash player ang give it the url of a youtube video, it can play it?
View 1 Replies
Jun 24, 2010
I understand that Flash supports subtitles with cue points and XML files for flash video. First, I don't know if that would work for a flash animation, and second, I'm looking for a much simpler solution. I am more than willing to manually add and time my subtitles myself on a new layer. What I need help with is finding the simplest way possible to make these subtitles toggle-able. Why? Because I seem to have a serious allergy to ActionScript, and though I can master programs like 3D studio Max and After Effects, I seem to screw up even the simplest of Actionscript jobs.
Is there some way I can make a button that simply makes my subtitles layer invisible across the whole thing? Maybe a command to change the font to a blank one, or to move the titles off screen? There has to be SOME sort of trick that won't require me to drop a load of code into each instance of text. I'm currently using Actionscript 3.0 with Flash CS4. I'd also love to have a pause button that would also stop any music or sound effects that are playing, but after struggling with that for years, I seriously doubt that's going to happen. I did google this subtitles problem, and search flashkit first. Nothing but VIDEO subtitle stuff, and I'm almost positive it wont work the same for a regular animation.
View 5 Replies
Jun 5, 2010
I'm making a flash animation with voices and I wanted to add subtitles to it. What I actually want is an option in the main menu to change the subtitles between english, spanish and no subtitles. I know basically everything there is to know about the graphic part, but my action scripting is very basic. i can barely make a simple loadbar.The options I had in mind were:
1) two layers, one with the english subtitles, the other with spanish subtitles, and that a button shifts the visibility of those layers.
2) two movie clips that can be hidden when not chosen.
3) a dynamic text that will need endless lines of code (this means I prefer options one and two)And if any of those doesn't work, perhaps I can do like some other animators do, and use a hidden button during the animation, that when hovering over it, makes the subtitles apear... but perhaps it's better if I do that later.
View 4 Replies
Aug 12, 2009
if it is possible to have multible subtitles in the same flv/swf file?I'm using a FLVPlayback component which contains my flv video.On the stage I've also placed a FLVPlaybackCaptioning component linking my subtitles from a XML file to the FLV video. It all work fine.
The only "problem" is that I would like the user to select which language subtitle he/she want to see. I've only succeded to include one XML fil (language) per SWF file. Is there a way for the user to click on the subtitle button and select the specific language he/she preferes?In this way I can have all my subtitles contained in one SWF file instead of having multible SWF files.
View 1 Replies
Aug 31, 2011
I have a DVD (VOB, IFO files) that I need to upload to my site. I also have to add subtitles in English. I managed to rip the VOB file and add subtitles in Encore, but was only able to save it as SWF file. I can't upload this file to my site nor will you tube accept it. My site is basic html, created in dreamweaver. I have the full Adobe suite, you can see it at [URL]
How should i go about getting this video on my website?
View 1 Replies
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
Feb 9, 2011
I want to imply subtitles to flashmo video application.I downloaded fla code of Flashmo video. I found a nice as3 subtitle application.Subtitle link is given below. Both video applications are in as3 flash player 10 format. In subtitle application, video uses fl.video. In flashmo video, I did not understand the video structure.. So I don't know to imply the appropriate code.
View 0 Replies
Nov 1, 2010
I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:
I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.
From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..
in my library there is an image called 'pattern' and my code looks like this:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, resizeHandler, false, 0, true);
[code]....
View 2 Replies
Sep 11, 2009
I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?
View 1 Replies
Nov 2, 2010
I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .
I have an image in my library called 'pattern' and my code is as follows:
ActionScript Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
[Code].....
View 2 Replies
Feb 17, 2010
I'm starting to learn flash with AS 3. I can handle flash quite ok at the moment, but now I'm learning AS3.However, sometimes when I start Flash, the workspace "Actions" is larger than my screen. This means that a part of my script is not readable. #$Q^$!! I've tried everything to resize it, but didn't find a solution. I've flash professional for mac. I've tried switching 'workspaces' , try to move the workspace in another position. It doesn't work 'cause I can't drag the space above my screen.
View 3 Replies
Jul 20, 2010
Alright, so I'm playing several different videos at different sizes with the FLVPlayback component and something odd is happening that I don't remember happening before...Now, when I switch from video to video, the FLVPlayback physically resizes to match the height of the video... I don't remember this happening before. Before, the FLVPlayback would just vertical center the video no matter what size the height of the video is.
View 1 Replies
Nov 12, 2009
I got a flash movie mostly composed of bitmaps and not a lot of tweening animations or actionscript. I initially made it quite large but now my customer decided he wants it smaller. This'd prolly be a piece of cake if it was made of vector shapes, but since it isn't, I need to resize the source images as well (no point in wasting bandwidth or introducing resampling artifacts with big images). Most my movieclips don't have a consistent registration point so I'm afraid they'll move around if I just resized the images and updated them from the library.
So I'm just wondering if there's a smart way of doing this or should I just start everything from scratch?
View 5 Replies
Jan 30, 2011
I have flash resizing it's container div by using external interface to call the javascript:[code]Now this appears to work fine in every browser except chrome. For some reason after the div is shrunk back down to size, the flash player looks like it's frozen. It's actually not frozen because if you resize the window the flash player starts playing again and you can see it had made progress since it appeared frozen. This only happens in chrome. Does anyone have any idea why something like this might happen?The site so you can check it out yourself(yes I know it's a broken mess in IE, but I'm kind of ignoring that for now):[code]I've tried different window modes but that doesn't help. The problem is when it resizes the div back down because if I comment that line out the flash never appears to freeze. But I need to be able to resize the div...
View 2 Replies
Mar 31, 2011
I've got an animation in Flash that's made of a number of large images - too large it turns out - flash keeps crashing and running out of memory.
I'd like to scale these down to 50% but maintain their on-stage size in Flash (or at least keep the positioned the same). I've scaled them down on disk, but this scales them in flash too (so messes up their relationships).
View 1 Replies
Aug 19, 2011
I am using Flash CS5 and when I exprt my file to swf I notied that after exporting and playing it in Flash player (on my desktop) I can change the size of the window and the scene itself eventthough I have set the width and height dimension to e.g. 468x60.
So, the bad thing is that if I ahve some objects that are moving from this area and in banner I do not see them in flash player I can see all which is not good.
Is there a setting in export option to disable this behavior or some actionscript, so my client will not be able see the "mess-behind-the-scenes" :)?
I can probably remove some objects using actionscript, however if I have looping background image it is necessary to be bigger than 468px In my case 3x.
View 2 Replies
Sep 17, 2010
I'm illustrating a growing corn plant and want to start close up to the seed, then "zoom out" as the plant grows to 7'. Is there a way to link multiple layers, re-size multiple layers, or something else to achieve this result??
View 2 Replies
May 18, 2009
when i import a jpg file in flash and then resize this with the transform tool to for example 50% of the original size then im not getting the same result as resizing it in photoshop.if i first resize it in photoshop and import the image is smooth and looks the way i want but if i resize in flash the image gets edgy and not so good.so is there a way in flash cs 4 to resize the image with the same result as resizing it in photoshop or similar?
View 4 Replies
Jun 19, 2009
I would like to know how to resize flash to fit in browser/monitor sizes. This site http:[url]....is a perfect example. Notice how it opens with no scroll and fits to a window that matches your screen size.
View 1 Replies
Sep 9, 2009
Ive got a bg image in my flash movie and I want it to resize it 100% to the window when the movie resizes in the browser, but i dont want anything else in the movie changing in size, just the bg..
View 1 Replies
Feb 8, 2010
Is there anyway of resizing a swf after its been created in flash?
EXAMPLE:
My document size of my animation is 520px width by 680px height... when i resize this as an embedded swf in an html page (through source coding) to 382px width by 400px height.. the animation does not flow properly and there are occasional jerks... its not fluid.
Is there an easy way to do this in flash after its been created? Or am i going to have to start from scratch with the proper document size?
View 2 Replies
Jun 8, 2010
I was wondering if anyone knew how to scale pictures when doing a website in FLASH. I am creating a flash based website for a friend. I have done all the links and it works greatThe only thing is that the images increase as the web browser is maximised.I would like it to decrease as the web browser is decreased, but to increase to a certain size 900 x 651, and stay that size no matter how big the browser is increased by.
View 1 Replies
Jul 27, 2010
I made my movie of size 1400 x 400, butI'd like to make it of size 700x200 without losing much quality. Also I want to be ableto use it in a power point presentation, to whatformat can I convert it to add it to the presentation
View 10 Replies
Jun 23, 2009
I use a custom component for painting a graph on a canvas, now when the windows is resized I want to determine the actual width and height of my canvas to resize the graph as well, therefore I used the resize event I can use in mxml.Now I detected in my method for resizing I only receive the width and height of the canvas just before resizing not after. When grabbing an edge of my window and moving it slowly for resizing this does not matter but when maximizing or minimizing the windows, this plays a more important role.
View 1 Replies
May 6, 2010
I'm using the following code to load an swf in a pure actionscript project (Flex Builder 3)
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, Loader_Complete);
_loader.contentLoaderInfo.addEventListener(Event.INIT, Loader_Init);
var request:URLRequest = new URLRequest("Skins/TestSkin.swf");
_loader.load(request);
[Code]..
I have seen examples online where people say these work for them but whenever I set width or height in any of these ways, the loaded swf is simply not displayed at all.
View 1 Replies
Jun 16, 2010
I have coded a map that when a province object is clicked on, it should move to the center of the screen and grow a percentage of the width, along with displaying a number of different things.
The problem is that in order for the image to resize it needs to be clicked on twice. It moves, and all of the children display just as they were designed to do, but the resize doesn't work on the first click.
menuItem4_mc.addEventListener(MouseEvent.CLICK, onClick);
public function onClick(mc:MouseEvent):void {
menuItem4_mc.width = width * .65;
[Code]....
View 1 Replies
Jun 29, 2010
O.K I'm really confused about some resizing behaviour in flex and I'm hoping somebody can explain whats going on to me.I have a container movieclip 3 movieclips deep.MC2 is inside MC1 and MC3 is inside MC2.I have another movieclip that contains a bimap image that is 55 pixels wide and 38 pixels high.When I add this movieclip to MC3 the movieclip becomes 55 pixels wide and "48" pixels high.
View 2 Replies
Jan 20, 2011
In my Flash Application (AS3), I want to get the stage size and use that so my objects (which the user controls) can't go outside of the screen. However, when I use:stage.stageWidth;stage.stageHeight;The values I get aren't actually what I want. They give me the stage size, but if I resize the window, the numbers change as well. Now, in a html page, I don't think that will matter, because the user can't resize it... however, I'd like for it to be more solid than relying on the window size.stage.width;stage.height;However, those gave me "801" and "601", one greater than my actual stage size. Those values did not change when I resized the window, but they were one greater.
View 1 Replies