Professional :: Scene Under Flash In Percentage
Apr 26, 2011Is it possible to have a scene under flash cs 5 with height 100% and width 100%?
View 4 RepliesIs it possible to have a scene under flash cs 5 with height 100% and width 100%?
View 4 RepliesI want to animate the percentage of a loading scene. I just want to move the dynamic text box and fade it as it gets closer to 100%
View 1 RepliesI want to animate the percentage of a loading scene. I just want to move the dynamic text box and fade it as it gets closer to 100%.
View 1 Repliesive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.
[Code]...
I'm making a Jeopardy game. When someone clicks on the button with the dollar amount on it, I have it reset to a different scene on the button so the players know it has been used. When another button is clicked, the first button resets back to its original dollar amount, rather than the blank scene it was reset to.
View 10 RepliesI'm creating a demo presentation that uses imported MP3 audio and static images basically panning around - simple stuff. I have it broken down into scenes to be more manageable. So at the end of a scene, I'll have this line:
gotoAndPlay(1, "Scene 2");
Which works just fine.
The problem is during the playback of the SWF, I get odd skips, generally at the beginning of a scene. Is this expected when using multiple scenes? Is it possibly something to do with the audio playback? I'm trying to make sure the MP3s do not start at exactly the beginning of the scene, but I'm still getting the problem.
Also, are there any tips on including MP3 audio to make things smoother? I'm running at 18 FPS.
I have four scenes, it loads on the first scene. I click the button which sould go to scene four but it goes to scene 2.
View 2 RepliesI am creating a webpage in flash, and for now, it consists of 3 scenes. First one is a loading bar, scene 2 is a main page with all menus, and on 3rd scene there is a gallery. I plan to make many galleries, each in different scene. Everything is ok to the moment, when I want to go back from scene 3 to scene 2. Scene 2 consists of many layers and movieclips, however, the main timeline consists only of one frame. When, in scene 2, I will get to the moment from which I am going to scene 3, so to some gallery, then after I am comming back to scene 2 (via gotoAndPlay('Scene 2', 1)), I am getting to scene in a state, as I see it just after loading bar disappears. But I want to be in a place, from which I went to scene 3. How do I achieve this? I think, there should be a way of remembering status of the scene 2 in such a way, that after comming back from scene 3 I would be in the same place from which I left to the mentioned scene 3. Be advised, that scene 2 is in one frame, and all movement in the scene 2 is done by actionscript and movieclips. I am using AS2.0.
View 7 RepliesIs there a surestarter preloader in AS3 with CS4? Meaning here, showing a progress bar or percentage value before loading the main swf, right away at the start of the loading.I tried 3 different versions:
1- I used the code from a video (and accompanying files), and simply changed the content.swf to my own swf file (rename my swf content.swf), so that the original code would load my swf instead of the original content.swf. (original content.swf was too small to see anything before loading, because my loading speed is too fast).Here is the code from the original preloader (loads a small swf which then loads the main swf file):
var l:Loader = new Loader();l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);l.load(new URLRequest("content.swf"));
function loop(e:ProgressEvent):void{ var perc:Number = e.bytesLoaded / e.bytesTotal; percent.text = Math.ceil(perc*100).toString();}[code].....
how to determine the stage magnification not via the zoom tool but by insert number as the percentage of the stage magnification?
View 5 RepliesI've been searching to find a simple answer to external preloaders, but it seems there are many ways to accomplish this with ac3.
I am new to as3 and this is what I've come up with so far:
green_mc.scaleX = 0;
black_mc.scaleX = 0;
var loader = new Loader();
loader.load(new URLRequest("zibapistachiointeractivesmfilesize03.swf"));
[Code] .....
Everything else is working except my dynamic text that should also be calculating the % of loading.
how to delete a scene, in Flash CS5? I have two scenes in the current .fla, and I want to delete one.
View 2 RepliesDId things change in regards to publishing scenes? I know I can publish preview a scene with the option-command-return, and that still works, however it does NOT replace the swf file in the location chosen in the Publish Settings.
I have an old .fla I need to get swfs published from each scene... this used to be a piece of cake.
I'm creating a programme on flash where some of the scenes have FLV players playing various videos. They all work fine, stopping and playing etc. However when I leave the scene by clicking my "home" button, the video stops, but the outline of the player stays up in the new scene!
my code is reading;
stop();button_24.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_98);
function fl_ClickToGoToScene_98(event:MouseEvent):void{ MovieClip(this.root).gotoAndPlay(1, "catchup");
[Code]...
I have a project set up as scenes.In scene 1 there are two buttons visible from the frame 1licking on these takes us to scene 3 or 4. They work fine. I used code snippet "Click to Go to Scene and Play" the action script is on a keyframe on frame 1 as that is the first frame the buttons appear.From frame 120 a third button appears. So on this frame I have actionscript go to and play scene 5.Problem is it goes to scene 3 instead, like the firstbutton. The buttons are not near each other on screen so its not a case of accidentally clicking wrong button.I think maybe I should've set up my project as movie clips within 1 timeline but I'm too far down the scene route now to change it at this stage.the buttons are all invisible so maybe the third button should also be present from frame 1 and just disabled until frame 120?
View 1 RepliesCheck out this code:
[CODE]...
everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried
[CODE]...
I've got a flash site which works fine... except, the preloader percentage in IE is.. well.. not how it's supposed to be... I tested it on every popular commercial browser and it goes from 1 to 100... in f...ing IE it persistently goes from 1 to about 470... ?!?!?! WTF?! btw: the preloader has a rotating circle and a text which displays the percentage... here's the code:
[Code]....
I am try to go from a main scene to a second scene in Flash. The code work just fine to take me there, but when the scene appears it seems that I lose focus with the scene and the actions that should runs doesn't until I click once on the screen. Now I am using a button to navigate from one scene to another. If I use a movieclip instead of a button then everything works just fine. In my second scene I am using the keyboard to control different things in the scene.
View 1 RepliesI'd like to know if there's anyway I can compare two BitmapData and get a "similarity percentage" (knowing how look-alike they are). I've done a bit of research and came across bitmapData.compare(otherBmd), but that only returns if they differ in size, or pixel, and not how much they differ. The point of this was to compare some Bmd obtained through a camera with a library image (so this is what I got so far):
import flash.display.Bitmap;
import flash.display.BitmapData;
var img1:BitmapData = new monaLisa();
var cam:Camera = Camera.getCamera();
var video:Video = new Video(camMock.width,camMock.height);
video.attachCamera(cam);
[Code] .....
I'm working on my first Flash project, and for my preloader I'd like to do a really simple gradient based on the percentage loaded. The preloader says "77% loaded...", where the number 77 is a dynamic text instance called percentLoaded. I'd like the textColor of percentLoaded to change on a gradient from #000000 to #FFFFFF, in gray-scale.Therefore, I can't simply do:percentLoaded.textColor=(currentValue/100)*0xFFFFFF;This just converts the textColor to a multiple of FFFFFF, but outputs a color since it's not three separate components. Currently, here's what I've got:
View 4 RepliesIn AS3 flash - I have a textField with a CSS in it that looks like this:
body {
fontSize: 10%;
}
When it runs, the font is small. When I click the full screen button, I expected the font to increase proportionally because I set it for 10%. However, this is not working, the font stays at the same size as when not in full screen. I have debugged the onResize event and I can see the style fontSize=10pct when I log it out.
Am I misunderstanding the meaning of % here? I was hoping it would increase the fontSize automatically when going to full screen mode, but that does not appear to be the case.
Since Flash doesn't support multithread how do you that in actionscript 3?
View 1 RepliesI have two scenes, one acts as a preloader. It contains a flv video that should play before the other scene is loaded. I'm having a hard time trying to figure out how to specify this logic on the timeline. For example, I want scene 1 to play until frame 20 and scene 2 to start at scene 21.
View 5 RepliesI wonder if it is possible to change the tempo on 1 scene then return to the 24 fps on all the other without having to change the tempo of the whole flash.
View 4 RepliesI have an ActionScript project set up using the Flash Builder IDE. Using the Flex 4 compiler to compile it. At the top of my application class, I have:
[SWF(width="100%", height="100%")]
public class MediaPlayer extends MovieClip {
This is not acceptable to the compiler to do a release (it throws errors saying it can't parse the width/height values). Pretty annoying. I've tried to do things the "right" way, but none of the following work:
[Code]...
So the width and height attributes are being explicitly set to numbers here. I don't know much about the 'scale' attribute; maybe it is coming in to play here? And, to be clear: it will work as expected if I set the [SWF] meta tag to have width "100%" and height "100%"... so it seems like it actually is preferring the compiled arguments over the browser environment. Perhaps there are other settings I am missing?
I'm looking to do a preloader for my site, what I want to do is that the user sees the percentage loaded, but instead of the typical bar filling up, I want dots to fill the screen. Each dot would appear with each percentage loaded. So for example, if its on 5%, there would be 5 dots, when it moves to 6%, another dot would appear on the screen. So in the end there would be 100 dots/circles on the screen. maybe say in a 10 by 10 grid. I know how to make the percentage loaded appear, but have no idea about the dots.
View 5 RepliesI've got this scene which is a movie clip; the only movement is in the models eyes, so I want to add invisible buttons around the scene that the user can interact with. When a certain object is clicked (the button) it triggers a short movie clip in the bottom corner of the scene, which is basically a text box typing letters.
However, I've tried to do this and I've come across two problems.
One, I can only click the button once, it won't repeat itself again.
Two, I can only seem to add one button as it's a movie clip and it messes with the others in the scene.
Here's a screen grab of what I've got: [URL]
I want multiple buttons in this scene, and I want to be able to click them as many times as I like.
I have on Scene 1 progress bar (progressbar component), and on Scene 2 animation. I am trying write as source progress bar Scene 2 but I still have and error: Error: Source clip 'Scene 2' not found on parent. [URL]
View 5 Replieshow to link the button I made to say Scene 2 of my flash project. I'm not sure the actionscript required or where I put the action script.
Here is the file I'm using, trying to simply figure out how to make the open button go to scene 2. [URL]
I currently have only one scene, but when I insert a new scene (insert->scene) it is labeled #5225 and not #2.Why is that? BTW, I'm using Flash CS4.
View 2 Replies