Solved

Flash without designer

Posted on 2004-08-19
10
220 Views
Last Modified: 2010-04-03
Hi,
Is it possible to write flash code and compile it without the need for a designeditor. With other words, can I use my text editor to create flash movies / applications?
0
Comment
Question by:CJ_S
10 Comments
 
LVL 6

Accepted Solution

by:
hsmtp earned 125 total points
ID: 11839301
Hi CJ_S,

Put this into the first frame of your movie:
#include "my.as"

Then create file "my.as" in the same folder with flash file and edit it with your editor.
You'll need to recompile Flash all the time you are making changes in "my.as"
0
 
LVL 22

Author Comment

by:CJ_S
ID: 11839377
Does that mean that I still have to install a Flash editor? Is it perhaps possible to do everything from within that my.as file and not have anything to do the flash designer. Can I recompile using a command line command?

My goal is to not use a flash designer at all, but do everything from code.
0
 
LVL 6

Expert Comment

by:hsmtp
ID: 11839404
Yes, that means you still need to have a Flash installed.
You'll need it for recompiling your AS.
0
 
LVL 22

Author Comment

by:CJ_S
ID: 11839430
Then I cannot use it. Are there other methods?
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 1

Expert Comment

by:CT_Flasher
ID: 11857554
You can use PHP to write compiled Flash movies. Take a look at http://php.us.themoes.org/manual/en/ref.swf.php
0
 
LVL 22

Author Comment

by:CJ_S
ID: 11858478
Unfortunately it is not available for Windows. :-(

I guess hsmtp's comment to use flash only for compiling is the best method so far. But, because it can be done in PHP, I think it is also possible to use an API or have a command line compiler. There are also programs that create Flash movies on the run. How would they get on with that?
0
 
LVL 15

Expert Comment

by:ericpete
ID: 12238735
CJ_S,

Good to see you -- haven't seen your name around for a while.

ep
0
 
LVL 22

Author Comment

by:CJ_S
ID: 12241204
Hey ericpete, I am always way too busy with everything that is going on in my world. Besides that, development must be faster every time. Though I'd love to get back here and do the thing again, I need all my spare time for other jobs and to relax.

It's good to see that you still hang out here!

CJ.
0
 
LVL 1

Expert Comment

by:prabhukrishnan
ID: 12321544
Hi CJ,
        Good to see you back after a long time. :)
        
      I have come across a few projects on Sourceforge that claim to programmatically generate flash movies.
      One of them was
      "Project: Ming - an SWF output library"
      http://sourceforge.net/projects/ming/
     
      It looked good. I haven't been able to get it working completely. Am still trying to
      get the last pieces of the library compiled, before I can start testing it.
     
Prabhu
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now