IDE :: Preloading Imported Movies (QT, MOV Formats)?
Oct 3, 2009
I got two questions in my mind. The first one is which is a better format for importing a movie? Should I use QUICKTIME or other formats?
Now the second one is a little bit confusing. Let's say I have successfully imported any movie to my FLA file, I was wondering if their is a way to PRELOAD half of the entire movie before actually playing it, that way, audience won't wait for a very long time if needed.
I am working on a site and am using a lot of different scrollpane components that use outside .swf movies as its content. What I would like to do is create a progress bar for each section that uses this scenario so my users know it is doing something.
I have a list of external movies. I want to import them only once and then use them as many times as I want. I need to attach them to other clips the same way I would attach them if they were in my current library with linkage option on.suppose i have a movie called s1.swf in the same location with my movie. then I have this code:
Code:
function createObj(objname, whichMc, level) { _root.createEmptyMovieClip(objname, level); _root[objname].createEmptyMovieClip("mc", 1);
[code]...
I don't know why the event handler for the movie "mc" is not invoked ... I have no trace record in the outpus window.
apologies if this seems like a redundant question... i've been reading through all the turorials and forum threads i can find, and am just confused at to what exactly i need to do next.... my first time trying to use preloaders but am finding i need them in order to make my project run smoothly.... my situation: want to preload 5 swf files into my main movie, and have them at the ready to play when i want them to (either by an onEnterFrame or onPress).
i started working with some preload array script from Scotty i found on one of the threads, but elsewhere i've seen info about putting extra frames into the uploading swfs and am unsure what i need to do with this or how it would fit in with the below code. right now, when i try to play one of the uploaded swf files nothing is happening, and i'm guess my code is wrong there too, but don't know what to put....
I have several movies that will be loaded into a main movie. I am loading the movies when the user chooses to open each movie. The problem is that then the user has to wait until each movie loads. Is there any way to change this?
I am using a self modified version of Lee's carousel 3 tutorial on my website. A couple of my icons on the carousel are .swf movies that I have optimized. Is there any way to preload all of my swf movies that are being called up from the xml? I've seen the swf preloading tutorial but I'm not sure how to apply that towards the carousel or even if it's possible to do so since the preload is happening as the user first enters the site and not when a button is pushed, etc...
I have an intro.swf file that is basically a movie with sound that is exported for actionscript but not exported in the first frame. I just stuck it in a movie on my timeline and it works great and the preloader works because it doesn't load the sound before the preloader. I use :
musicSound = new Sound(); musicSound.attachSound("music"); musicSound.start(); to play the sound in intro.swf.
However, now this intro.swf gets loaded into an index.swf and everything works fine and the sound plays as long as I have the sound included in BOTH the intro.swf and the index.swf and the sound is exported on the first frame in the index.swf. I was hoping I could remove the sound entirely from my index.swf since it already loads into the intro but so far
I have been having trouble creating a movie clip with a reverse rollover effect within a movie which has a reverse rollover effect. that sounds confusing
In essence I wish to create a panel that rolls out on rollover and rolls back in reverse when the you rollout. I have done this using this script
[Code]...
However I wish to make movies within this movie that have the same effect on them. But when I create another movie or button within this movie it is not registering on rollover. I guess because the script on the main movie overrides it?
I'm creating a movie player on a website of mine.. similar to YouTube. I would like people to be able to upload their movies on to my site. So my question(s) are regarding the FLV Format and if you can play other formats some how like Movs, Avis, Wmvs and Mpegs?
(1) Flash can only play FLV files? Can you get it to play Movs, Avis, Mpegs... Can I some how put in codecs for them?
(2) Can people easily get their movies to FLV format? Is this an issue for people?
I don't want to make it complicated for them to put things on my site. I would like them to be able to upload movies with ease and obviously not make things too complicated for them. I want to make it as user friendly as possible.
I have an issue concearning existing file formats for export in Flash CS4. According to the user's manual in Italian I have found, [URL] available formts include EPS and AI. As far as AI is concerned, I have this option but exported AI files are hard to open in Illustrator, since a number of problems appear. If I separate all groups in Flash and then export to AI format, Illustrator finally opens the AI file, but changing the colours and the shape of my design.
Moreover, no dialogue box for Illustrator version options appear when I choose AI for export, as is described in the support page. As to EPS file format, it is not in the export file dialogue box, the formats I have are JPG, PNG, GIF, EMF, WMF, BMP. My point is that I draw in Flash, then I need to export the designs in Illustrator for print optimization, but the content changes dramatically, if I actually can open the files.
I'm loading external logo into my SWF with following code: var request:URLRequest = new URLRequest("logo.swf");var logoloader:Loader = new Loader();logoloader.load(request);addChild(logoloader);logoloader.x = 5;logoloader.y = 5; Everything works fine as long as I have logo.swf in right place. Is there an easy way to improve that code so that it wouldn't matter if there is logo.swf, logo.png or logo.jpg as long as one of those files exists in right place? I just would like to give my clients change to use other formats than SWF if they like, because some of them doesn't have flash or any other software with SWF exporting capability. all of them have Photoshop or some other Image software....
Im just about to get started on some serious actionscript. Ive been unable to locate any tutorials or examples of login user script. Has anybody seen any about?
I've been pondering the various ways in which video's can be used in flash, and how to use these methods to produce on different formats.The company I work for, creates multimedia presentations on CD. These are designed primarily in flash, the presentation houses a video that plays from start to finish, coinciding with slides that appear 'on cue' with the various slides. the presentation controls also offer the user the ability to skip through the presentation.Now we upload these presentations to our testing site so the speaker in question can see and check the presentation, giving feedback on changes to slide order or skip positions and so on... After the go-ahead the presentation is then burned to CD and mass produced from here url...
1. When uploading these presentations to the net, when the user starts playing the video, but wants to skip onto a later question, say 'question 10'... there is a delay in which the video stops and then plays several seconds later (often MANY seconds later) I did some looking into this, am I right in thinking that using 'FlashServer technology' will solve this problem? I am presuming the timeline cannot skip directly to this part of the video and begin buffering from here on a standard FLV?
2. When burned to a CD, there is still a 'pause' when skipping to different parts of the video (using FLV), although the delay is not as long as that of the online version, it still presents itself as a problem in my own eyes, when skipping from 'question 1' to 'question 9' were still waiting several seconds for the buffer to catch up... Is there a work around for this to make the skips more instantaneous? like like a dvd/cd skip? Perhaps and embedded video setup?
Its possible to assign 2 or more Formats to a text in a TextField?I have an var txtChat:TextField; and I want to assign a TextFormat to the user, and another TextFormat to the text of the chat, in the same TextField.
I was wondering: how to make a dynamic text box a little more customizable.what i mean: how do i start new paragraphs.. i've set it to multiline, but it just goes onto next line at end of current one which is fine
if i press enter, and go to new line in the actionscript, it creates an error, as the on function isn't finished...also, how to set the box to justify ALL test inside it.. even though i've selected the justify tab on the properties of the box, it doesn't do it properly ....
I was wondering if someone found out a way to load dynamically video formats other than "FLA" like "AVI", and the same question about audio files like "WMA".I want to support it so users in my site could upload these formats and watch them in the player I made, therefore the solution of putting them first in "swf" won't help.
Using the Embed tag, we can embed in the swf file not only swf's or jpg's etc, but also unsupported file formats like:[code]When i instantiate such a class, what type of object do i get? Is it possible to get a ByteArray from this class?[code]
I have a date field in flex and have the format set to YYYY-MM-DD. As long as the user clicks the calendar pop-up it set's it that way. However, I need to allow the field to be human enter-able so they can type in a date.The problem is, most users want to type the format MM/DD/YYYY. I have a tool tip that shows the format, but how can I check the format and change it to the YYYY-MM-DD format, or do something else appropriate (alert?)?
I'm having trouble with a spark CurrencyFormatter, which is failing to format the value 0 correctly.All other values are formatted fine.I'm using Flex 4.5Here's an example:
Is it true that the only file format that flash will stream from an external source is MP3? I know you can import other file formats into your movie etc... but thats not something that I want to get into.
I am trying to bring in multiple RSS feed nodes into one Dynamic Text field in Flash CS3 using AS3. I have made vars for my headline node and my description text node and I am able to have them both display in the same dynamic text field by formatting them with HTML tags. My problem is changing the text size and color for the description node var. Is this possible in the same Text field. Can the default text format be overidden by code?
Here is what I have so far....
ActionScript Code: //This code loads and Parses the RSS feed var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onLoaded);
[Code].....
I tried adding size = '8' in the <p> tag but it did not override the default size in the Dynamic Text Field (dtfa) properties.
I have a little issue im trying to resolve. Basically i want to inherit the embedded text format properties from one text field which i have off the stage (empty) to another text field i have on stage. Ive came across the function of getTextFormat(), however when i try to apply this to the other text field it doesnt work:
Ive embedded italics into my test field which is off stage. I guess im doing this completely wrong?! I know i could simply create a new TextFormat() then apply that to the text field but is there a way of inheriting the format properties of one tex tfield to another on stage?