Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Creating Swf File Without Flash



Hi !

I would like to generate a swf file from an .as files (a text file containing ActionScripts code). My .as file contains only flash var declaration like :

var myVariable 1 = 45;
var myArray = [12, 45];

... and so on

There is no Movie-Clip, no functions : only variables.

Someone already told me that it was possible to generate a swf file automatically from C++ or another programming language without using the authoring environment of Flash.

Is that possible?

Thankxs !



ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 08-18-2002, 02:58 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Creating XML File From Flash Using ASP
Need help on this urgently. Any gd tutorials or anyone willing to try out the simple code on it? Thanks.

Creating An XML File From Flash
It is possible yet to create a file on the Hard Drive from Flash? If it helps, I am embedding the SWF in a Director Projector. Thanks.

Creating A Pop-up Flash File
How do you make a published .swf appear in it's own contained pop-up window as opposed to staying in the same browser window when linked in a website?
Is it something I need to take care of in flash or in GoLive?

Creating Txt File From Flash
Hi guys,

I know this is pretty basic, but i dont remember how to do this in mx2004. Could somebody point me to a tutorial on this?

thanks

biggie


The Man of Tomorrow is forged by his battles today.

Creating Text File From Flash?
hi.

how can i create a text file (.txt) from flash?

thanks
niv

Creating Text File From Flash
I am interested in outputting the variables in my timeline to a text file. I had heard some time ago that there is an easy, "undocumented" way to do that in Flash. Supposedly, what you get is a text file with all your name value pairs, one after the other. It's not pretty - but it works.

Any ideas on how to do this? Does MX provide a better way to do it?

Help Needed In Creating .txt File From Flash MX
Hi,

can anybody help me how to create a .txt file from Flash MX or how to append an existing .txt file from Flash MX.

or


help me how to create an XML file from Flash MX or how to append an existing XML file from Flash MX

Creating A Text File With Flash 5
Hey there,

Is it possible to create a text file to write variables to using Flash 5 ? I know you can with MX, but the device I'm developing for only has Flash 5 player.

A longer shot... Can it be done with Flash 4 ?

Big lub,

sca xxx

Creating .txt File From Flash Executable
Hi!

I'm trying to develop an app that will allow users to take notes during presentations. I found some interesting solutions to output those notes as a .txt file. But they rely on third parties, such as other script languages (one interesting solution uses JavaScript functions in the HTML code).

Is it possible to make a standalone Flash executable do that? I need a clue. Would it include working with system resources (the app will run on Windows, mainly)? Any hints would be appreciated.

Creating An A Flash File For A SCORM LMS
Hi.

Im am in the process of creating a number of lessons for an elearning course. The course needs to be run in a SCORM-compliant LMS, so lessons need to be SCORM compliant themselves.

This is my first elearning project so im very new to all this SCORM stuff. Ive had a read of their website but wondered if anyone could offer any advice on exactly what I need to do (creating manifest files etc). Are there any decent tutorials out the on converting a course to be SCORM compliant? or does anyone have any sample files that will allow me to pick it up quickly?

I have completed the first lesson, but now want to make it SCORM compliant and use this as a template for the rest of the lessons. One particular problem I would like to overcome is keeping the flash in one entre file, rather than splitting it up into separate files for each page.

Any information or advice anyone could provide would be great.

Many Thanks

Simon

Creating File Field In Flash Mx
hi
pls help me create a file field in flashmx wherein a browse button browses through the harddisk to select a file. the selected filepath is returned to a textbox.

pls post the reply asap.

bye!!!

Flash Error-Creating .swf File
Hey, i have never had a problem with flash until now. I have made .swf's of this file heaps of times before, but for some reason, it will not make any more .swf files.

When i try to create the .swf file, i get this error... Error Creating Flash Movie. There was not enough memory available.

Please help asap! Cheers!

Creating A Flash Video File
Hello,
I'm in desperate need of some guidance on how to actually convert an avi file over to a Flash Video (FLV) that I can eventually insert into a Captivate movie. I do have Flash but have no clue where to start (new to Flash personally). Can anyone possibly provide some step by step instructions on how to do this? I do have the AVI file on my hard drive and would really appreciate some step by step instructions.

Since I'm new to Flash and haven't yet received any training, I'm really in the dark.

Thanks for any assistance!

Helen

Creating A .txt File From Flash Using ActionScript.?
Hi,

I have a swf gallery that I created in flash MX which accesses images in folder using an XML file. This XML file has a header and a footer, and a standard image node for each image where the information of the exact name of each image... ie image01.jpg and the description of it ... and their locations .... is gallery01/image01.jpg etc, where gallery01 would be the folder. Currently all of this information about the images is entered by hand in the XML file and this task starts to become very tedious when there are many images per gallery. What I would like to konw.... and like to do... is create an swf or flash application that would create a the xml file... Ideally I would like the user to have a sort of gui in which each image from a folder to which he or she browses to ... is displayed... one at a time... and with the display of each image ... there is a text field where the user can name and type the description of the image.... and all of this data should somehow be recorded and stored in an XML file.

