ActionScript 2.0 :: How To Use Source Files
Oct 19, 2006
i found a source code that helps me get around a problem i have. but i do not kno how to use the source code.Do i have to put it in a certain folder or compile it so that the fla im working in can use the methods from it?
View 1 Replies
Similar Posts:
Jan 14, 2010
Are there any cs4 source files anywhere for a simple mp3 player? I looked in the components for a mediaplayer component and I don't see it.
View 1 Replies
Oct 16, 2010
I think i must be missing something very basic about packages and classes. I am often downloading source code from people who offer there source code on the internet. I think this is a good way to look at what people are doing and try to understand the code. Ideally I want to see the program in a .fla, see it in action when I "ctrl enter" and play with the code to change some things and learn a bit.
The thing is it always seems to be just .as files with public and private package/class code and never an actual .fla with the actual program. This is probably a really stupid question but is there a reason for this?
View 4 Replies
Aug 16, 2009
I'm trying to learn more about flash, and have found a couple of useful sites.However, I'm having trouble working out how to use their source files, and wondered if anyone here might be able to help please.url...I can't work out how to compile it - I know I need the Five3D files (url...), but even when I download that, and then create a .fla file in the same directory, nothing happens.I am probably missing something very obvious, but I can't work out what to do.There is a .fla file, but there is NOTHING in there that links to the .as file - there is no ActionScript at all I can see if the FLA file, that links to the .as file.
View 2 Replies
Jun 11, 2010
I have a small flash project. I created a SWF from the flash sources.Unfortunately all my flash sources related to the project are deleted.
I left with the SWF file. Is there any way that I can retrieve all the flash source files from the swf file ?
View 1 Replies
Feb 9, 2009
It is fully finished and before the site was finished we discussed charges for updates. They just requested the source files. We had never discussed this, and I do not want to give away my source files and all of my code. What is standard? Am I wrong to have them go through me for updates since this is what was discussed?
View 8 Replies
Dec 27, 2003
1. I was just wondering if anyone were able to save some of Erik Natzke's (Natzke.com) case studies especially Typography... His source files are available through Paypal but such Paypal is not offered in our country (I may not have 80$ to pay for that either
View 4 Replies
Mar 19, 2005
GrrrRrrRr been searching endlessly for days for tutorials or source files for the timer. Just a simple timer that counts down by minutes and seconds for 10 minutes. the closest i got are a bunch of codes that I'm not really good at translating...So could someone teach or give me a source file? just a simple timer that will trigger the end quiz page when time is up.
View 3 Replies
Jan 11, 2011
trying to use a CMS to import swf files. These swf files currently access source files through the standard code of: [url]...
and all works fine when testing on my machine because the swf is next to the file folder [url]....what I need to figure out is, is it possible to reference the [url]... folder as an absolute URL e.g. (http:url..) or is there another workaround I am not seeing?
View 2 Replies
Jul 24, 2009
I am trying to center align a caption for a Photo Gallery.But by default the captions are aligning to Paragraph Left.You can view the link here:
Photo Gallery
-------------------------------------------------
Here is the text format code from the accompanying *.as file:
-------------------------------------------------
var tf:TextFormat=new TextFormat();
tf.font='Verdana';
tf.color=0x3;
tf.align=TextFormatAlign.CENTER;
var t:TextField=new TextField();
t.embedFonts=true;
t.alpha=0;
t.selectable=false;
t.setTextFormat(tf);
addChild(t);
-----------------------------------------------
To have an idea i also included the source file *.as files.
View 6 Replies
Nov 24, 2010
I'm currently working on a Java/Flex project and I'm looking for a way to generate some parts of my Actionscript code from my Java files. One of the goal is to generate the AS valueObjects from the JAVA transferObject as well as some AS code to access the serverside function asynchronous.And other important point is that I want to be independent of some IDE. The code generation should run from Maven or Ant and take the Java source code as input.I looked a little bit around and found stuff like SpringROO, Groovy-GRAM, AST in eclipse,..
View 6 Replies
Feb 9, 2011
According to the answers to this question here, the reason why I'm not seeing errors as I work in Flash Builder is that FB is "optimizing" them out because they aren't referenced at any point in the code execution. Is there an option to force Flash Builder to compile all files regardless of whether they're used in the software?
View 2 Replies
Jan 31, 2002
I've created something that comes close.Download includes all open-source material and a manual to create your own audio-driven animations in Flash 5, and a player skinned by renascent of [URL]
View 8 Replies
Jan 27, 2012
I am using Flash Media server 4.5 and i read the tutorial if i want to stream the live feed, i may need to use the media live encoder.
but what i found in media encoder is i have to manually setup everything and it only support camera devices. But in my case i have multiple video files keep received from another program and place it on file system (server),my goal is use the Flash Media server to perform a live boardcasting with these video file one by one. That means when client watching a live streaming, they will not notice the server is playing mov1, then mov2, then mov3, then mov4... and so on.
You can imagine i am trying to boardcast a live footage say for 60sec, but the video file will not recorded entirely after 60sec, instead for every 10sec i will save a new video file, so that when client watching the live by HLS [URL]when the time reach to 10sec, a mov1 video file available and FMS should boardcast this video on live123.when the time reach to 20sec, a mov2 video file available and FMS should Immediately follow the mov1 boardcast on live123.and so on...Also can FMS dynamically create a new streaming session (invoke by code), so that when client A uploading some video files to the server, the FMS open a new streaming session only stream cilent A video files?the configuration to boardcasting like screen size, bit rate, etc should be pre-defined on the server. [URL]
View 5 Replies
Aug 26, 2010
i have a Air Project in which i have added three extenal source folders. but when i reopen project or strat flash builder again i get icon on those folder like this but when i open the configuration for that project and try to validate the path and adding it again i get message like this but the path is valid. proof is this pic what could be possible error,,, is there any way that i when ever re-open project i get no warning and able to navigate through the linked source code. now i am doing it
1- deleting on of the linked folder
2- again adding that folder.
View 2 Replies
Jan 11, 2010
So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.
Code:
<mx:Script source="com/domain/something/somethingelse/app.as"/>
I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.
View 1 Replies
Aug 31, 2011
I have this standard embed code to play my video:
<object height="409" width="600"><param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" /><param name="flashvars" value="src=rtmp://my-server/vod/flv:my-video" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" flashvars="src=rtmp://my-server/vod/flv:my-video"
[Code]...
View 4 Replies
Aug 21, 2009
So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.[code]I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.
View 2 Replies
Feb 20, 2012
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?
View 1 Replies
Apr 7, 2009
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]...
View 2 Replies
Feb 3, 2009
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
View 4 Replies
Sep 8, 2009
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 Replies
Jul 18, 2006
I 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 Replies
Mar 20, 2010
I 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 Replies
Jul 19, 2011
I'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 Replies
Jul 13, 2005
i 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].....
View 1 Replies
Nov 29, 2007
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.
View 1 Replies
Nov 30, 2011
We've updated to Flash Professional CS5.5, but are noticing that when multiple users access the FLA over AFP network file share off our OSX Server, they are not restricted from opening the FLA at the same time.Could have sworn that's always just worked in past versions. Most apps just refuse users access to open files; Other apps like Office warn us of multiple user access to open read-only.
View 2 Replies
Mar 27, 2011
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 Replies
Nov 16, 2011
I've tried exporting a MOV file using Flash 8. I've tried converting to a MOV using ffmpegx. Neither have worked.
View 1 Replies