ActionScript 3.0 :: Chaining AC2 And AC3 Swf Files?
Aug 6, 2009I have a nice AC3 effect I would like to incorporate as an opening to an swf which was written in AC2.
View 1 RepliesI have a nice AC3 effect I would like to incorporate as an opening to an swf which was written in AC2.
View 1 RepliesI'm looking for examples of command chaining in Parsley. What I mean by command chaining is when one command returns a result that is then immediately used to initiate another command. I ask this question here because the parsley forums have been down for 2 days.
View 1 RepliesI have a video playback system that runs in a loop as it traverses the playlist of videos, doing something like this:On playback start:
-check for pre-roll ad, play ad if set to true; otherwise:
-check for branding video bumper, play bumper if set to true; otherwise:
-play video
On playback end:
-check for post-roll ad, play ad if true; otherwise:
-reset video
The way I have it coded/hacked works fine, but is less than ideal, especially as I plan to build on it. It looks something like this:[code]So, what's a better way to handle this? For an interactive timeline/map I've made in the past, there were a number events that were triggered at certain times during audio narration. Each event was unique (some were animations, others were text labels that appeared, etc), but I unified them as classes with a common 'time' property and common public go() function, and threw them into an array. As the narration played back I would check the 'time' property of the next object in the array, and once it matched I would call the go() function for that event, increment the phase position (so I know which array index to check next), and continue.
I'm attempting to take a process that previously ran multiple remote object calls in parallel and make them run in serial.I know it's a hackish approach (bandaid!), but so far my approach has been to take this for-loop that started each parallel request:[code]Where _pause_queue is a private global boolean for the class. In the fault-handler and response-handler functions, it is set back to false, so that the infinite where-loop is released and the for loop will continue.This is functional, but the UI only updates after the while-loop ends, which causes the negative side effect that it looks like the application is hung while waiting for a response.
Is there something I can put inside the while loop to allow flash to update the display? In VB (ugh!) I would use DoEvents, but I don't know of an equivalent for Actionscript.Alternately, is there a way to add a simple queueing system short of completely rewriting the application? This is legacy code and I'm on a tight deadline so I'd like to modify it as little as possible. (Otherwise I would rewrite it from the ground up and use Swiz to get the Event Chaining.)
OK, I now have Action Script 3 that will work for chaining FLV videos... or Looping an FLV video.
But when one video ends there is a short pause before the next one loads and starts... the progress bar for the Flash Player displays diagional green lines... and it is simply not a smooth transistion.
This happens when chaining or when looping.
And, even though I'm doing a progressive download... where the video starts very quickly... and plays while it downloads... there is a short delay at the start. That is not as noticable as the break between videos or when looping back to replay the same video.
The Question:
Is there a way to create a visual transistion... say a rotating object... or something to keep the motion/action going during that short interval?
I've seen something like this before... like two (broken line) circles rotating in opposit directions... or something.
It show the "busy" status or whatever I guess.
I have some files in my src directory, some are .class files (Java class files) and some are .properties files, when I create the Adobe air native installer these files are not included. Why is that? How can I work around that?
Also it excludes .mxml files, but that's good. I'm sure that's related, how to change what it includes or excludes?
I have created a flash file that allows you to click on a thumbnail image and larger image appears ontop of a tshirt. The same way as a gallery would work. The images and thumbnails are pulled in through xml. However I have a problem, I need the images that appear on the tshirts to be .png files or gif files as the tshirt colour can be changed. At the moment my flash file will only display jpegs! I dont knwo why. The jpegs leave me with a white background, so I need the transparency of a png/gif. My actionscript is:
[Code]...
My users upload a certain kind of text file that sometimeshas references to images stored locally on their hard drive. I needto check this file either on the server or within a flash app tosee if it has these references and then grab those images in aflash app to upload to my server.So I can use FileReference easily enough to have users uploadlocal images. But FileReference requires users to select their files with a dialog box. I can't have that. Myusers wouldn't know where to look and there are typically way toomany files, sometimes with the same name but in differentdirectories.
I can also just use URLLoader with a local URL, I guess I canprobably just use Loader too? That works great. The problem here isI can't communicate with both the server and the local filesystemin the same flash application due to Flash's security sandboxrestrictions. So I can get out of those security restrictions byplacing or editing a trust file in designated locations on variousOSes. I then need to install this trust file which is more invasiveand confusing to users then I want to be...Java's method of accessing local files from a web applet bysimply signing the applet with a certificate and having a dialogbox popup where the users grants access is ideal. Is there anything
iam streaming my web cam to FMS .... i have got a latency of 1 -2 second,,,,,, What should i do to reduce the latency,,,,,, is ter any change i can make in FMS files(xml files) in order to reduce the latency......
View 6 RepliesI was messing around with some old examples, and I ran into an unfinished example where several 30k-100k XML files are loaded and stored as a string into an Array. The code looks basically like:[code]Basically, when I trace the 'this', the order of the files that are loaded is off. Out of about 10 tries, about 3 times the order is perfect. The remaining 7 times, the order is a bit off. Does anybody have a suggestion on how to ensure the files are loaded prior to the next file being loaded? I tried placing a while loop that basically delays the clock for a few milliseconds, and that didn't work either. Besides, that is not really a good solution to arbitrarily waste clock cycles.
View 6 RepliesI installed Flash CS4 Professional trial version for school use. It wouldn't install successfully. I deleted the font files the troubleshooting guide said to, tried again, but gave up. (I'm afraid to run regedit and mess up everything else I have loaded.) (I previously had the Fireworks CS4 trial version loaded, then uninstalled it.) My problem is this- I have it running, but it saves files and then they can't be opened, even if I use the save function often- it's worse when I create the file, test the movie and then save.If I try to open it again, it says "cannot open file." Once it opened a copy I had saved, and it appeared blank, even though it was 544 kb file size. I only need it for a few more days, one more assignment and I'm afraid my previous files are corrupt. I have Windows Vista Home Edition.
View 4 RepliesI'm working on making a pretty chunky game engine for games I plan on making, but I was wondering if you make external AS files unopenable such as .lib files, so that if I give it to a friend that wants to use it, he/she cannot change my code. Is there anyway to make external AS files unopenable? Also, obfuscation isn't an option for this problem as it only stops the people who hack the finished product, not stopping people who have access to the actual files.
View 2 Repliesi have attached a flash file.the problems are
1) i have palced 2 flash file on my web page.if i stop the sound on this file then the sound on another flash movie placed on my web page also stops.i want both the files to be independent to each other and controlled separately
2)if i click on play it shows loading.even after it loads the file it doesnt change itz status. if i click again on play then itz status changes to play.my codes for flash.....
soundUrl = "test.mp3";
// create sound object, assign properties and events
function createSoundObject(){[code].....
my question is to diplay random files , and i have given the code as
[Code]....
one more question is "where i need to store all these movie files. either in samefolder where the flash file is placed. or make it as a seperate folder and or in the flash file library". and one more thing is "how can i place these 20 files in a order like declaring the dimensions on the screen. do i need to put in a CSS.
I am constructing a Flash animation and I was hoping to build it by scenes. These scenes would be individual SWF movies that I could import into my final Flash file in consequential order and when finished I would have a completed Flash Movie. There would be no interaction beyond Play/and replay. Where can I get information on how to construct this and is this a recomended way to do it?
View 7 RepliesI've tried exporting a MOV file using Flash 8. I've tried converting to a MOV using ffmpegx. Neither have worked.
View 1 RepliesCan anyone improve on this? Requires Sysinternals Strings
date /T >N:output.txt
net use z: /delete
net use z: \svr-002
[Code].....
Basically it mounts a share as a network drive then runs through the share looking for swf files inside office documents.
I have no experience with Adobe Flash because others have done this out of house in the past. (time has come for me to learn - quickly)
I need to simply create "swf" files from a number of videos I have finished in Premiere Pro 5.5.
These videos are 800 x 600 videos that display at "point-of-sale". The spec is swf and not flv.
(I do not need to do anything else in Flash apart from create the video file with the swf extension.)
Just wondering what is the standard in the Industry; does the client get the ActionScript Classes and the .fla file?
View 2 RepliesI came across that website to see some products news, then I find there was a nice flash tool. You know that decompiler can edit swf files to fla files. But this tool which I want to introduce to you can edit swf to swf perfectly, amazing right? Plz check it here:URL...
View 2 Replieshow to load for example two xml files, and how to address each of the files? The red comments will explain what I want
[Code]...
I am trying to prevent users from viewing my site and then simply going into their "temporary internet files" and stealing my swfs and XML files. I have been using a great .PHP code to stop this but now I am working on a server server that only uses .aspx files. Does anybody know of a way that I can stop files from being stored in the "temporary internet files" folder. I have encrypted the files but this is not good enough.
View 0 RepliesI'm in the process of making a web page that'll successfully checked as XHTML 1.0 Transitional ([URL]), but as soon as I place in the fixit.js script under the flash object and view the page in IE, all the flash elements turn white. Quote:
[Code]...
Anyone knows how to place in flash files in xhtml files on IE without manually controls by clicking on the flash file.
Is there a way to add .as files to a subversion repository but to get it to skip over my .fla files?
View 4 RepliesSo I'm trying out Ogmo Editor with FlashPunk and I've worked out how to load and display XML-based levels. What I want to do next is simplify the process of adding new levels.
Instead of embedding each individual XML into the source, what I want to do is create a single "World" XML file that'll include all the XML levels, embed that, and use it to store all my level data. That way, whenever I add a new level, all I have to do is add it to the world file.
I've done my research and I've found that there are ways of doing so - such as the !ENTITY keyword and XInclude - but I can't seem to get either to compile in FlashDevelop.
I've got an external .as file in the same folder as my flash file. In the process of writing the code, whenever I make a change and then test the movie, the flash movie is obviously still looking at the OLD information. I tried using the "Delete ASO Files" on the menu, to no avail.I can' find these ASO files anywhere on mycomputer.Aha! I tried something else. I quit flash,restarted and ran the same script with no changes. It returned the data correctly, but then gave me this unpleasant message:256 levels of recursion were exceeded in one action list.This is probably an infinite loop.Further execution of actions has been disabled in this movie.There are no loops of any kind in the code, which is below.
//This is the Person.as file:
class Person { public var HomName:String = "unknown"; public var HomEmail:String = "unknown"; public var HomPhone:String = "unknown"; public var HomSaveFreq:Number = 0;
[code]......
As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
View 1 RepliesDoes anyone know of a program that will change .swf files to .fla files? I have a couple of old .swf movies that I'd like to convert.
View 4 RepliesWhat are SVG files used for? Are they still used?
View 1 RepliesI've always been able to import dwg/dwx files into Illustrator, edit out layers I dont need, export to swf, and import into Flash MX. I just got some new CAD files that wont open in Illustrator and am kinda stuck without a solution. Purchasing new software is no big deal I just want to be sure that it will open these new files and be able to export to Flash in a usable format.
View 1 Replies