Now I dont even know if this is possible in Flash or if this was the right forum to post this question in ... but any advise would be much appreciated.

Cheers.

Creating Text File From Flash
I heard some time that there was an easy, "undocumented" way to create a text file in Flash. Supposedly, you can output all your variables into the text file with one step.

Is this actually the case?

Creating An Executable Flash File From A Dynamic Swf
Does anyone have any info re: creating a executable flash player movie, from a swf that is using dynamic data? Of course the portable version would be static from the current data.

example: many of you may have seen the code on the boards for a really nice photoviewer that loaded jpg's externally. I'd like to somehow be able to make a portable CD version of it. Executable if possible?

ie someone has a slideshow they have created and uploaded thier own images, and the ability to export that show to and executable for burning to a cd is where I'm going with this.

Anyone, Anyone, Anyone... VooDoo Economics

Best Method For Creating A VIDEO File From Flash?
I need to give a Flash movie to someone to write music for it. I know normally you'd load the audio first, and then create the Flash afterwards, but the animation is already made and we need to sync music to it. Anyway, we need to pass it along in a video format so he can load up the file and write music to match it with his own software.

So what's the best way to turn a Flash movie into a video clip without altering the framerate or otherwise screwing it up much?

Thanks,
Drew

Creating A Flash File From Movie Clip
I'm stuck -- is there a simple way to create a new flash movie from a movie clip? Any help is appreciated, thanks.

Problem In Creating Flash Projector(exe) File
In some systems projector file contents are not opening. Is it a problem of any virus or system or we need any separate plug-in for that ?

Problem In Creating Flash Projector(exe) File
Unable to view the contents of the exe file created in flash using Projector. Any solution for this ? can anybody ...........?

Creating A Tiled Background Flash File
I purchased a basic flash XML template and have customised all content and pages to suit as necerssary however the background is a tiled bitmap file, which is great as it resizes to any resolution without pixelating.

I have Adobe Flash CS3 trial, how do I change the bitmap file to that of my own? I cannot see how..

Please find attached FLA/SWF & Bitmap file

Error Creating Flash Movie File.
Since I started using CS3 I sometimes get the following error:

Error creating Flash movie file.
Be sure the destination file is not locked or on a locked drive. Also, check that the file name is not too long.

It doesn't happen all the time, and I haven't been able to figure out what causes it. I have been able to confirm that it's not anything to do with locked files/drives, permissions, or file name length.

It happens with files created elsewhere (by other developers) that I've modified, and it happens with files I start from scratch - I can create a new FLA on my desktop and it won't publish.

Sometimes (but not always), publishing to a different directory than the one the FLA is in will work.

This is becoming a big problem. Anybody seen this, or have any ideas?

I'm on OS X 10.4.9, 2.33 GHz Core 2 Duo MacBook Pro 17", running CS3 Web Premium package.

Error Creating Flash Movie File
Hey there,

I have a cartoon to send in to the network today. I'm having an issue I've had before: When I try to Test Scene, Test Movie, Publish or Export a quicktime, I get this alert: Error Creating Flash movie file. Be sure the destination file is not locked or on a locked drive. Also, check that the file name is not too long.
I've gotten this quite a few times before, and the suggested fixes don't work. Usually, I have to copy every frame and paste into a whole new project, which as you probably know, is a bitch.
Any ideas on what may be going on here? I exported a file last night before I shut down and all was well. I tried removing the audio file I added this morning to see if that was the issue, and it wasn't.
Anyone else experience this?

Thanks all!

Gordon

