Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Flash without designer

Posted on 2004-08-19
Last Modified: 2010-04-03
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?
Question by:CJ_S

Accepted Solution

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"
LVL 22

Author Comment

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.

Expert Comment

ID: 11839404
Yes, that means you still need to have a Flash installed.
You'll need it for recompiling your AS.
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 22

Author Comment

ID: 11839430
Then I cannot use it. Are there other methods?

Expert Comment

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
LVL 22

Author Comment

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?
LVL 15

Expert Comment

ID: 12238735

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

LVL 22

Author Comment

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!


Expert Comment

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"
      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.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

829 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