The concept of this seems easy, but I'm having trouble getting it right and can't find anything to help me on this.
I have a panel I need to perform a drag and drop operation on, but I only want to perform that if the user mouses down on a particular area of the panel. I can add an Icon to the panel by doing this:
[Embed("/img/icon.png...
I am using as3. Just a simple question.
If I created a static method. say I decide to call on other methods within that static method. Do those methods I call on need to be static as well? what If I used some of the properties. Not to store data permanently, but just within that process. Do those properties need to be static ??
...
I need to write a small Flash app that will need to extract a video frame from a playing video. It will not need to be saved to the HDD of the user. I just need to get the image data and display it in the Flash movie. The frame to extract will be chosen by the user, which is why I'd like to do this purely on the client side (though I kno...
I'm doing SWF application which will run in browser.
And I want to capture CTRL+F key pressing event when Flex application is in focus.
In Firefox it works fine but in Opera and Safari browser captures event prior to Flex application and Find Dialog pop-ups.
Is there any way for flex application to capture CTRL+F event prior browser?
...
I'm trying to extend a class like panel so that I can fire click events only when the title area is clicked on. The title area is a protected uicomponent of Panel called titleBar. So I want to make that component public.
It seems like I'm almost there but I'm getting a "TypeError: Error #1009: Cannot access a property or method of a nul...
I am setting up a Flash based MP3 player control (The standalone version of WordPress Standalone Player). I have a situation of multiple windows with players open. One window opens the other, so I have the window.opener property available.
When the child window is opened, I want to programmatically mute the audio player in the parent w...
Is there a way to get an instance reference to the document class to call a method of it from the stage's timeline?
I see that here's a possible solution: using a singleton
Other solution I though of is using stage.getChildAt( 0 ) but it's not very nice.
Is there an 'official' instance reference? because the document class is obviously i...
Hi,
I want to develop a simple race car game.
A user will see his car from above and can use right and left arrow keys to navigate in the track and between other cars.
What is the correct way to develop a game?
Do I use pure actionscript with FlashDevelop or the Eclipse plugin?
Do I use Flex3?
Is it better to use adobe Flash CS4 Profes...
I have a VBox containing a bunch of panels. I have implemented dragging and dropping but I need to be able to scroll automatically when the item is drug near the edge. I am having mixed results. I can get it to work, but not well. My example is below. It works if the user bounces their mouse around a little near the top or bottom edge, b...
I am trying to figure out how to apply the is operand or the instanceof in a case statement to determine which datatype a interface object belongs too. keep getting errors
switch (IOjbect is)
{
case Tile:
trace ("Load Tile");
break;
case House:
trace ("A House Load...
Just wondering if it is possible to show a movie clip based menu inside a Flash movie when the user "right-clicks" an item (a button or movie clip for example).
...
I am looking for a "test your webcam" flash movie like this one that is free and OK to use in a closed environment.
I need the camera testing only, no server side processing of the video stream. It is thought as a small online tool for a client.
Is this possible? Does anybody know a freely usable solution?
...
How do I use minimax in Actionscript 2.0?
...
Is there a way to test Flash ActionScript scripts without having Flash installed and running them inside a swf?
...
var \x01 = -712 + \x04\x05();
for (\x01 = eval("\x01") + 242; eval("\x01") == 765; \x01 = eval("\x01") - 27)
{
}
Is this valid ActionScript? If so what does it doo?
...
I am trying to add an event listener to my BitMap. Tile extends gameProps, which extends BitMap. I try using addEventListener. That doesnt work. but the Adobe docs say that Bitmap has an addEventListener object.
package {
import flash.display.BitmapData;
import flash.events.*;
import flash.events.Mou...
FLash cs4 output:
Connecting...
Error #2044: unhandled NetStatusEvent:。 level=error, code=NetConnection.Connect.Rejected
at HelloWorld/connectHandler()
Server log:
Sat 01:54:17 PM: Core (4072) connection to admin accepted.
----------------connect again----------------------------
Sat 02:09:31 PM: Core (1196) connection to admin acc...
Hi, I've a problem with the youtube actionscript api... The problem is that you can see the play button and the loading sign, and you can hear the sound of the video, but you can't see it.
Why is that?
Here's the code:
// myPlayer.as
package {
import flash.display.*;
import flash.events.*;
import flash.ui.*;
import fla...
I know there has to be away to adjust objects on the stage from all keyframes because it's probably the most annoying thing I've experienced
I adjust a bitmap image and then when you play the movieclip, right when it hits another keyframe it shows the old position instead of the new. How can I update all images on the stage including al...
How hard is it to import a powerpoint presentation into flash. It would be perfect for me if the output would look like this: every powerpoint slide becomes a movieclip or a .swf file. I don't have any animations and sounds, its just text and images. I know i could save the slides to png but its very bad idea using bitmaps for text in fl...