Error Creating Flash Movie File.
OK I have been racking my brain to get this resolved and unfortunately there isn't a lot of info on the web.
Scenario: We are in a shared environment. Central file server (Mac OS X server) over gigabit enet. We open flash files over the network and then we "try" to publish the files back to the same server in which the .fla is stored. (I have read John at Adobe's comments on the practice but this DID work).

So we access the flash file at /Volumes/ServerName/JobFolder/~Flash/ and we "attempt to" publish the .swf to
/Volumes/ServerName/JobFolder/htmlfolder/flash .... this was working previously in flash 6-7 but in 8-cs3 it has stopped working and we are kicking ourselves to get some answers.

When we try to publish we get the following error:
"Error creating Flash movie file.
Be sure the destination is not locked or on a locked drive. Also, check that the file name is not too long."

The publish path is: /Volumes/ServerName/JobFolder/~Flash/fileName.swf

What is going on and is there a solution like there USED** to be??

Creating A Button In Flash To Open Pdf File
i've created a button in flash which when clicked i want a pdf order form to pop up. I have set the actions to read as follows:

on (release) {
getURL("http//www.domainname.co.uk/order_form.pdf", "_blank");
}

But after uploading and clicking on the button I get the following error message:
Error 404: /http/www.domainname/order_form.pdf is not found at this location

Creating A Button In Flash To Open Pdf File
i've created a button in flash which when clicked i want a pdf order form to pop up. I have set the actions to read as follows:

on (release) {
getURL("http//www.domainname.co.uk/order_form.pdf", "_blank");
}

But after uploading and clicking on the button I get the following error message:
Error 404: /http/www.domainname/order_form.pdf is not found at this location

Creating An Browse/upload File Thing Using Flash And Php?
Can it be done?

User clicks "browse" flash button, opens the open file dialogue box, then sends the path to PHP for it to upload to the servers?

Creating An Alias Entry Into A Flash File Folder
I'm sure there is a simple solution to this. I have been developing flash animations for my physiology lectures that I have been putting on-line for my students. I use a lot of imported flv files of video clips and animations. On the university website I just create a link to the folder containing the lectures and everything works fine.

However, I have had a request for a CD of the lectures. The problem is that the HTML and swf file must be in the same folder as the flv files for them to load correctly. This creates a mess for the user when searching for the swf or html file to load. I have tried creating an alias of the swf and html file and placing this outside the folder that contains all the files. I burned the CD and everything worked fine on a Mac but not on a PC. There has to be a simple way of placing the swf or html files outside the folder containing all the flv files. I am using Flash professional 8.

Thanks for your help

Creating Controls For Multiple Movie Clips In One Flash File
I am a true beginner here! I would like to create one flash file that contains butons to manage stop/start 8 movie clips(at full screen)!! Where do I begin? I can create the buttons and actions for those but how do begin to mange the movie clips at full screen? Any suggestions? PLease help!!!

Tutorial: Creating A Flash Form + Creating Php To Send Email
I came across a great tutorial for those of you who do not know how to create a flash "contact" form and how to create the php file to go with it.

http://www.kirupa.com/developer/acti..._php_email.htm

Enjoy!

Creating A .txt File
I'm making a flash menu and I would like it to create a .txt file on the viewers computer. So whoever goes to the page and loads the menu, the menu creates a .txt file on their computer that stores their own personal variables. They will be able to customize the menu (music on/off, color scheme, etc.). The menu will store the name they register as and recognize the particular user and call them by name. I want the menu to change the variables in the .txt file on that particular computer whenever they change their menu preferences. Is this how things are usually done? Could someone help me with this plz.

My icq# is: 39239195
My email: RaVeN_Team5150@yahoo.com

Creating A File
can i create a txt file in flash ??

Any Idea !

Creating A New File?
i'm sure this is possible...
Suppose someone wants to create a new account (the accounts are stored in seperate XML files). A new user completes a registration form and submits it. When the user submits their information, it should create a new XML in a location (URL or local drive) with all their info stored.
How do I do this??

Stevz!!!

Creating File From Swf?
Is there possibility to create txt-file directly from swf?
Thanks

Creating A .swt File
Hi all
I need some help for creating a swt file for creating custom t-shirt just like http://nikeid.nike.com/configurator....uctId=spiridon where user can modify shoes colors of their choice, same I want for my t-shirt’s project.
I read little about swt file at http://www.macromedia.com/support/dr...hbutton04.html

They r saying “Open the FLA file, then export it as a SWT by choosing File > Export Movie and saving as a Generator Template file type. It's a good idea to use the same name for both files, for example, myButton.fla and myButton.swt”

I didn’t find any option like Generator Template file in flash mx.

Can someone help me?
Thanks in advance

Creating The XML File?
Hey everyone.
I can eaisily use xml in flash - I have a couple of news-site that gets its text from an xml file.

But how do I make an admin site where I MAKE the xml file? It's not a big use, if my customer can't create an xml file without being forced into comprehensing the code?

- Rune

Creating Avi File
I apologize, I forgot to use the radio buttons. I have flash MX 2004

So I have a very basic flash movie. It consists of a scrolling background with movie clips on top of it. When i try to export it as an avi, the movie clips appear as a static image with only the first frame showing. Is there a way that I can create an avi from what the .fla file looks like? THanks

Creating An .xml File
I need to create an .xml file for use with FusionCharts. I know the data that needs to go into the file , I dont know how to create and populate the xml file. An example would be great ! Thanks in advance.

Help Creating TXT File
I have used Flash before and created a txt file that looked like this below. How can I create this exact formate of a txt file using notebook so that I can paste the HTML into Yahoo Sitebuilder? I have done this before but now I cannot figure it out. I have wasted 12 hours trying to figure this out. THANK YOU FOR ANY HELP!!!!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML lang=en xml:lang="en" xmlns="

Creating SWF File
Hello, i am using Flash8 with Mac OS X.10.4 previously when i wanted to create an SWF file in Flash Mx i just hit the Command/Return keys and the SWF files appeared.
When i do this in Flash8 the SWF file appears with all the animation , but when i close the .fla file and the .swf file i was working on and try to open the .swf file using flashplayer all i get is a blank swf box, sometimes it has only 1 or two elements of my origional .fla work.
Any ideas what is wrong?

thanks.

HELP-creating Links To .doc's And Creating Forms In Flash 5
right, how do i create a button in flash 5 that when pressed downloads a .doc file onto their desktop?(and how do i link to the .doc file?)

also how do i create a form in flash 5?

hope someone can help!!

mavis

Creating Animations / Creating Websites In Flash 8
I am trying to find some advanced animations for Flash 8 as well as information on how to build a website in Flash.

I am not exactly sure where i can find these questions out. I need websites that have tutorials that go step by step for beginners because I tried a simple custome scrollbar tutorial on here and got lost. It integrated all this actionscript but never told me where to put it or anything.

Get back at me asap if you can help.

Thanks

cd2502

Creating Executable(exe) File?
Hi

Could any one tell me how to create exe file.

Creating A Text File With PHP
I want a user to type in an input book and when they pree send it posts it onto the site, so that everything they worte can be viewed by anyone. I know PHP is required to do this but i seem to have a problem which won't let it work.

This is what i have in my PHP:

<?

$fp = fopen ("$user_name", "w+");
fwrite($fp,"$text");
fclose($fp);


if ($fp) {
echo ("&erro=NONE&msg=A Success!");
} else {
echo ("&erro=OK&msg=Error!");
}

?>

This is what I have in the botton on flash:

on (release) {
loadVariablesNum("http://www.kotrclan.com/main/text.php", "", "POST");
url = "http://www.kotrclan.com/main/"+user_name;
nextFrame();
}


I have no clue where i went wrong. I think it might be the CHMOD on the files, I know that PHP has too be rwxr-xr-x and the folder has to be rwxrwxrwx is there a problem anywhere here, can u help me guys. Thanks for even reading this

Creating A Text File With PHP
I want a user to type in an input book and when they pree send it posts it onto the site, so that everything they worte can be viewed by anyone. I know PHP is required to do this but i seem to have a problem which won't let it work.

This is what i have in my PHP:

<?

$fp = fopen ("$user_name", "w+");
fwrite($fp,"$text");
fclose($fp);


if ($fp) {
echo ("&erro=NONE&msg=A Success!");
} else {
echo ("&erro=OK&msg=Error!");
}

?>

This is what I have in the botton on flash:

on (release) {
loadVariablesNum("http://www.kotrclan.com/main/text.php", "", "POST");
url = "http://www.kotrclan.com/main/"+user_name;
nextFrame();
}


I have no clue where i went wrong. I think it might be the CHMOD on the files, I know that PHP has too be rwxr-xr-x and the folder has to be rwxrwxrwx is there a problem anywhere here, can u help me guys. Thanks for even reading this

Creating Text File
i need to make the game i am working on create a .txt file into a directory called "files" when it reaches a certain page.
in the .txt file also needs to be written "highsores disabled"
can this be done??

CREATING TEXT FILE?
HI.
how can i create a text file (.txt) from flash?


thanks
niv

Exporting/Creating A File From An Swf
I am working on a system in which people can use to customize a file. Once they have a dragged and dropped objects onto a template and are done, I need to have a "submit" that will capture what they have built and actually make a file which would be emailed to someone. If it could write a PDF, JPG or
SWf that would be great, but an AI would even better (I don't think this is possbile though...). Either way, it basically needs to save the user's creation and actually make a file of what they have done. I know that this is probably extensive, but I'm not sure how to go about it.... any input or suggestions would be greatly appreciated.

The most important thing is that I capture the dimensions and/or properties of the objects once they have been placed, any clues on how to go about this using variables...

Thanks!

Exporting/Creating A File From An Swf
I am working on a system in which people can use to customize a file. Once they have a dragged and dropped objects onto a template and are done, I need to have a "submit" that will capture what they have built and actually make a file which would be emailed to someone. If it could write a PDF, JPG or
SWf that would be great, but an AI would even better (I don't think this is possbile though...). Either way, it basically needs to save the user's creation and actually make a file of what they have done. I know that this is probably extensive, but I'm not sure how to go about it.... any input or suggestions would be greatly appreciated.

The most important thing is that I capture the dimensions and/or properties of the objects once they have been placed, any clues on how to go about this using variables...

Thanks!

Copyright © 2005-08 www.BigResource.com, All rights reserved