ActionScript 2.0 :: Project That Has An FLV With Cue Points Controlling When Graphics Appear In The Swf File?
Aug 4, 2010
I've got a project that has an FLV with cue points controlling when graphics appear in the swf file. The graphics are being loaded into empty movie clips via AS on the stage (everything is being loaded and unloaded into the first frame of the main stage). What the client wants is a pause button that will pause/play both the FLV and graphics being loaded in the swf.
View 1 Replies
Similar Posts:
Apr 9, 2005
I was wondering about MC and hey can help to lag a game out. I set up an advanced class system so i don't have to use MC to simulate walls, all i use isthe x,y,width and height. Well anyway since i don't need MC anymore I was wondering if there is a way to attach Graphics instead of MC cause a Graphics file size is relatively small than that of a graphic, I think. If anyone could tell me thats true and show me a way to attach graphics that would be nice. I haven't tried it yet but maybe if I exported the graphic from the library imihgt be able to call its name, but it doesn't have an instance name so im stuck.
View 2 Replies
Jul 20, 2009
I'm using the new 3D tool in flash to let pictures rotate around there center. To not let it look distorted I will have to adjust the vanishing points for these images separately, however I can't find an option to control them separately. The seem linked for all my 3D movieclips. This will result in having only 1 moviclip animated right. So the question is: how do I control the vanishing points for each movieclip separately?
View 1 Replies
Apr 13, 2011
I am trying to change information on my site using cue points in my video. My video is in a flash quiz and I am trying to change my objects such as an ad or photo with these cue points. In otherwords, when a video begins, or when a cue point is reached the photo outside the video would change. I am currently using cue points to go to the next frame after the video completes, but I don't know how to make it change things outside the video.
View 2 Replies
Jul 5, 2010
Here in Flash CS4 Explorer, I have shapes. It's intuitive that I be able to right-click on Scene1, and be able to Insert Shape. Can't. I go to the frame. Can't. I right-click everywhere. I see 'Create Shape', but everywhere I see it, it's grayed out - won't let me.
How do I create new shapes in the graphics folder in the library of a flash cs4 project?
View 2 Replies
Apr 7, 2009
I'm working on a flash project consisting of 25 separate .swf file. each file has a audio narrative in it which is controlled by "play", "stop" button.the way my project works now is every time you unload a current .swf and load a new one, you have to press "play" to turn on the audio narrative. since there are 25 narratives in total, you can see how annoying having to press "play" every time you load a new movie would get.
what I am trying to do is add a global audio control in first "index" movie which would allow a user to globally turn the audio narrative "on" or "off".so for example, if they like to hear the narrative, they can turn audio on and have the audio start automatically each time a new .swf loads. if they choose to turn the audio "off", then the audio should not come on automatically.as a added twist to this, I would like to give my user an additional control over the audio by allowing them to use the "play", "stop" buttons within each of the .swf files.
View 5 Replies
May 27, 2010
can anyone explain when I goto publish my flash file certain graphics and text are disappearing from the swf file?
For instance just some static text and also a graphic i've copied three times.. two show up but the third doesn't? really annoying help!
View 2 Replies
Dec 20, 2009
can i import vector graphics file *.ai file(illustrator generated) into flex3 ??
View 2 Replies
Nov 26, 2006
I have to make a project for school. It will be like a tutorial, but into an application. I already made a part of it in MXML and a bit of action script but I encountered a few problems that are over my newbie limits. So the Flex Builder 2 makes a SFW file, in the main folder of the "project". I want to make that SWF file my main executable file. I have a folder with some pics, and another folder with Action Script Files. The code lvl that I know atm is ABSOLUTE BEGINER... I don know how to make my SWF file have a specific name when I run it.Here is a picture of a training exercices that should make thing more clear:Some people told me that I should use a HexEditor and stuff. Is it ture(what u think?).
Next problem. I dont know how to make the Stage to be fix. I mean.. I dont want the stage to be resizeble. I tryed to change the stagescalemode but that wasn't it. I toke a look at the help files of Flex from the net, about the Resize action and SystemManegment, but I didn't find out what I wantend.
View 4 Replies
Jul 7, 2011
I'm making a game with Flash CS5.5 and exporting it to a APK file (AIR for Android).The trouble is that the APK file is really just a ZIP file, so you can extract the content and inside there is my game as a regular SWF file. Anyone can upload this to any website and play the game there.
I don't want the SWF file to work unless opened like it should, inside the APK file through Android.Is there any way to know through ActionScript 3 code if the SWF file has been extracted from the APK file and has been opened as a normal SWF file?
View 3 Replies
Feb 2, 2010
I copied code from one site and saved as Test3D1.as. The code is:
Code:
package
{
import flash.display.*;
public class Test3D1 extends Sprite
[code]....
and tested it again. I got message "test" in output window, but still no graphics.
Code:
import flash.display.*;
var ellipse1:Sprite = new Sprite();
ellipse1.graphics.beginFill(0xff0000);
[code]....
View 3 Replies
Oct 8, 2009
i am trying to receive in my function as a parameter either a shape or a sprite and then access their graphics property, but this gives me an error:
Code:
public static function makeRect( obj:DisplayObject, ...
var g:Graphics;
if(obj is Sprite){
[code]...
//1119: Access of possibly undefined property graphics through a reference with static type flash.display:Graphics.
View 1 Replies
Apr 18, 2011
I'm trying to find out if it's possible to use a .ICO file instead of a .PNG or .JPEG file in my Flash project. Is this even possible? The reason I'm asking is that the project I'm putting together uses ActionScript 2.0 code (not sure if that makes a difference or not) and displays a bunch of images for a bunch of different applications. So instead of creating a .PNG file for each application, since I've already got .ICO files on hand, I'd rather use those (saving me a ton of time).
View 4 Replies
Dec 17, 2009
I have 2 questions regarding bitmaps. Say I'm loaing graphics from a game off a server into a .swf file:
1) Which format is the best to use - gif, jpeg,png? (for non transparent images)
2) When a user plays a .swf movie it gets saved to their browser cache and its loaded the next time they access the same file, but when your externally loading images does flash have to re-download all the images or is it all stored in the browser cache?
View 2 Replies
Mar 1, 2012
I have flex sdk 4.6 installed and I want to compile AS3 class that uses FXG file for simple graphics. I have and fxg file called Speaker.fxg and I tried to import it like a package
import Speaker;
But when compiling it returns
Error: null
Also tried this
[Embed(source='Speaker.fxg')]
private var Speaker:Class;
private var sp:Sprite = new Speaker();
[Code] .....
I used the fxgeditor air app from here [URL]. I also tried using A. Illustrator exported fxg file and it compiles but the swf is blank.
View 1 Replies
Dec 20, 2009
I am trying to display photos as a slideshow with some transitions effect. I am having error when using TransitionManager, the error code is
"1067: Implicit coercion of a value of type flash.display:Loader to an unrelated type flash.display:MovieClip."
To me it seems like TransitionManager can only be used in MovieClip and the XML file is link to .jpg.
Is there a code to convert the Graphics into MovieClip and make the code work. Or is there a better way to do the slide show using XML data.[code]...
View 2 Replies
Oct 3, 2011
I have been tasked with trying to create a drawing tool that draws dotted lines as you drag the mouse across the stage. I can easily capture the points on MouseEvent.MOUSE_MOVE and store them in a vector and then draw the points as dots:
The problem is that I need to calculate evenly distributed points on an ever growing Vector of points so I can only draw the line between say every 5th point (say using modulus). I have been battling away with Bezier curve equations both Quadratic and Cubic but still can't quite figure out how to convert my Vector of points into an evenly distributed Vector of Points without sucking the life from the CPU.
View 1 Replies
Jul 7, 2009
I have a client who wants some graphics to appear "coming onto the screen from the sides." They are flames, to be exact. She does not want them to just come in inside the "box" (stage). She wants them to appear coming in from the sides of the browser window. Is there a way to do this? That is, can you make graphics or movie clips that start off outside of the frame appear in the browser when the swf file is saved?
View 2 Replies
Jun 16, 2010
When it comes to imported vector graphics are there any methods to decrease the swf's file size as much as possible? So far I have:
- imported an illustrator ai file (strokes 'expanded' in illustrator and unneeded swatches/ brushes etc. deleted and with no raster images embedded)
- exported the file in illustrator as swf and imported that swf into flash
- imported ai file and breaking it down to flash shapes
- optimized those shapes as much as possible
I rather use vector as much as possible. For a banner for examle, I've imported vector images of trees. I couldn't get it below 40 kb so I exported all illustrator files to png files which helped. Can detailed vector images be optimized just as much? Or is it better to use bitmap files when it comes to more detailed graphics? Does it matter if it is a vector images made in flash or a imported vector file even if both have the same number of paths?
View 1 Replies
Mar 30, 2011
I'd like to record audio from a microphone and I'd like the user to be able to add cue points during the recording so when he loads the file afterwards, he can jump easily to a specific position.
I don't really know what file format I should use and how to store the metadata (cue points)
I thought about
encoding a wav/mp3 and stores metadata in a .cue file (easy to do but 2 files to store)storing XMP data in a mp3 file (seems a bit harder but standard metadata embedded in 1 file)flv/f4v with audio only and standard cue points but I'm not sure I can create them directly from the client
View 3 Replies
Jun 21, 2010
I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).
At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png
View 2 Replies
Mar 9, 2011
I'm going to create a iOS app in flash and convert. I'm thinking I may want to load graphic assets at runtime. I'd like these assets to be vector graphics so they can be resized easily with no quality degradation. I usually use SWF files ofr this purpose. Unless I'm wrong, a converted iOS app probably does not load SWF files. So I'm wondering what kind of vector graphics file format can iOS load at runtime?
View 1 Replies
Jul 30, 2010
This has been a long time question, why, when you bring illustrator artwork into flash does it add so many unnecessary control points to the object? something as simple as a circle with 4 happy control points in illustrator suddenly becomes a 20 control point circle when brought into flash. It has been this way forever and I know that there is no setting to change this?
View 3 Replies
Mar 3, 2010
Can one.swf file control the actions of another .swf file contained in the same HTML page?ample:FloatingMenu.swf would control the timeline in MainStage.swf
View 1 Replies
May 10, 2002
I have one window for my navigation(N). The links open in another window(A)How can I tell window (A) to start playing the .swf on frame 2, from window (N)?
View 5 Replies
Sep 26, 2011
I was reading about Flex- JavaScript communication via ExternalInterface.But I had a doubt, it said that the javascript code should be written in the HTML file of the application ? Now which is this HTML file ? Is it the index.template.html file per project or the HTML file created per MXML application ?
View 3 Replies
Jan 23, 2005
I load a movieclip via:
on(release){
loadMovieNum("detection.swf", 1);
}
So I load it in my current timeline on level 1. Now in the detection.swf is a button that has to controll the first movie. (that loaded the swf)
[Code]...
View 1 Replies
Mar 18, 2010
I have a .swc file and I learned how to add that swc file into the library. I will be happy if any one explain how to use this .swc file into my flex project and run that with an example .
View 1 Replies
Jan 9, 2007
How to control the scalability of certain objects in a flash file. I'm trying to create a full page flash site where the scale of the certain objects stays the same, but a background image scales to how large a user's screen is. A great example of this is at "[URL]."
View 7 Replies
Jan 8, 2010
Another question regarding externally loaded .swf's!
In my externally loaded swf.s are a pause and play button which work perfectly using only:
on(release){yanm.play();}
(yanm being the name of my movie file containing my movie!!) and obviosuly the stop is with a stop!
Now I want to add a 'Mute' button so that the user can turn off the audio. What script would I use for this?
I also want to use a 'Rewind' or 'Restart' button to return to the beginning of my movie and begin playback again. What script would be used instead of .play?
View 3 Replies