ActionScript 3.0 :: Flash Linking To Source Files?
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
Similar Posts:
Aug 16, 2010
I'm trying to visualize the results of a quiz in ActionScript 3.0.What I would like some input on is how to best link the "filters" (top right corner in attached image) to the data source in a flexible OOP way.The result array now contains both number of correct answers and meta data about the person taking the quiz. The meta data could be both discrete (sex) or continuous (age).
results = [{name: "Lisa", correct: 5, sex: 0, age: 52}, {name: "Peter", correct: 3, sex: 1, age: 32} ... ]
How do I tell the boxes to, for example, change color when I change filter?Should each box object hold its own data or should there be some sort of controller listening to the filter object to dispatch an event and thereafter call a box.setColor method?
View 2 Replies
Dec 1, 2011
i am creating an app two swf file ( one is interface file and another one is output file) in AS2. i in connecting the two swf files. i.e if i press any button in one swf it have to sent data to another file and it have to trigger some function in that file.
View 1 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 2, 2011
If you compile a Flash project into a .swf file and that project refers to another .swf file, is it linked statically or dynamically? That is, is the second .swf file contained physically in the first .swf file or does the first .swf file refer to the second at run-time?
View 1 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
Nov 12, 2009
So I have main .swf file(I'll call it movie1) that leads to webpages that are not in the movie. The webpage has a navbar which is a seperate .swf file (I'll call this movie2). I need the buttons on the navbar to link to a certain place in the main movie. Is there a way to use gotoAndplay in movie2 to go to a scene in movie1?
View 4 Replies
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
May 22, 2010
So, I'm making this website, and each page is a separate swf file. Let's call them 1.swf, 2.swf, 3.swf.. 6.swf.So far, I suceeded in linking page 1 to page 2 using Loader, but there's a problem. Page 2, in the player, is OVER page 1. That mean's you can see page 1 where you should be seeing page 2 background.My question is, is there anyway in AS3 to unload or close page 1, right after page 2 is loaded?
View 1 Replies
Jul 25, 2011
I made several SWF files and I am trying to link them together but I am not sure how. Right now I have 3 applications, and a main page. All 4 SWFs were compiled from different FLA files. The main page has 3 buttons that links to all 3 of the SWF files. When I tried to do a URLRequest-URLLoader method to load the swf files, I realised I had to compile all the MovieClips of the 3 applications within the main.fla for them to actually work when you do URLLoader to load them(or it will throw a missing file error). I couldn't move all the graphical assets into main.fla as there are many replica names of different graphics from all 3 different application fla files.
Is there a way to still link up different SWF files without the need for all the graphics to be in one similar FLA file? or is there a way to remedy my situation without having to rename all the MovieClips?
View 9 Replies
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 17, 2011
I needed to break it in smaller pieces because it is a large file (over 300 mb) and every time I wanted to publish the entire project flash crashed.
Here is my test: I have two exe files that should link back and forth. Intro_YIM.exe, which has a button that links to Videos_FrontPage_YIM.exe Here is my code, which is in Intro (button name= nav_4).
[code]...
Problem: The link seems to work, but there is a message that says save or run. When I click run, there is another message that says the file can't be open.
Questions:
1. Is there a better way to handle links using executable files using Flash CS5 and AS3?
2. If swfs were used, how can I have a main page displaying all other swfs as they are linked?
View 5 Replies
Jun 26, 2009
Files: Attached is a link to a file I made named "index". [URL] I would have liked to have included the following files but was limited due to "you-send-it" not uploading folders. Files not included: [but functioning and vital to the site as well as the question]
- xml list
- images [folder]
- thumbnails [folder]
Project scope: Website is an online-art gallery. I was able to get a functioning xml rolling thumbnail bar as well as have it load images. [Due to certain circumstances I was forced to put the project on hold until now.] It consist of 17 buttons, on the index [home] page, which are to call upon an xml file to load the appropriate scrolling thumbnail bar and the images which it loads upon clicking.
Problem
When you open up the index file, go to the actions layer. You will see the script needed to load in the xml scrolling thumbnails as well as the associated images. The actionscript is fine and works in as much as when I save out an swf file the thumbnails dynamically load in and when I click on them the associated image loads to stage as well. [again if you download the index file you will not see this as not all the files were able to be uploaded due to "you-send-it" as mentioned.]
[Code]....
View 8 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
Nov 17, 2010
I have about 12 SWF files that I need to play as one swf file
Heres were i'm at right now. Opened new file. Imported each swf file into the library. in one layer I have 12 keyframes each with one of the swf files in it. I need the swf to play through then go to the next keyframe and play that movie and so on.
I guess the question is I'm not sure where to put the actions (on each of the keyframes or in the swf file or both) and I'm not sure what actions need to be used.
View 9 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
May 13, 2009
ok so i've created (X) amount of .flv's and i basically want a slide show but i didn't want to make it all one file bfcuase the time line would be longer. i need to link all the files so that when i play the first one it will auto load the rest one after another.
View 5 Replies
Jun 9, 2009
I am trying to figure out how to link a bunch of buttons to different photo albums inside a single HTML page in Dreamweaver. Here is an example of what I mean: [URL]
Unless I'm mistaken, everything in this website is contained within one HTML document.When you click on any of the various buttons in the portfolio menu, they simply load up and appear inside the same HTML document.
How on earth do you do this without clicking on any of the various buttons and having them linked to another page??
View 3 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
Jun 20, 2004
I've gotten as far as getting a listbox with a list of articles to display the articles in a dynamic text box, only i can only get it to work if i use one huge external text file that contains all the articles. what i want is to have each item on the list open up its own external text file, i.e. for each item on the list, there exists a separate text file. I'm about ready to put my fist through the monitor, and that would suck because this is a really nice monitor
View 13 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