hi all, i've been working on texthandler in flex.
the refernce site i m using is http://www.spreadshirt.net/create-your-own-t-shirt-C59
does n e body have worked on multiline text handlers , then plzz give me some guidance, or if u have some code, on which u have worked,
thank you in advance
...
Hello!
For practice, I'm coding a really simple 2D platforming game in Flash using AS3. I'd like to define two different types of terrain surfaces that the player can walk on based on classic platforming elements. Type1: the player can walk on, and if the player jumps, they will hit their head on it and bounce back to the ground. Typ...
Hi,
In my Flex AIR desktop application I am opening a nativewindow(a window component). On a button click I am explicitly minimizing the nativeWindow using: nativeWindow.minimize();
It minimizes the window that is fine but after that if I traces the nativeWindow.x & nativeWindow.y, they comes as -3200, -3200. due to this I am unable t...
Hello, I've a question about variables in AS3 OOP. Do I have to set them to null or I it's not needed when I define them in beginning of the class? I just noticed someone doing so so I wasn't sure is it right or no.
private var _mcComponentHolder:MovieClip = null;
private var _mcComponentHolder:MovieClip;
Thanks in advance!
...
I'm making a game in flash, and I want to have a whole bunch of different rooms that I can make and delete with code. Ordinarily I'd just use something like:
var room:Sprite = new room1();
game.main.addChild(room);
...but I'd have to export every room for actionscript. Is there a way to get them made just being symbols? If nothing els...
I am trying to figure out how to use http dynamic streaming with flash 10.1 but I can't get the basic functions working. What is the syntax for using appendbytes with a video file?
package com.player {
import flash.display.Stage;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.media.Video;
import flash.display...
i want to create a mask based on an image with alpha transparency, therefore the image and the mask are not simply rectangles.
is this possible?
...
Hi,
In my Flex AIR desktop application I have a nativewindow. I am using nativeWindow.minize() to minimize the nativeWindow.
As I know that the sequence of NativeWindowDisplayStateEvent's is
1. displayStateChanging 2. displayStateChange
But in my native window on nativeWindow.minize() the sequence goes like 1, 2, 2
i.e displayState...
Curious if anyone has this problem:
I save my (embedded) fonts in an external file (fonts.swf) that gets loaded at runtime. Pretty standard.
I also use a bunch of UI artwork generated in the Flash IDE. Some of this artwork contains static textfields (thus, not proper TextFields that can change. Just frozen glyphs).
Here's the problem...
is it possible to get dynamically created children of a display object instance in action script 3 ?
.
example
trace(_view.getChildByName("name"))
= returns name of display object (success)
.
trace(_view.getChildByName("name").getChildByName("name2")
= returns error 1061
.
thanks a lot and have a nice weekend !
...
I need to develop client server application that involve gaming. I have no experience in flash and I was reading about the AMF3 protocol that is compact and fast, is it better than xml/json for data exchange? Also I need it to be on port 80.
...
I have a bar chart with three data points - $10, $0, $1.
Flex 3 does not display the $0 bar at the zero point (i.e "x: 0px"). Instead it is showing a 15px bar as if it is relative or weighted with the other values. This is visually deceptive because at first glance it appears that the middle bar has a positive value.
Does anyone know h...
I am trying to debug the Flex application. I am able to set breakpoints in mxml file, and application breaks on those breakpoints. But when I set breakpoint in as files, I don't see the breakpoint marker, though in breakpoints window I am shown the line no. And when I start my debugging session, the application does not break at that poi...
I've been using ExternalInterface up until now in the rare cases I needed to communicate with HTML.
Is FlashVars considered a better/worse or newer/older practice?
or when do you use one or the other? What's the logic that I should follow to help me decide which one to use?
...
Trying to parse some XML (over which I have no control!)
In C# I would do something like:
XmlNodeList xnList = xml.SelectNodes("/Names/Name[@type='M']");
Can this be done in AS3?
...
I'm new to the whole Action Script / Flash world...but trying to teach myself enough to get something done.
I'm sure the answer to this is simple...but I have a .as file with the following code in it:
package
{
import flash.external.ExternalInterface;
public class Sender
{
public function Sender()
{
...
Hi all,
Newbie here but seen alot of help come from this site so here goes.
I am trying to create a thumbnail slide to add to my gallery but something is not right. the code follows. Any help would be appreciated.
package {
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.M...
How can I modify 2d racing game to seem like isometry? Flash + ActionScript3
ScreeShot
The game is totally in 2d. Car moves like it should and while it drives the ground everything is fine.
I've added a grey ramp. Now the car should move like the arrows are showing, creating illusion of a 3d (isometry).
Ramp is divided in 3 sectors
...
I want to create a RSL with Flash Pro CS5 and then use it with another Flash file. I've created the following example:
RSLLib.fla
Create the file
Create a new MovieClip symbol called Circle, export it for ActionScript as Circle and tick "Export for runtime sharing" with the value "RSLLib.swf"
In publish settings tick "Export SWC"
Expo...
Hi guys,
I have created a custom column header renderer for my AdvancedDataGrid which has a text and a little button inside. Everything works just fine, until a moment when I have to return a headerText by the button click.
Since my custom renderer is an extention of AdvancedDataGridHeaderRenderer it has inherited property label which ...