ActionScript 2.0 :: Use Methods To Produce On Different Formats
Oct 28, 2009
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?
*Can two CS4's produce different published .swf from the same fileset?I have a flash suite written by a young man in China.When I test the .swf file in the suite it works fine.However I need to make some minor redesigns so I need to change the .fla file - but before I do I found that when I publish a new .swf from the .fla file (with all the necessary action scripts/xml etc in the right place) it doesn't produce the same outcome. Instead the navigation (next page, items per page etc) is missing.
When he does the same thing (I trust his integrity) he gets the new .swf with the navigation in tact.You can see the two outcomes at the web address below (mock data).There are no code changes, no library changes that I can find.So I thought maybe there is something about different settings or 'environments' that can affect the outcome?
[code]There are no errors produced when this runs and a .air file is produced but when the .air file is double clicked I get the error message:"The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author."
I have FMS 3.5 (Dev. Edition) and I'm trying to get it to add DVR features to an existing feed on another server (that I do not control). I've created the following application on the server:
var nc = new NetConnection(); var localStream = Stream.get("dvr-148"); nc.onStatus = function(info){ if (info.code == "NetConnection.Connect.Success" && nc.isConnected) { trace("We are connected"); playVideo(); [Code] .....
The issue is, when I run this code, I get a "StreamNotFound", if i change the "0" to a "-1" in the play() call, I get the stream (as a live feed) but cannot seek() in this stream.
I've seen it done on sites, and it's totally baffled me. And I'm not talking about those nifty effects where the line twists, and flexes when it bounces back to it's original size, I'm stuffed just with making a straight line have an elastic feel.Here's what I want to do.Have the bottom of the line anchored, and the top part linked to an object which I can move with the mouse. Moving that object will not only stretch or shrink the line, but it would also change it's angle based on where the object is.
I am trying to produce a photo gallery with thumbnails. I cant work out whats wrong i keep getting these 2 compiler error codes, 1021: Duplicate function definition & 1023: Incompatible override.
This is quite worrying because I am developing in Eclipse (which uses mxmlc) yet my master build script (which uses flexmojos) is producing a totally different file.
This must be simple but I am unsure of the syntax for the variables and the text fields. I have to produce 200 variable names and use the variables to populate text fields. I would like to use a for loop and possibly an array.Here's what I'm trying to avoid:
ActionScript Code: var weekDay1Text = evt.target.data.weekDay1Text; var weekDay2Text = evt.target.data.weekDay2Text;
I followed this tutorial: [URL]but I work in CS4. I followed the tutorial to the letter, but apperantly there is something wrong... All I see when I test the movie is this:
I have implemented a flash detection script (downloaded from [URL].. Because I have Flashplayer installed I cannot produce a situation to test this script on my browser. Has anyone an idea how I can test if this script works on browsers that have an old version or no Flashplayer installed?
function spaceCalc() {//selected item from a list trace(mainList.value); //selected item from a group of radio buttons trace(sizeGroup.selectedData);//trying to make it realise that mainList.value is the name of an arraytrace(mainList.value[sizeGroup.selectedData]);}
I'm trying to use two components to collectively produce a result from an array. This is what I have so far...
PHP Code:
function spaceCalc() { object = mainList.value;objectB = sizeGroup.selectedData; trace(objectA[objectB]);}
I have used a code to produce random of images in a flash movie:
var ldr:Loader=new Loader();addChild(ldr);ldr.load(new URLRequest("ima00" + (Math.ceil(Math.random()*5)) + ".jpg"));
With that code, besides the random of images each time you acess the website (that is ok!), it keep changing the images while you still with the swf open. We would like to change it, making it to load a different image each time we get in the web site, but making the images to keep still, not changing while the film is open.
Several months ago I created numerous flash files that use a wingdings checkmark. Recently I had to update these files, and now every single one of them displays as the Arial equivalent (umlauted u). It shows as the umlaut in FLA and in SWF. Selecting the unlauted u, looking at properties confirms the font is set to wingdings. Copying a wingdings checkmark out of another app and pasting into Flash, it immediately overwrites to the umlaut. In fact, changing it to any font just makes it a slightly different umlaut.
The easy question is, "What changed between when it worked, and when it doesn't?" and the answer is I'm not sure. It's the same Flash installation, same machine, same OS, etc. I've tested this with co-workers. Those who open the exact same file on XP machines see the checkmark. Those who open the exact same file on other Vista machines see the umlaut. I have an XP machine to my left, and a Vista machine to my right, and I'm seeing both a checkmark and an umlaut off the same FLA.
I followed [URL] but I work in CS4.I followed the tutorial to the letter, but apperantly there is something wrong... All I see when I test the movie is this:
I tried to change the publish settings back and forth, but using Flashplayer 8,9 or 10 and actionscript 2.0 or 3.0 doesn't make any difference.
I have an Air application that lets users import jpg, png and swf files and use them as the source to an Image which they can drag around a Canvas.he import function copies the selected file to an images directory inside ApplicationStorageDirectory.When I click on an Image that has an swf as its source, I get a Security Sandbox Violation (eg. SecurityDomain 'app-storage:/Project1/images/menuBarBkgd.swf' tried to access incompatible context 'app:/Main.swf'). My mouseDown handler doesn't get called so I can't select it and allow it to be dragged.
I am trying out some code, which is supposed to produce a simple button with an over, upstate and downstate, but I only get a blank white canvas when playing the swf. I have the code added to frame 1 of the timeline. I am guessing I am doing something wrong, but don't get any errors.
produce some very simple checkboxes to insert into an elearning program.The Checkboxes he created before he left are apparently overly complex and refer to _root and/or _level0, which is a no-no for the elearning software.I've done some web searches to see what I can find but honestly I haven't felt this stumped since first year calculus.
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 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.