In a panic since I'm trying to meet a deadline so appreciate any feedback on this.
For some reason, Flexbuilder 3 on my mac won't launch, crashes on startup.
I've never experienced this before.
Checked the .log file and what seems to be the problem is the following
/Users/foo/Library/Preferences/Macromedia/Flash Player/#Security/Flash...
need to make a reusable custom component from the existing code here. So that I can use this code to make this effect(view stack) to work in any direction. In the code it has user specified height and works from downside.
I need to make this component customizable, something like user is able do it in any direction.I need it urgently....
I need to 'embed' a file as a string of bytes directly in AS3 code rather than calling it as an external resource.
So this works fine:
var testString = "537563636573733a20537472696e672072652d656e636f6465642e";
var testArray:ByteArray = new ByteArray();
var len:uint = testString.length;
trace("testString LENGTH: " + len.toString());
f...
Is it possible to clear a Flex flash.utils.Dictionary? I have a Dictionary that I want to clear (remove all elements).
...
I am trying to create a Dynamic flash Navigation Menu which will disable the button of the page you are on leaving the button in the "hit" state and then active it once you have called for a new page and deactivate the new button.
I know this can be done with movie clips and some old school gotoAndPlay/Stop slight of hand but I would li...
I'm converting an old AS1 project to AS3 and am running into a little problem.
Previously, I was attaching random movieclips that are linked from the library with id's like movie1, movie2, movie3, etc. Here was my code:
var ranID = random(4)+1;
var mc = attachMovie("movie"+(ranID), "mc"+ranID, ranID);
In AS3, I've given each of these...
How do I get my counter to work? Please include explanation, and feel free to comment.
CONFUSION: I'm confused about the MovieClip container in as3. public class
NumbersView extends MovieClip, so that seems to
be a container. That may not be the problem, but
that's where I got lost.
The working version of this code is fantastic. My
co...
go_btn.addEventListener(MouseEvent.CLICK, getPlayerName);
var playerName;
function getPlayerName(e:MouseEvent)
{
playerName = playerName_txt.text;
}
trace(playerName);
Hi, is there any way to have this work. I want to update a variable outside the scope of the function.
Thanks
...
Hi,
I was wondering if anyone had access to source code that would allow me to draw lines between objects. I have examples of the standard one line between 2 objects.
What I'm looking for is an example of how to draw a branching line. I.e. Starts as a line coming from an object and then branches out to other objects. I don't want to dr...
Hi,
I need to open a pop up window from a SWF using actionscript 3.0 and Java.. I found some code to open the the window (it works great in all browsers), but I'm not sure how to control the size dimensions of the pop window. I'm not that familiar with Java. Any ideas.. Here's my code:
public class TestPopup extends Sprite {
privat...
I have an HTTPRequest in mxml that has an mx:request defined inside it. I use the info in the mxml request 99% of the time (I thought it was 100% until I found this bug). So I need to send the HTTPRequest with one of the items in the request different. I tried using the send() method and sending my own object, much like you would if no r...
I am making a small game in flash, I would like to track scores but I cant figure out how to call the current username from joomla using actionscript. (creating the game in flex3)
...
I am using the AutoComplete component in my Flex website. Everything is fine, but there is one issue.
If i type something in the text area, and the items that are searched are alot, i want to increase the height of the dropdown box. I am unable to figure that out.
below is the code to my autocomplete
<auto:AutoComplete borderStyle=...
Below is my code, and the question is explained after it.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:cal="cal.*"
layout="absolute"
applicationComplete="init()"
xmlns:geometry="com.degrafa.geometry.*"
xmlns:degrafa=...
Short version: ComboBox's dropdown works and renders properly before fullscreen, but not during or after.
I'm not totally sure how to ask this, so I've actually made a page demonstrating the error, with a very simple Flex app, and all three directions you need to experience the problem yourself.
For those of you not daring enough to fo...
what does the field of view to do with the z axis in flash? I have tried moving object towards the eye with different fieldofview values with same z axis but their size changes.
Please help
...
Hi, I have a bunch an as3 game going.
In my game when newCrag hits egg_mc the score gets added.
// Add the score
var newScore:score_mc;
newScore = new score_mc();
addChild(newScore);
newScore.x = 20;
newScore.y = 20;
newScore.score_txt.text='0/15';
var score:Number=0;
function getEggs(event:Event):void {
if(event.target.hitTestObj...
Hello friends, I have the following array as3 example:
var arrayDefinitionsargsAmfPhp:Array = new Array();
arrayDefinitionsargsAmfPhp['tabela'] = "controls";
arrayDefinitionsargsAmfPhp['width'] = "100";
sending him to the remote object for php, example:
async = bridge.getOperation(amfphpFunction).send(arrayDefinitionsargsAmfPhp);
I...
I have a MXML button:
<mx:Button id="myButton1"/>
How do I create N number of Buttons with Actionscript: myButton2, myButton3, myButton4... myButtonN ?
And how to get the reference to the newly created buttons right after they are created? Like
I should be able to do myButtonN.x = 100 right after it's created.
...
I need to move a sprite only vertically on mouse move. How do I implement it with as3?
Thanks
...