I'm developing an AS3 application which has some memory leaks I can't find, so I'd like to ask some newbie questions about memory management.
Imagine I have a class named BaseClass, and some classes that extend this one, such as ClassA, ClassB, etc.
I declare a variable:
myBaseClass:BaseClass = new ClassA();
After a while, I use it...
(I'm doing this in AS3, but I'm sure the answer could be given in psuedocode)
Basically, I have a XML file similar to:
<Main>
<Event>
<Name>Blah</Name>
<Event>
<Name>Blah2</Name>
<Event>
<Name>Blah3</Name>
...
</Event>
</Event>
</Event>
</Main>
Yeah, to some extent it's poor design. But the idea I'm going for...
Hello! I really need your help. I would like to ask if it is possible using flash to upload multiple images to particular positions. For example, I have a target that is called "people" and when someone uploads an image that is called "people" the image will be placed on that target.
I apologize for my English.
Thank you in advance.
...
Basically i am working through a book called..Foundation Actionscript 3.0 Animation, making things move.
i am now on Chapter 9 - collision detection. On two lines of my code i get the 1135 error, letting me know that i have an incorrect number of arguments. Can anybody help me out on why this may be?
package
{
import flash.display.Spri...
Is there any GPG library for Flex 3?
It seems hard to find information about this from Google.
...
I am trying to make a racing game with an overhead view looking down. There will be a separate mc for the ground and another separate mc for the players car. How can I do this? O ya and just in case i am thinking the way I did:
I tried to "rotate" the ground but when the car moves down the ground it moves away from the registration ...
Which is the best for build an application show like in image. For the better graphics and performance wise. I want to know Flash for Flex is more suitable for this.
In Flash ca we be able to build a grid kind of applications easily? I headed that Flex have the functions to handle grid and other things. Drag & scroll Zoom like feature....
hii...
im using fms to save datas like rdbms. Im using shared object for this. But I cant save more than one row of data into flash media server. What can I do for this purpose??
...
Hi gurus
I have data model (dataProvider as ArrayCollection) i want to display in few views , each view should show filtered data.
As you probably know, filterFunction is property of ArrayCollection,so I can't use this solution (unless creating new instance of ArrayCollection for each view on top original and impementing filterFunctio...
hi guys....
suppose i have 10 image variables like this
var image1:String = http://somewhere.com/image1.jpg
var image2:string = .....image2.jpg
var image3:string = .....image3.jpg
and so forth.........
i have a timer that displays each variable as an image one a time ....
how do i "buffer" the image and display them instead of goin...
I want to have my overlay adjust in size depending on how much content is being shown in the flash movie. Also, I want it to resize in real time when the user adjusts the content.
Is it possible?
...
Hi,
I have an embedable widget. For each impression, I would like to track the referrer (the page where the widget is embedded onto). Right now I am using ExternalInterface to use javascript to check window.location.href when its available, however, I am finding that most of the time I am unable to set the referrer.
Is there a bette...
Hi there! what about this one:
I want to format the currentTime displayed by a videoPlayer component inside flex, something like : 8230.999 to something like 01:59:59:999 which is "hours:minutes:seconds:milliseconds"
I trie different sets of codes but they can't get it to work because currentTime is nor a correct miliseconds time as it...
when the embedFonts is removed, it works perfectly as expect. Otherwise when an image is clicked, it selects the whole text around it.
Alternatively can anyone suggest a method to style dynamic textfields instead of using html?
...
In a multiplayer game I'm developing, we have a few values that are floating point numbers. The back-end (in PHP) and the front-end (in Flash) occasionally perform the same calculations on these numbers, to minimize communication.
I am currently making sure that both sides are using 64-bit doubles, but am I safe to assume that all calcu...
Background:
I am doing some UI work where I allow the user to programatically add and resize controls on a canvas.
Problem:
When resizing a combo box through AS the dropdown stays at the same width as the first time it drops down. So user places combo box on the page, clicks the down arrow, sees the options, selects an option o...
I am working on a tree component and I am having a bit of the issue with populating the data-provider for this tree.
The data that I get back from my database is a simple array of value objects. Each value object has 2 properties. ObjectID and ParentID. For parents the ParentID is null and for children the ParentID is the ObjectID of th...
I have a performance question about pixel bender. I want to enlarge many BitmapData (double their size into new BitmapData). I was doing this with as3, but wanted to use pixel bender to get better performance. On my machine, I get better performance out of pixel bender demonstrations then as3.
To my surprise (or bad coding / understa...
I am trying to figure out how to manage a Datagrid based on an XML object like this:
<matrix rows="5" columns="5">
<column>
<row>0.5</row>
<row>0.21</row>
</column>
<column>
<row>0.6</row>
<row>0.9</row>
</column>
<column>
<row>0.5</row>
<row>0.5</row>
</column>
<column>
<row>0.8</row>
<row>0.4</row>
</c...
Hey all,
I have made a program in Flex for creating simple schedules, similar to MS Project or Vico Control. I have one problem that I would like to solve. (You can see it here: OnTime Project Scheduling tool made in Flex
The tasks of the schedule are represented as Gantt Chart, for which I created a itemRenderer inside one of the rows...