Converting Flash Scripts Inside .fla Into External .as File?
Hi, I have a client that for some reason they are wanting to convert their .fla project and break up the 8 script layers of their game, and put it in an external .as file for the Flash project.
I was just wondering if this could be done could someone show me a link, tutorial or anything on how I would go about doing this, and why this needs to be done this way?
Easy implementation for future games of the same kind?
FlashKit > Flash Help > Flash General Help
Posted on: 08-19-2008, 03:16 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Opening An External Help File From Inside Flash
I'm trying to create a swf file that has a button that when clicked opens a help file (saved as help.hlp). I've tryed to use the fscommand:
on (release) {
fscommand ("exec", "help.hlp");
}
but when clicked it does nothing. I've also tryed to use the getURL command and that doesnt work either. Any suggestions?
Converting A PDF To A Flash FLA File Without Converting To An Image First?
Basically, I'm building a digital catalogue that runs off a CD and uses a Flash 'page turning component' to display the pages. Certain pages will have links that use Flash's Fscommand call to open Word and Excel documents.
Has anyone got any bright ideas of how to Convert a PDF to a Flash FLA file without converting to an image first?
I know I can open a PDF in Photoshop, save as a PNG or JPG and then import this into Flash, however the quality isn't brilliant. If you use a hi-res image, then you get a hi-res file size...
Currently, the best way I have found, is to open the PDF in Illustrator, then export it as a SWF. Illustrator converts all text to shapes and you end up with a small SWF, yet great quality when displayed in larger sizes. As I'm currently using a page turning flash component that loads SWF files, I need the quality to be good for the 'Zoom' function.
I've found an Illustrator script that will do the hard work via a 'batch' process, so I can take a 100 page PDF and convert the whole lot to 100 SWF files while I drink tea and 'look busy' and read a magazine, but the problem I have is that I need to add a layer of buttons to several of the SWF files to add a little functionality....
I do have a SWF to FLA decompiler which does a good job, however because Illustrator turns everything into shapes, the decompiler does the same and you end up with thousands of files in the library.... Plus there are a lot of error messages when the file is first loaded...
Many layers are masked, (for some reason without a fill), so if you publish the decompiled file straight away, you just get a blank file. Once you go through and fill the masks needed, it shows when you publish, but this really is a lot of work and I've had a few pages that show when you open the SWF file, but don't show when the SWF is called into the page turning file.... Hmmm....
So in short, I'd like to take a PDF and convert it to a FLA file, add a layer of buttons and publish as a SWF file....
Anyone got any 'Pearls of Wisdom'?
Clere
Clere Print
Converting Image Sequences Into Video (inside Flash)
On my narrow search for transparent video, the only solution I could come up with was converting a movie into an image sequence, using photoshop droplets to erase certain areas, and then exporting with .PNG's.
So how can I get an image sequence (~500 frames) back into Flash, letting the images keep their transparency AND allowing the images to be played at 30 frames a second, so it still looks like a video.
If there's a better way to do this entirely, please, let me know.
here's a visual: (~3mb, no preloader) http://clay.bellmor.com/gotoandlearn/example.swf
//I'd like the top video of my little brother to be transparent on the outside (black area) so the bottom video (glowy things) can show through.
//note: the video may look choppy because it was recorded at 15fps.
Cheers,
CLAYTON
Access A Component Inside External Swf File
Hi, I loaded a external swf file that it is a dialog.
var swfLoader : Loader = new Loader();
var swfURL : URLRequest = new URLRequest("dialog.swf");
swfLoader.load(swfURL);
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
function imgLoaded(event:Event):void
{
var movie : * = swfLoader.content;
var clip : MovieClip = movie;
parent.addChild(clip);
}
Now, inside the movieClip there is a TextField component named message that i want to change its 'text' property.
The question is: How can i access to this property to change it?
Regards
Create Circle Inside External .as File
I have an external .as file which generates a whole bunch of lines randomly and i need some help in creating a circle and attaching the circle to the X,Y position of the line which im calling through a loop.
i know the loop works as i get the X,Y coords so thats working perfectly
all thats left is to create a function that draws a circle so that i can attach it to the x,y coords.
if (cheese < 10){
cheese = cheese+1;
}else{
trace("x");
trace("y");
cheese = 0;
}
Code:
public function drawDot():Void {
trace('dot magically appears on stage');
}
I have never dealt with external .as files like this before and im stumped as how to go abouts creating a function that i can call in the loop.
Any help is appreciated and excuse the crappy explanation.
Cheers
Converting A File Too Use In Flash
Was wondering if anyone here can tell me how too convert a DEM file from Half-life into a movie so that i can make a flash intro too there site?
Converting Flash File To Gif?
Is there a way to export or convert a flash file to a picture file? Even if I go through fireworks? How would I get my flash animation imported into Fireworks???
Thanks,
vv
Calling A Frame Lable Inside Of An External File
hello.
I have created a music player. you can see it if u check out the site.
http://www.boogyoogy.com
i have this script on the first frame of the website. and when the website loads it loads the dancer1.swf in side of a MC called
"load-dancers"
loadMovie("dancer1.swf",_root.load_dancers);
you can see the dancer dancing.
inside of a dancer1.swf i have MC and inside of that MC there is a framelable called "edgarhide"
when i press on stop it should jump to "edgarhide" where the dancer wil disapiar.
i was told to try this code
on (press) {
gotoAndPlay(_root.load_dancers.dancer1.dancer("edgarhide"));
}
some one please help.
thank you
Vahe
Problem Converting Flash File To Animated .Gif
I've never made an animated gif from a flash file but the flash help says to simply do the following:
Flash exports the first frame in the movie as a GIF, unless you mark a different keyframe for export by entering the frame label
#Static. Flash exports all the frames in the current movie to an animated GIF unless you specify a range of frames for export by
entering the frame labels #First and #Last in the appropriate keyframes.
No matter what I try, when I export to an animated gif, the image that shows up is not animated but I only get the first frame. What could be missing and what areas should I check? Thanks in advance.
Geturl Inside Mc & Converting Swf To Exe
I have a geturl command in my flash movie to open a powerpoint show.
As I have it now it opens in a browser window. Is there a way it can open in a movie clip and if so how is this done?
One more question...How much is involved in converting a finished flash movie into a projector file. What I mean is that now I have the movie with comands and links opening various documents from various locations. Will everything still work when I make an exe?
Thanks for your time..
Flash File Inside A Scrooling Area In A Flash File
Is it possible to have a flash/swf file in a movieclip (similar to loading a swf in another swf) however, if the loaded swf is lerger (vertically) it can be scrolled up/down in the parnt/original swf -- do you use the same kind of proceedure as with loading movieclips in a swf? or is there some special way to do it - or can it be done at all?
Converting Swf File To Broadcast Quality Movie File
I'm using a Patrick Jansen effect in flash and if I try to export it the way I usually do for movie credits - ie export to quicktime - all I get is a grey box. The only way I can get the movie into a quicktime file correctly is to save the file as an swf then use "swf and flv player" to export each frame as a tif then recompile in quicktime.
Is there a program that will convert the SWF to quicktime in one go and keep the quality? It's for a movie, so I need it very high res.
thanks in advance,
(mac os x 10.4.9 G5 dual 2ghz, internal 250 and 350hd, external 500gb, 4gb ram)
Help Converting A Flash 9 File To Flash 8
Would anyone be willing to convert a flash 9 file to flash 8 for me? It's found at: http://www.flashandmath.com/intermed...uiz/index.html
It's in the zip file called radioButtonQuiz. It would be greatly appreciated!
Using "_root." Inside An Imported External .swf File
The Dust again with one more small (and hopefully final) little piece of ActionScript trouble in the project I'm working on.
I have attached "stage1.swf" to a movie clip on the main timeline ("_level0"). My question is... Why doesn't any actionScript inside of "stage1.swf" with the command "_root" in it work anymore, and what should this be replaced with?
I'm guessing this is an easy fix, but I've done my homework here and can't find a quick answer. Anyone got any ideas?
Dust
Converting Midi File Into Wave File
Hey folks. Is there a program that I can use that will convert midi sound files to wave files to use in flash?
Any URL or workaround would be helpful.
Problem Converting An MPEG File Into .FLV File
HI
I want to convert an video file into .FLV. I have imported an .MPEG file into the flash and i am trying to export as .Flv file but i culdnt find any option how to do that in flash mx 2004. Please can any one can help me in this concern....
Thanks in Advance
Ashirwad
Tweening External Dynamic Text Inside A MC Inside Main Timeline
I've seen a hundred and a half posts on similar subjects, but goshdarnit, I just can't make this work. Let me explain the problem, and I've included a link to a Zip file with my .fla file and the away.txt file I'm calling the variables from.
Basically, I want to create an interactive menu thing, that starts with a row of each of the 26 letters of the alphabet. When one clicks on a letter, the letter is tweened to a larger faded state, and so is the rest of the alphabet, and I want the names of the schools starting with that letter to then fade in. I have a movie clip inside the last frame of the main tween, which should then tween (fade in over 12 frames) the graphic symbol containing my dynamic text box, which is supposed to be linked to the text variables in the external file. The text variable is created on the first frame of the main timeline using Actionscript on the static header layer, and so I should be able to load it inside my movie clip (I think). Everything looks fine to me, but then I've only been using Flash for 2 weeks.
To sum up, I need to tween the graphic symbol. The graphic symbol contains the dynamic text which references the external text file. The graphic symbol is inside a movie clip, inside one frame of my main timeline. The text isn't showing up, only the empty text box is.
My Zipped source files can be found at: http://www.tolcs.org/athletics/away.zip
If anyone would be willing to download my source files and give some wonderful advice, I'd revere and adore them forever.
Using External .mov Inside Flash
I want to use load movie to load a quicktime file instead of a .swf. I don't want the file to be embeded into the .fla. I want it to be an external file that will load into the published flash page. I know I saw something like this on one of macromedia's site of the days a week ago. at least I thought that's what the were( unless he just put a quicktime toolbar in and it looked like a quicktime movie.)
Someone please help!!!!
Browse For File Inside Flash MX
in case anyone is interested I developed an extension that makes browsing for files easy in Flash MX. it's located at http://www.redwaveinteractive.com/temp/FSComFile.mxp
to use, just call the following actionscript, usually on a button.
Code:
fscommand("select", "myVar");
myVar is the variable name of a input text field on the root level.
when finished just publish with the "file selection template"
have fun!
Applets Inside Flash File
Hello,
I have created a simple flash file in which I need to use an applet which has been developed by another developer. How can I include an applet inside a flash file?
Thanks.
3d Content Inside Of A Flash File
Hey All,
I asked this a while back and never really got a straight forward answer. If I've created a 3d object, is there a way to view it in Flash? What I mean by this is...I want the user to be able to rotate, zoom, and pan the object with the mouse.
If you're familiary with .vrml, I would like to achieve something like what a .vrml model does. I know how to have 3d content inside of Flash, which is a fake way of getting 3d (2d pics with 3d images). I want to actually interact with a 3d object.
I'm not sure if there is a 3rd party plug-in that Flash embeds, if it will somehow embed .vrml models or what? I would really like to achieve this...if it's possible.
Thanks.
Opening An Exe File Inside Flash?
I know that flash allows the use of the fscommand to open up exe files, but if i do it this way, the exe program will run as an external pop up.
Is there a way to make the target exe file run inside flash projector itself?
Html Inside A Flash File
Can you load a url inside a flash movie like you can with external swf's and jpegs? I want to make it like a portfolio of online work.
Include File.txt Inside Flash
Hoow to Include a file.txt inside a Flash movie so we can update only the txt file and upload it to the web and auto-update the movie?
Joćo Tiago Ogando
Flash 8 Loading External HTML Pages Inside Flash Window
Hi
I was wondering if it is possible to load a google map into a window within my contact page that one can scroll about like you can in actual google maps. At the moment i just have a static picture that when you click on it it takes you to a seperate page. But i dont want to clog my site up with extra graphics if i can avoid it.
Many thanks
Greg
How To Show External Web Pages Inside Flash?
Hi.
I have a flash movie. I would like to make one area inside of it like frame in HTML. To show some other web page. Imagine, just one box, everything else is flash but inside of that box is some other web page loaded. Hope you understood what I am after and hopefully there is somebody who is able to help.
Thx
Calling An External WMV To Display INSIDE Flash
I've looked around online and did not find a definitive answer, so I thought I'd turn to the experts of the Kirupa community.
Is there a way to display an external WMV inside Flash, WITHOUT having to convert it, embed it, or otherwise stick it inside the SWF? The idea is that when a user is interacting with the Flash on the webpage, they will just see the WMV play inside the Flash.
Not sure why this is not possible and don't know how to do it! please help...
thank you
Using External .txt Inside Movie Clip Inside .fla
I've seen a hundred and a half posts on similar subjects, but goshdarnit, I just can't make this work. Let me explain the problem, and I've included a link to a Zip file with my .fla file and the away.txt file I'm calling the variables from.
Basically, I want to create an interactive menu thing, that starts with a row of each of the 26 letters of the alphabet. When one clicks on a letter, the letter is tweened to a larger faded state, and so is the rest of the alphabet, and I want the names of the schools starting with that letter to then fade in. I have a movie clip inside the last frame of the main tween, which should then tween (fade in over 12 frames) the graphic symbol containing my dynamic text box, which is supposed to be linked to the text variables in the external file. The text variable is created on the first frame of the main timeline using Actionscript on the static header layer, and so I should be able to load it inside my movie clip (I think). Everything looks fine to me, but then I've only been using Flash for 2 weeks.
My Zipped source files can be found at: http://www.tolcs.org/athletics/away.zip
If anyone would be willing to download my source files and give some wonderful advice, I'd revere and adore them forever.
How Do You Place An Asp Page Inside A Flash File?
Hi all, I've created some active server pages using regular html and asp files, now I just want to know if there is a way I can place the pages inside a flash document.
So for example I have a form in asp, and I would like to embed the asp page inside the flash swf file, if it is possible.
Any suggestions?
Load Url Inside Window Within Flash File
Hello all, I'm new to this board. I'm creating a gallery website of my artwork for my computer graphics class and I've been struggling with a problem. When a link to my gallery is clicked in my flash file the site animates to expand an area where a thumbnail gallery will appear. Now I have been trying to have a window of some sort be withing that area that loads up a url that has the thumbnail images and navigation. That in turn will load up the full image in the center of the site whne a thumbnail is clicked which needs to also be a sized window that loads an html file. I tried using the behaviors - web - go to web script but that will load up a new window in the browser outside the flash file. I also tried using the component Window feature but coudln't get that to load up any url. I need to load the html inside the flash and not open an new browser window. Please give me any ideas and tips you may have. Thank you.
Opening A .swf File Inside Of A Flash Movie
Im rather novice when it comes to actionscripting and run into problems consistently. I was wondering if there was any way that a swf file could be opened inside of an swf file on the click of a button. I can get the getURL code to open it, but each time it does it opens in a seperate window, rather than below the navigation bar like i would prefer. Any help would be appreciated
Adding XML Records Inside A Flash File
Hellow,
i need some help while developing a flash application that has to list received text messages. I want to pay for the person who can give me a basic structure of the code. It has to be done in flash mx or with the (free version) of FLEX.
I have a XML file that is frequently updated. The flash file has to change depending on the values on that XML file. The flash file has to check every 5 to 15 seconds if there are new records in the XML file.
Structure of the XML file(s):
Code:
<parameters>
<layer>
<title>Title that has to be included in the swf file</title>
<number>number '1' or '2'</number>
<text>text for frame 2</text>
</layer>
</parameters>
<catalog>
<sms>
<nr>here trackingsnr always higher than the previous one</nr>
<text>here text</text>
<sender>here the senders phone nr</sender>
<date>6 june 2007 - 22:00:00</date>
</sms>
....
</catalog>
Now the swf file has to be able to do this:
if the number field from parameters is 1 it has to show screen 1. On screen 1 you have to show the last 5 messages. When there is a new message arrived in the catalog database, you have to include this on screen 1 with a nice effect and the oldest message has to disappear.
if the number is 2 you have to display screen 2 and place there (nice in the center) the text message from the parameter list.
The swf file has to check every 5 to 15 seconds if there are new messages or if the number parameter has been changed. The swf file will be used to play offline on fullscreen mode and will be projected.
I can make this in html/css and php but then there is no smooth effect when a new message arrives. I only know the basics of flash/flex, so i'm able to edit your work and finish the details, but i'm not able to build this myself.
How much would it cost to make the basic file so i can do the finishing details? There is no specific deadline. Somewhere around july is good enough.
you can contact me here or mail me at mailATbenwa.be
thanks!!
Can Flash Play Inside A .aspx File
I put a flash file inside a .aspx page and it doesnt load at all.
when i do the same in html it obv does load but before it does i get a yellow warning bar on my browsers top telling me to not do this and it is only after I close the warning bar that the flash loads.
These are 2 different things:
could someone please help me ?
Load An Mpg Movie Inside A Flash File
Hi,
I would like to load a mpg movie inside my flash file once a specific button is clicked. Is this a reality? or not, before I start delving deep into the books... again!
cheers
bruce
[CS3] Call Function Inside Flash From External Movie
Hi,
I wanted to know whether its possible or not.
The thing that I have is:
1. An SWF movie in my website (can not be edited)
2. An EXE movie in the computer
The thing that I want is:
1. When the options in EXE file are chosen, it would call a function of the SWF Movie in the website, ** provided that the webpage containing the SWF is open in a browser.
That would be really helpful for me if you can provide me any info.
Thanks
Shiblee
Converting File
Ok I know I ask alot of questions. Thx for Helping me.
Ok I made my site on word ( for my first site) Now im told i need a converter to put it into the internet??? Um how can I put my word website/file into the internet. Thx
Jake
Converting Web/File
Ok I know I ask alot of questions. Thx for Helping me.
Ok I made my site on word ( for my first site) Now im told i need a converter to put it into the internet??? Um how can I put my word website/file into the internet. Thx
Jake
Converting An AS2.0 File To AS3.0?
Hey everyone,
I have a CS3 file that was given to me to make some changes to.
It was written in AS2.0, but I would like to implement some new AS3.0 classes.
Is there any way to convert this file to an AS3.0 file? I'd really like to avoid re-creating the entire .fla.
Thanks in advance for any thoughts!
Converting An AS2.0 File To AS3.0?
Hey everyone,
I have a CS3 file that was given to me to make some changes to.
It was written in AS2.0, but I would like to implement some new AS3.0 classes.
Is there any way to convert this file to an AS3.0 file? I'd really like to avoid re-creating the entire .fla.
Thanks in advance for any thoughts!
|