ActionScript 3.0 :: Alternative To Drawing At Runtime?

May 7, 2009

I need to have the ablity to create 3000+ sprites so they can be interact. In this case it is a bunch of booths at trade show.  I have done a lot of experimentation about how to create/draw these in the quickest possible manner.I have used timers, loops, enter frame events and I am still not satisfied with speed.My new idea is to create a seperate swf before hand that has everything drawn out so this doesn't have to be done at runtime, the swf can just be downloaded.  So my question is.... What would be the best way to develop a module that draws out everything into a swf file so that at runtime, I am not drawing anything, I am just uploading the file.

View 19 Replies


Similar Posts:


ActionScript 2.0 :: Drawing A Rounded Rectangle At Runtime?

Oct 25, 2005

I've seen a few tutorials on this site that discuss the Drawing API, What I'm wanting to do is draw a rounded rectangle at runtime to a particular size.I initially tried resizing an already-created rectangle, but as the movie clip resized, the radius on the corners got distorted.

View 6 Replies

Load-time Weaving Of Pointcuts Into Existing Binary Code At Runtime With The AVM2 Runtime?

Feb 23, 2010

I've seen the Loom project, but are there any alternatives that are more mature (and actively developed)? I am looking for something that would allow load-time weaving of pointcuts into existing binary code at runtime with the AVM2 runtime.

Has any work been done in this area?

View 3 Replies

ActionScript 3.0 :: Pencil Tool - Drawing Above A Image But The Drawing Is Below The Picture

Nov 9, 2010

i've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it?

[Code]....

View 3 Replies

Difference Between The Flash Player Runtime And Adobe AIR Runtime?

Nov 16, 2009

I've been into coding for about 5 years now, but I'm a recent convert to Flash development. One of the questions I have at the moment is, considering that SWF files can be run by either Adobe Flash Player OR Adobe AIR, what's the real difference between the two runtime environments? What API's and Objects exist in one environment, but not the other?

Basically what I'm more or less trying to establish is, when would I want to develop an SWF for AIR, and when would I want to develop for Flash Player, considering that Flash Player can also execute locally (providing support for creating "desktop applications")

View 1 Replies

ActionScript 3.0 :: Generate Drawing API Data From Drawing Object?

Jul 22, 2009

Basically I've got a reasonably complex drawing object in a fla and I want to reproduce it in a class definition using the drawing api. However obviously this is a tedious task, so is there some trick or automated method of doing this?

Last time I needed to do this it was a drawing of an arrow and I ended up writing down x,y,width,height values for everything but this one has curves in it which I don't have experience with drawing anyway.

View 2 Replies

ActionScript 2.0 :: Enabling Drawing Only When Drawing = True

Sep 28, 2009

I cannot get this to work. Without the "var drawing", "var drawing being true or false" and the "if statement", it works fine. But I need to add the "var drawing" so that you can only draw if you turn it on by pressing the "draw_btn" button. Note, I do not get an error, the script "apparently" contains no errors. Here is the code:

ActionScript Code:
var drawing = false
_root.createEmptyMovieClip("myLine", 0);

[Code].....

View 3 Replies

ActionScript 3.0 :: Drawing Over A Movieclip In A Custom Drawing App?

Jan 13, 2012

I've created a drawing tool which allows the user to draw on the canvas, the problem is that if I try to draw over a movieclip nothing happens. Is there a way I can allow for the user to draw over movieclips? For example if I had a background of paper?

Here's the code I'm using for it:

// This code is for drawing the lines on the page
//1.
var drawingLine:MovieClip = new MovieClip();
addChildAt(drawingLine,0);

[code]....

View 8 Replies

ActionScript 3.0 :: BoneArmature Runtime Error "Runtime Symbols With Skewed Matrices Should Be Wrapped In A Movie Clip"?

Oct 9, 2009

Whenever I link a set of movieclips together with the bone tool which are inside a containing movieclip, and also set the type to "runtime" instead of "authortime", I get this error when published.

"Runtime symbols with skewed matrices should be wrapped in a movie clip" What does it mean? I need the type to be set to runtime so I can use scripting with it..

View 2 Replies

ActionScript 3.0 :: Drawing Api Drawing 40,000 Objects

Feb 18, 2009

