simple (?) question: what's the easiest way to programmatically change the style of an ADG cell most recently clicked by the user? Important note: I'm assuming cells not to editable and the selection mode to be singleRow, i.e. the specific cell needs to render differently from the standard highlight that comes with being part of the sele...
I have a question regarding AI. Suppose I have a tank, and in my map I have walls. I have an enemy that should try to attack my tank either when it gets.
Can someone help run me through the logic of code.
Is it when the tank is near the enemy then has a range and if the tank is in range the enemy is activated and goes after our targe...
Hello, I am very new to AS3, and I'm confused about how things that would have been simple in AS2 are so complex and tricky now. For example, I want to create a bunch TextField objects that, for some reason, rise up every frame (as in : object.y-=1; ).
However, I also need each TextField to reference the TextField that was created just b...
Hello all,
I wanted to ask any Flash gurus here if they have any best practices for troubleshooting Flash (custom) Events. I'm currently dealing with a couple of events that are supposedly being dispatched but never caught by the corresponding listeners.
Here is the list of things I've already checked for:
Event names are defined as...
Hello, I coded some kind of online chat system with a Flash (AS3) client that sends and retrieves data from a PHP script that communicates with a MySQL database.
It works well, except for the fact that occasionally, my client doesn't get one of the new chat lines even though they are correctly registered in the database.
Here is the ba...
Situation: I've got a RTSP stream with a 3GP video, users need to watch it in their browser. I can't rely on any proxy setups (RED5/Wozwa etc.) because of scalability.
Question: Is it possible to stream it in flash? (I don't mind any dirty hacks :) )
...
Hello.
I have what I think should be an easy problem. I read through an array and count the occurrences of the values in it, I then write these to some variables, which I want to compare in a conditional. My conditional should trace which number occurs more.
Array code:
ActionScript Code:
private function runCount(scoreArray:Array, c...
Here is the link
http://alvotechnologies.com/demo/fungi/
when resizing the window, swf objects overlaps??
...
Hello.
I'm trying to get a projector file to run full screen when it starts, without needing to click anything. My main class inherits from MovieClip, so as far as I can tell I get access to stage... yeah right :)
package
{
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.display.StageDisplaySta...
Hi there!
I got a question about event dispatching in flex.
my goal is to get a custom event loaded up with some data and than bubble up to the eventlistener.
my main application has and AMF service request inside which calls an service class. that class is supposed to dispatch an event when the AMF service request returns a result or...
Hello guys, I'm starting with AS3, i have a problem. I have a button, and inside the button i have a dynamic text field. The button is inside of a movieclip, the instance name of it is News, the instance name of the button is collegamento and the instance name of the dynamic text is Testo. So knowing this I'm triyng to change the content...
i've created a socket extension class. the pseudo code below tries to make a socket connection using the passed parameters. if there is an security error, such as the port number not being an acceptable port number, i want to handle the security error.
however, i can't catch the security error. a popup window appears with a descripti...
I'm using TweenLite class (AS3), I have very big project, should I removelistener of timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); in Tweenlite.as file, after my animation is complete????
Because of big project, i'm affraid that ENTER_FRAME causes memory leak for my project.
Thank you
...
Hi all!
So I built a videochat client that uses the adobe stratus protocol. Its very simple and just connects two users. However, after about a minute of video chatting the clients freeze and the browser crashes.
Any idea what might have caused this? Is there some sort of cache that I need to clear every so often or a possible memory l...
The project has an AS-file (code below) and i need to sprite this class display to a Flex application.
package
{
import flash.display.BitmapData;
import flash.display.Sprite;
import flash.events.Event;
import flash.filters.BitmapFilterQuality;
import flash.filters.BlurFilter;
import flash.filters.GlowFilter;
...
if there's one thing i miss about native programming for Mac OS X using Objective-C and XCode, it's the ability to set #praga marks (essentially bookmarks) to easily navigate thru long scripts via the pull-down menu.
in Flash Authoring CS5 i can can collapse/expand selections of code, but these are removed when the selection is removed ...
Currently using Tweener and wondering how I can tween a regular variable?
private var health:int = 100;
// And then somewhere else in the class
var amount:int = 50;
Tweener.addTween(this.health, {value:amount,
onComplete:healCompleted,
time:0.5,
...
Hi -
How do I prevent a user from dropping an item outsider a folder? My dataProvider
is only 1-level deep.
It seems that with a DragEvent handler or DragDrop handler I can find the data
of the item I'm dragging, but not where I'm dropping ( so I can prevent it ).
The Tree has been giving me such problems all last week. Any helpful ti...
I have a movieclip (childMc) that is the child of another movieclip (parentMc) on the stage. My code creates a reference (refMc) to the child movieclip on the stage, and then deletes the previous parent movieclip (parentMc) through a call to function deleteChild. The problem is that the delete is deleting the reference also. How do I bre...
I have a ProgressBar in MANUAL mode responding an URLLoader's progress events that seems to get drawn far less frequently than I would like. If I debug the app, I can see many events firing from the URLLoader yet it seems that the ProgressBar is being re-drawn at some random and slow rate.
Now if this was my own code (URLLoader is a ...