Actionscript :: Flex4 - Customize The Loading Animation?
Oct 6, 2010
I have a swf published into the web, I noticed that Adobe has provided some basic sort of loading animation, as I can see it when I loading the swf(including the library swf, the overall size exceeds 1M bytes). My question how can I add some text into it, like percentage? Or further more, can I write my own "swf loading progress bar"?
I try to load an swf in my flex 4 project using the following line of code: <mx:SWFLoader id="game_swf" source="demo.swf" complete="init()" /> the demo.swf file is another project i created using flex 4. the problem is that when i run the application i see only the loading bar of the demo.swf flash file and nothing else. if i try to load a different swf file (for a example a game i downloaded), it loads just fine.
I created few flex components in flash using flex component kit for flash. It generates a swf and a swc file. my question is, how can i load these flash created flex component at runtime and use them.
I've created a progress bar animation to load an external SWF file as described in this document: [URL] The problem is, the SWF file i want to load is a magazine exported from Indesign, so I want it to display one page (frame) at a time (you can go to the next page using the navigation buttons provided). When I use the method mentioned above the clip loads, but then it plays... so how can i make it stop at the first frame?
on a serie of buttons, each button loads a swf . Each swf works great apart, But when I load any of them through Loadmovie function, the image appears but without animation..
I'm working on a bit of flash that has some actionscript in it the randomly generates different snowflakes that move upwards on the stage. Problem is I need them to load into a target mc rather than on the top level of the main timeline and I don't know how to amend the code.
The code I'm using is:
snowNumber = 60; var flakes:Array = new Array("flake1", "flake2", "flake3","flake4","flake5","flake6") for (i=0; i<snowNumber; i++) {
is it possible to create a flash swf, put it online and save it thru the swf to your harddrive?
i want to create a small flash piece that people should be able to change the address of a link within the flash relative to their own site. then they save it and upload it to their server and use the "customized" flash piece?
I have a movieclip that shows an animation onRollOver and an animation on RollOut but onRelease the animation enlarge itselfs but now when I'll roll out when the animation isn't open (so i didn't release) the animation plays the animation for the minimizing of the animation. Here's my code (I know its a bit amateuristic but I'm not a programmer )
I am using a loading bar with % (percentage) . Everything seems to be working properly but its giving a little problem , it load 25% and then shows the loading bar. That mean while loading till 25% of the movie the is completely blank. Which is quite annoying and recognized as a bug. Required help from the actionscripting expertise. For further reference I have uploaded the site on this address : http:[url]....
I'm just a beginner to actionscripting. I have 3 movie clips in an animation. All I want to do is, I want to start running the first one, upon completion, the second one should start while the first running again. Any approach and the options available in AS2.0?
ok..i'm in the midst of extending/modifying this tutorial.... i understand the transition mc is the loading animation.... however i want to put a progress bar.
Basically I have a remote with forward, play, stop, and rewind. There are 5 songs. The mc, called player is within the main timeline. First thing I want it is to load the nomusic animation... which is a mc within the player mc. then when the music loads it'll play the workign animation when the song loads.also i'm trying to avoid going to different keyframes and states. so when song 1 is played, and if the forward button is pressed i want it to go the next song. etc...
I am writing an imitator of a car and want to move steering wheel by mouse.startDrag seems not fitted for the task...Can I customize it or write my own function(s) mimicking it?
I have a button which when clicked opens a new window. The code is a frame action in the timeline. Short of putting some javaScript in the page that opens, I am unable to set the width and height of the new window. Here's my code
In Flash 8 with AS 2, how to customize the crollbars of ScrollPane component? For example, change the default color of the scrollbars of the component.
What is the best way to set up a game where I can customize my character? I want to be able to let the user select the clothes, skin color, hair style, etc, and then run a preset animation with that character in it, but am unsure how to set this up in Flash other than building a bunch of buttons with all of the possible options (too time consuming and I bet there's a better way).
I am learning Flash CS4, and I would love to be able to customize the key bindings in the ActionScript editor. Ideally I'd like to be able to use Emacs bindings (e.g. CTRL-n to go to next line, CTRL-a to go to beginning of line, etc.), but I don't see any way to set this kind of information. As powerful as I am finding Flash, I am a bit surprised at the limitations of the editor.
What is the best way to set up a game where I can customize my character? I want to be able to let the user select the clothes, skin color, hair style, etc, and then run a preset animation with that character in it, but am unsure how to set this up in Flash other than building a bunch of buttons with all of the possible options (too time consuming and I bet there's a better way).
I have a video gallery that has 24 different videos to choose from. I am trying to find a way that a user can pick from the 24 to create a new customized list of videos to play. The idea is that a sales rep could choose the videos they want to show to a client and only show those videos. Currently the only way I can think of to do it is for me to edit the xml file with only the list of videos that they want. Maybe there is a way to pick the videos from a list, press an export list button that would then save over the xml file with a new xml file that only has the videos that they selected.
I have a column with 4 fields named : a> Main, b> Forward c> Back d> Link, if I use pre-defined sorting of datagrid with the column names which will be alphabetically, then the order is c>Back b>Forward d> Link a> Main. But, I do not want to sort based on the alphabets. I prefer to sort by names of the column fields. i.e. somehow give priority to each individual column field names. Like pre-define my own order.
I need to customize my alert box with two button and both the button need to have different skins on them. I was able to do it for one skin. But i am unable to figure out about the two skins. My code that i have right now is below:
I want to increase the (height) size and change the color of a spark accordion header, similarly I want to change the color of a spark panel header. Can I do this through mxml properties and css or will I need to use a custom skin?
I want to create a custom video player.I already have implemented the default player to play my streamed movies from Amazon S3 and my goal is to : customize completely the skin of the player add new abilities to the player like add text, images, drawings on the video at some cue points.make the player interact with javascript and forms using json for encapsulate the data.A "creator" want to add some text and a drawing on a movie (duration 4:00)He seek 1:30 and add a red bold text label: "Watch this carefully !"He seek 2:05 and add a white rectangle with 50% of opacity to overlay something.The player send json data to javascript.The "creator" submit the form and json-data are inserted in the database.In the frontend, some user play the video and see the text at 1:30 and the drawing at 2:05.What is the best way to customize the player in this case: Create a plugin ? Create a new player extending the JW Player ?