I need to draw on stage about 40,000 4x4 squares each a different color. The color is determined by an xml file. I have this working in as2 and have converted it to as3 the problem is the amount of time it takes to draw is causing cs4 to time out. I have extended the script time out to 60 seconds. In cs3 as2 it would draw the squares in about 15 seconds. I was hoping as3 cs4 would improve performance but seems to be the opposite. I have tried several methods such as adding children and various drawing variations. the bellow seems to work the best, but is still causing flash to crash.

ActionScript Code:
import flash.display.DisplayObject;
import flash.display.Graphics;
import flash.display.Shape;

[Code]...

View 9 Replies

Can't See Alternative Content

Dec 17, 2010

[code]...

iphone safari can't see <a id="alternative" target="_blank" href="#">iphone can't see me</a>

But PC's safari,firefox can see the alternative.

View 2 Replies

ActionScript 2.0 :: If Then Else Alternative?

Nov 7, 2006

I made a script which will tile dynamic mc in a way that after a number of clips (say 5) in a row, i would like the 6th mc to position on the next row below the first row, like this:

1 2 3 4 5
6 7 8 9 10

i was able to do it thru series of if-else if statements but the thing is that i was wondering if there's a better logic in doing this, i was thinking of using switch statement but is there a way to type "i>=9 && i<=20" into a case parameter? here is the code and i have also attached the fla if anyone would like to see:

Code:
if (i>=20 && i<=25) {
item._x = item._width+275;
yVal = (i-20)*(item._height+5);[code].....

View 2 Replies

ActionScript 2.0 :: Better Alternative Than XML?

Oct 25, 2007

I have created a Flash application for a "big" client which communicates heavily with the server. Flash app is initially loaded with a big XML file, which is retrieved by an aspx file. Then every 5 seconds, it calls a different aspx file to update. There are 3 asp files, which also sends back XMLs, that it calls periodically on top of the aspx file. Buttons on the app calls 4 different asp files with data being sent via querystring, but, uses the XML.sendAndLoad commands since we want the communication being done behind the scene.

During testing on development and live sites, we noticed no problems. We had sporadic complaints about the application being slow, but, they were so rare that we let it slide.

Now, it seems more frequent. I went back to the application and tried utilizing the built-in garbage collection by deleting all temporary variables, but, that didn't seem to improve much.

Given this scenario... is there anything I could try to improve the speed of server communications?

View 1 Replies

Get Alternative Export Codecs For CS3?

Sep 5, 2009

I have an application requiring exporting of Flash animations to run on an embedded media player. This accepts a number of video formats. The most reliable I have found so far is DivX. The player supports DivX versions 3.11, 4.x & 5.x. The export codec in CS3 is DivX 6.8.5 which is not compatible with the player.The player also supports MPEG2 but the quality is not very good. Other options are Xvid Mpeg4 video (doesn't work) and MS Mpeg4 video codec V2 & V3 (also not supported in CS3).I have tried downloading a variety of alternative second source file converters but frankly tied myself in knots. Any idea how I can get around this problem and get a DivX 5.x codec to work natively within CS3?

View 2 Replies

ActionScript 1/2 :: Alternative To LocalConnection?

Sep 23, 2009

I'm having huge bug issues with LocalConnection that nobody seems to be able to find errors in my code/files. So... I'm looking for an alternative. I need a main swf file to load an external swf including the ability to have it move from one frame to another. If this isn't a possibility, I can also just have the main swf hide/reveal a div or just an image in the html.

View 9 Replies

Flex :: Alternative (free) IDE For It?

Jun 27, 2009

I am an Adobe Flex developer and I am sick of Eclipse. Is there an alternative (free) IDE for Flex? I am aware of Tofino, but I can't get that to work on my MSVS Express editions, and I don't want to buy the whole thing.

View 5 Replies

Flex :: Get Good Alternative IDE?

Mar 24, 2011

Good alternative Flex IDE? I am interested in free editions mostly but I will also take under consideration the paid ones.

View 2 Replies

Php :: Xcode As An Alternative Of Flash?

Dec 20, 2011

We have developed a magazine reader which is basically PHP application. Admin panel is built in PHP but when any user wants to read a particular magazine, it is handled by Flash i.e. we are embedding the .swf object with HTML in PHP page. But flash is not supported in iPad/iPhone. So we want to create this application in Xcode so that user can read the magazine in iPhone/iPad also. There is confusion how it can be accomplished.

View 1 Replies

ActionScript 2.0 :: If Statement Alternative?

Mar 17, 2004

I was reading through various source codes, trying to teach myself more and more AS as usual... and some things brought me to ask this question.let's say I place a movie clip on the stage, called gun. would:if (_root.gun) {} return a true statement, simply because a MC called gun exists on the stage?

View 1 Replies

ActionScript 2.0 :: Alternative To AttachMovie??

Apr 16, 2007

Is there an alternative to attachMovie that I can use to put my movieclips on to the stage. Here is my problem, I have 2 frames total in my fla file, and in each frame I have buttons that when you click on them it attaches the corresponding image from the library. Problem is when you click to go to the next frame, the attached image stays.

I basically want it to stay attached only until you hit the next frame.

View 4 Replies

ActionScript 3.0 :: Alternative To TileList?

Mar 9, 2009

I'm looking for a lightweight alternative to the TileList component. I'm currently designing and developing an MPU Ad Creative that references an XML doc and pulls in four FLVs and their appropriate meta data. These videos will then be playable in the merch window, and there will be some opt-in data capture going on as well.

I've got a prototype going at the moment that grabs the XML and populates a TileList, and then uses ListEvent Listeners to add functionality to each of the ImageCells. All working fine, except that the file size is already at 47k without any of the data capture form fields in there. This is already over the TZ polite-load limit, and I've only added maybe 60% of the functionality. When I remove the TileList class, the swf shrinks down to 3k (a much nicer size ), and even after adding the remaining 40% I can't see this going much above 15k.

So, anyone know of anything I could use to replace TileList? I thought about creating my own class that holds all the information for each Video I need, but I thought I should check first to see if there are any other alternatives.

View 1 Replies

Professional :: Flash Interface CGI Alternative?

Mar 2, 2010

I would like to have a flash app on a website where:A user can input some values Those values are then sent to a server which has an executable fileThe exe is run with the user's settings and then sends some data back to the userThe data is displayed in the flash app.Is it doable with CGI or is there a better alternative to this?

View 2 Replies

ActionScript 3.0 :: OnComplete Alternative For URLRequestMethod.GET In IE7?

Feb 13, 2012

I'm trying to use URLRequestMethod.GET to get some xml from our website.In ie7 the onComplete never fires so it gets stuck but it works great in every other browser. I know that to fix a similar problem with preloaders you change the onComplete to a ProgressEvent and check to see if bytesLoaded == bytesTotal.This doesn't seem to work for URLRequestMethod.GET because when bytesLoaded = bytesTotal it doesn't mean that you have your data. Is there another way to check to see when the data is finished?

View 7 Replies

Alternative To Sitepal (text To Speech)

Feb 26, 2008

Are there any alternatives to sitepal with the same or close the same quality of text to speech engine?

View 1 Replies

Flash 10 :: Alternative For Adobe AIR And Zinc?

Nov 27, 2009

I'm making a Flash app in Flash 10 and ActionScript 2.0 and need support for calling an EXE with some params and minimizing/close the application.

Neither Adobe AIR nor Zinc don't seem to support some code I made and I'm looking for a very simple alternative? Does anyone know about any?

View 3 Replies

Flash :: Looking For An Alternative To PTViewer For 360 Panorama

Dec 4, 2009

I've been using PTViewer but it is causing some issues with looking for the ptdefault.html everytime and I'm wondering what other options are out there?

View 2 Replies

Php :: Free Opensource Amfphp Alternative

Dec 17, 2009

is there any other framework that does the same as amfphp? I dont want to use amfphp because it hasnt been updated in years and looks like it's no longer under development, I have to use PHP so I'm looking for a PHP alternative.

View 2 Replies

Documentation - Flash CS4 Have An Alternative To ASDoc?

Mar 16, 2010

Does anybody know of a tool that will allow me to create ASDoc style documentation with a Flash CS4/AS3 application? From what I hear ASDoc only works with Flex.

View 2 Replies

Flex :: Free Alternative For BlazeDS?

Sep 28, 2010

Do you know any free alternative for BlazeDS? It's working fine here, but we're looking for alternatives to check wich one is better.

View 3 Replies

Actionscript 3 :: Alternative Way For Positioning Objects?

Jan 6, 2011

I'm looking for an alternative way to position a bunch of objects.

Here is my code:

private var orderContainer:Sprite;
private var currentOrder:uint = 1;
private var orderArray:Array;

[Code].....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved