This text is replaced by the site logo. If not, try enabling javascript.
Advertise
|
About us
|
Site map
|
Syndicate
|
Search site
|
Mailing list
|
View Authors
|
Become an Author
Home
Tutorials
Forums
Articles
Blogs
Movies
Library
Employment
Press
ActionScript.org Forums
>
Search Forums
Search Results
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Page 1 of 6
1
2
3
4
5
>
Last
»
Showing results 1 to 50 of 279
Search took
0.81
seconds.
Search:
Posts Made By:
wu-tang
Forum:
ActionScript 3.0
02-20-2012, 10:07 PM
Replies:
8
TextWidth of the last line of a TextField?
Views:
565
Posted By
wu-tang
Please.... I'd love to see the source. Thanks for...
Please.... I'd love to see the source. Thanks for all the input!
Forum:
ActionScript 3.0
02-20-2012, 09:14 PM
Replies:
8
TextWidth of the last line of a TextField?
Views:
565
Posted By
wu-tang
I'll give it a whack! If have any specific...
I'll give it a whack! If have any specific question will post them.
Thanks for the push.
Forum:
ActionScript 3.0
02-20-2012, 09:05 PM
Replies:
8
TextWidth of the last line of a TextField?
Views:
565
Posted By
wu-tang
Didn't even know about that class. Thx man!
Didn't even know about that class. Thx man!
Forum:
ActionScript 3.0
02-20-2012, 07:58 PM
Replies:
8
TextWidth of the last line of a TextField?
Views:
565
Posted By
wu-tang
TextWidth of the last line of a TextField?
I'm trying to create a background for a textfield like this:
http://justintense.com/clients/FIRST/example.png
When I access the textWidth property it always seems to be the total width. Which...
Forum:
ActionScript 3.0
02-12-2012, 11:14 PM
Replies:
5
How do you areate new instance() when instance is a variable?
Views:
484
Posted By
wu-tang
Sweet man thanks. Exactly what I wanted! It...
Sweet man thanks. Exactly what I wanted!
It works like too:
var objClass:Class = Class(getDefinitionByName(id));
var instance = new objClass;
Forum:
ActionScript 3.0
02-12-2012, 10:46 PM
Replies:
5
How do you areate new instance() when instance is a variable?
Views:
484
Posted By
wu-tang
Thanks. I didn't think so : ( It works fine...
Thanks. I didn't think so : (
It works fine with the if statement for now... It would be handy to eval classes like that. Oh well.
Forum:
ActionScript 3.0
02-12-2012, 10:31 PM
Replies:
5
How do you areate new instance() when instance is a variable?
Views:
484
Posted By
wu-tang
How do you areate new instance() when instance is a variable?
I have a base class I've used on 6 different MC's.
Then when I use these MC's my function runs an if statement to check which one to add.
if(id=design) var obj = new design();
if(id=team) var...
Forum:
ActionScript 3.0
06-23-2010, 11:35 PM
Replies:
0
Scale a netStream video?
Views:
1,673
Posted By
wu-tang
Scale a netStream video?
I'm a little puzzled with this one... Maybe someone can help.
It's a simple video player that opens a netStream which setups a client callback object onMetaData.
The size is off when video is...
Forum:
ActionScript 3.0
02-03-2009, 07:31 PM
Replies:
5
Using FlashVars and Query Strings...
Views:
972
Posted By
wu-tang
http://www.permadi.com/tutorial/flashVars/indexAs3...
http://www.permadi.com/tutorial/flashVars/indexAs3.html
Forum:
ActionScript 3.0
02-03-2009, 06:43 PM
Replies:
5
Using FlashVars and Query Strings...
Views:
972
Posted By
wu-tang
I was about to search for this exact thing. ...
I was about to search for this exact thing.
Here is working example - http://www.permadi.com/tutorial/flashQueryString/indexAs3.html
Hope it helps.
Forum:
ActionScript 3.0
12-19-2008, 10:34 PM
Replies:
0
Target SWF file loaded into loader?
Views:
525
Posted By
wu-tang
Target SWF file loaded into loader?
Ok so I do this to load a SWF file:
var l:Loader = new Loader();
addChild(l);
l.name = "img_1";
var url:URLRequest = new URLRequest(child.@src); ...
Forum:
ActionScript 3.0
12-18-2008, 02:08 AM
Replies:
1
return to function in a parent class
Views:
514
Posted By
wu-tang
Here are 2 things to try: if Main is your...
Here are 2 things to try:
if Main is your document root -> Main(root).nameOfFunction();
or make your Main class extend a MC (public class Main extends MovieClip) ->...
Forum:
ActionScript 3.0
12-18-2008, 02:01 AM
Replies:
2
Persisitent information between scenes
Views:
558
Posted By
wu-tang
With AS 3 you need to use classes. if you create...
With AS 3 you need to use classes. if you create a document class this may solve your problem.
Bottom line do not use scenes!
You should structure your content into separate MovieClips or...
Forum:
ActionScript 3.0
12-18-2008, 01:55 AM
Replies:
2
as2-->as3 function migration?
Views:
550
Posted By
wu-tang
Here is an AS 3 example: In this example it...
Here is an AS 3 example:
In this example it is using the Tweener class to fade - http://code.google.com/p/tweener/downloads/list
So gone are the days of using attachMovie. Now you need to...
Forum:
ActionScript 3.0
12-18-2008, 01:45 AM
Replies:
2
Reading XML after sending variables to php?
Views:
609
Posted By
wu-tang
here is an example of how I do it: ...
here is an example of how I do it:
private static const CORE_URL:String = "xml/videos.xml";
private var loader:URLLoader = new URLLoader(); // new loader
public var responseXML:XMLList...
Forum:
ActionScript 3.0
12-17-2008, 11:33 PM
Replies:
0
Adding a dashed line with AS...
Views:
953
Posted By
wu-tang
Adding a dashed line with AS...
I know you cannot do this directly but I did find a class:
http://www.cartogrammar.com/blog/drawing-dashed-lines-with-actionscript-3/
I'm trying to add this to an already complex setup and am...
Forum:
ActionScript 3.0
12-10-2008, 12:12 AM
Replies:
7
Video Player question
Views:
731
Posted By
wu-tang
No to streaming anything but a FLV. ...
No to streaming anything but a FLV.
Conversion can be done on the server side, but it total depends on your system as to how.
Try searching for "server side FLV conversion".
Forum:
ActionScript 3.0
12-09-2008, 11:41 PM
Replies:
2
XML filtering not getting any results?
Views:
541
Posted By
wu-tang
Thanks. It was starting to frustrate me. ...
Thanks. It was starting to frustrate me.
Makes sense... now I know.
Forum:
ActionScript 3.0
12-09-2008, 11:22 PM
Replies:
2
XML filtering not getting any results?
Views:
541
Posted By
wu-tang
XML filtering not getting any results?
I'm sure this is right, but it doesn't seem to work. I just want to filter an XMLList.
Here is my code:
trace("XML filter: " + responseXML.recruiters.recruiter.(@name ==...
Forum:
Components
12-05-2008, 04:57 PM
Replies:
2
[AS3] Fullscreen projector screws with FLVPlayback scaling.
Views:
4,404
Posted By
wu-tang
Thanks man. I found that one too. In my case...
Thanks man. I found that one too.
In my case I want it to be false as I don't want it to take over.
:D
Forum:
Components
12-05-2008, 01:04 AM
Replies:
2
[AS3] Fullscreen projector screws with FLVPlayback scaling.
Views:
4,404
Posted By
wu-tang
[AS3] Fullscreen projector screws with FLVPlayback scaling.
Ok this issue is starting to be problematic. I want to export a fullscreen projector, but when it's a projector the fullscreen value seems to override the FLVs scaling.
When the FLV get added to...
Forum:
ActionScript 3.0
11-11-2008, 05:59 PM
Replies:
5
Annoying Spawning MovieClip Problem
Views:
685
Posted By
wu-tang
That is probably because the classes were moved...
That is probably because the classes were moved into a package.
Go into the linkage of the Player MC and ensure it is set to - gameclass.Player
This tells it the Player class is in gameclass.
...
Forum:
ActionScript 3.0
11-11-2008, 12:07 AM
Replies:
5
Annoying Spawning MovieClip Problem
Views:
685
Posted By
wu-tang
So your main issue is the class structure. ...
So your main issue is the class structure.
1. You need to import your classes in the package not the class.
2. As main is document class you can use it to add the title & game screens
3. Title &...
Forum:
ActionScript 3.0
11-04-2008, 12:58 AM
Replies:
2
Does BitmapData draw what's outside the stage area?
Views:
1,646
Posted By
wu-tang
I found the answer.... use a matrix. ...
I found the answer.... use a matrix.
public function getNodesBitmap():Bitmap
{
var bmpData:BitmapData = new BitmapData((grid.width + (node_width*2)), (grid.height + (node_height*2)),...
Forum:
ActionScript 3.0
11-04-2008, 12:31 AM
Replies:
2
Does BitmapData draw what's outside the stage area?
Views:
1,646
Posted By
wu-tang
Does BitmapData draw what's outside the stage area?
Quick question. I have a MC with some over sized content in it (2000,2000). The content is at x=-1000, y=-1000;
This MC sits on the stage and can be moved around. Sometimes it is at a negative X,Y...
Forum:
ActionScript 3.0
09-25-2008, 12:41 AM
Replies:
6
Dectect if mouse is over a clip - even if dragging another MC?
Views:
1,057
Posted By
wu-tang
Sweet, thanks for the bright idea! To...
Sweet, thanks for the bright idea!
To further your concept. If the drag object contains other clips you need to set the mouseEnabled property on them not the container clip.
In my case, I have...
Forum:
ActionScript 3.0
09-24-2008, 10:26 PM
Replies:
2
Cast from object to Custom Object
Views:
2,052
Posted By
wu-tang
Just a stab in the dark here... and i'm sure a...
Just a stab in the dark here... and i'm sure a less efficient method.
What about a for in loop to sync up the properties of generic -> custom?
Forum:
ActionScript 3.0
09-24-2008, 10:22 PM
Replies:
6
Dectect if mouse is over a clip - even if dragging another MC?
Views:
1,057
Posted By
wu-tang
So based on what I've tested I cannot get this to...
So based on what I've tested I cannot get this to work.
I've tried it with start stop drag and a custom drag event like this:...
Forum:
ActionScript 3.0
09-24-2008, 09:06 PM
Replies:
6
Dectect if mouse is over a clip - even if dragging another MC?
Views:
1,057
Posted By
wu-tang
Thanks for that, but it still doesn't trigger...
Thanks for that, but it still doesn't trigger there event when I ma dragging. Perhaps I have the scope wrong:
Tree class:
private var grid:MovieClip = new MovieClip(); // create the grid...
Forum:
ActionScript 3.0
09-24-2008, 08:34 PM
Replies:
6
Dectect if mouse is over a clip - even if dragging another MC?
Views:
1,057
Posted By
wu-tang
Dectect if mouse is over a clip - even if dragging another MC?
So i have a big grid made up of MC's:
grid
row1 -> sqr1, sqr2, sqr3...
row2 -> sqr1, sqr2, sqr3...
...
I wanted to know if you can add an event to the grid sqr that will detect if the mouse...
Forum:
ActionScript 3.0
09-23-2008, 01:23 AM
Replies:
7
Error suppression?
Views:
729
Posted By
wu-tang
Ok this works, in case anyone else wants to know:...
Ok this works, in case anyone else wants to know:
function checkTarget(e:Event):void
{
if(e.target.dropTarget is Sprite || e.target.dropTarget is MovieClip)
{...
Forum:
ActionScript 3.0
09-23-2008, 01:18 AM
Replies:
7
Error suppression?
Views:
729
Posted By
wu-tang
What about this: function...
What about this:
function checkTarget(e:Event):void
{
if(e.target.type("Sprite") || e.target.type("MovieClip"))
{
if(e.target['dropTarget'] == false) return;
...
Forum:
ActionScript 3.0
09-23-2008, 01:11 AM
Replies:
7
Error suppression?
Views:
729
Posted By
wu-tang
That one produced: Warning: 1096: Illogical...
That one produced:
Warning: 1096: Illogical comparison with null. Variables of type Boolean cannot be null.
I think it works with false.
Thanks for the help. I'll keep playing.
Forum:
ActionScript 3.0
09-23-2008, 01:10 AM
Replies:
7
Error suppression?
Views:
729
Posted By
wu-tang
See below
See below
Forum:
ActionScript 3.0
09-23-2008, 12:59 AM
Replies:
7
Error suppression?
Views:
729
Posted By
wu-tang
Nice try. ...
Nice try.
e.target.hasOwnProperty("dropTarget") seem to always evaluate to true.
This leads me to believe the property is there... but then this causes errors.
if(e.target.dropTarget !=...
Forum:
ActionScript 3.0
09-23-2008, 12:22 AM
Replies:
7
Error suppression?
Views:
729
Posted By
wu-tang
Error suppression?
public function drag(e:MouseEvent):void
{
this.startDrag(false);
addEventListener(Event.ENTER_FRAME,checkTarget);
};
function checkTarget(e:Event):void
{...
Forum:
ActionScript 3.0
09-19-2008, 07:18 PM
Replies:
7
Reference parent class?
Views:
1,937
Posted By
wu-tang
Dudes that awesome! Thanks! I did not really...
Dudes that awesome! Thanks!
I did not really understand the whole tree structure so that is what I am was getting at. There is some very useful info here and it helps me out huge.
I do have a...
Forum:
ActionScript 3.0
09-19-2008, 04:51 AM
Replies:
7
Reference parent class?
Views:
1,937
Posted By
wu-tang
Reference parent class?
I'm pretty sure this is not possible but wanted to ask as I cannot find any reference to it.
1. class_a extends a movieClip
2. the clip is added to the stage addChild(class_a);
3. class_a...
Forum:
ActionScript 3.0
09-16-2008, 11:27 PM
Replies:
1
AS 3.0 Color class?
Views:
3,083
Posted By
wu-tang
Ok... for anyone else with this issue..... Color...
Ok... for anyone else with this issue..... Color is gone.
Just use type:uint to type all color objects.
Forum:
ActionScript 3.0
09-16-2008, 11:15 PM
Replies:
1
AS 3.0 Color class?
Views:
3,083
Posted By
wu-tang
AS 3.0 Color class?
var line_color:Color = lineColor(type);
public function lineColor(type:String):Color
{
var col:Color = new Color();
switch(type)
{
case "spouse":
col = 0xcccccc;
Forum:
ActionScript 3.0
09-12-2008, 08:07 PM
Replies:
1
Dragging over MC's that contain different DisplayObjects?
Views:
575
Posted By
wu-tang
Anyone got an ideas on this one?
Anyone got an ideas on this one?
Forum:
ActionScript 3.0
09-12-2008, 12:10 AM
Replies:
2
Flash Player Width Limit
Views:
1,242
Posted By
wu-tang
I have divided my content into blocks and loaded...
I have divided my content into blocks and loaded then separately to get widths greater than size limits.
Not sure if that still works in AS 3
Example - http://www.communityartgrid.com/
Forum:
ActionScript 3.0
09-11-2008, 11:37 PM
Replies:
1
Dragging over MC's that contain different DisplayObjects?
Views:
575
Posted By
wu-tang
Dragging over MC's that contain different DisplayObjects?
I have a bunch of clips that can be dragged around. In some cases they pass over MC's that contain shapes, textfields, etc.
When this happens I get an error because I am checking for a dropTarget;...
Forum:
ActionScript 3.0
09-11-2008, 10:28 PM
Replies:
4
loading an external Clip
Views:
641
Posted By
wu-tang
Here is what I'd do: var myLoader:Loader;...
Here is what I'd do:
var myLoader:Loader;
var myClip:DisplayObject;
var x_pos:int;
var y_pos:int;
function loadSuccess(file:String,x:int,y:int):void
{
Forum:
ActionScript 3.0
09-11-2008, 09:41 PM
Replies:
3
Flash Scrollbar to control HTML
Views:
4,300
Posted By
wu-tang
Is the HTML list loaded in a textfield in a flash...
Is the HTML list loaded in a textfield in a flash movie or is it in the HTML page and you want a flash scrollbar to control it?
If the flash movie and the HTML list are not in the same movie then...
Forum:
ActionScript 3.0
09-11-2008, 09:33 PM
Replies:
4
loading an external Clip
Views:
641
Posted By
wu-tang
Here in an example of how to load a external swf:...
Here in an example of how to load a external swf:
var myLoader:Loader = new Loader();
var myTree:DisplayObject = addChild(myLoader);
var url:URLRequest = new URLRequest("Tree.swf");
...
Forum:
ActionScript 3.0
09-11-2008, 09:29 PM
Replies:
0
Save object to string -> load string and convert back to object?
Views:
770
Posted By
wu-tang
Save object to string -> load string and convert back to object?
Wondering if anyone knows if this is possible. First a little explanation:
1. I have container grid where you can add and position MC's
2. The MC's x,y and other data is stored in a 3d object
3....
Forum:
ActionScript 3.0
09-10-2008, 08:57 PM
Replies:
1
Calling a function in parent class?
Views:
2,222
Posted By
wu-tang
This seems to work: ...
This seems to work:
MovieClip(this.parent).positionNode(lev,pos);
Forum:
ActionScript 3.0
09-10-2008, 08:31 PM
Replies:
1
Calling a function in parent class?
Views:
2,222
Posted By
wu-tang
Calling a function in parent class?
Simple question:
I have class that controls a container MC (Tree). Inside this class I add new profiles.
var profile:Profile = new Profile();
The profile can be dragged around and...
Forum:
ActionScript 2.0
09-05-2008, 09:24 PM
Replies:
3
Idle Watcher in different areas
Views:
561
Posted By
wu-tang
Yeah, that class looks good. What you have...
Yeah, that class looks good.
What you have above is correct. Personally I'd make a variable that holds the name of the MC for each sectio nand a new function to call the class.
var...
Showing results 1 to 50 of 279
Page 1 of 6
1
2
3
4
5
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
ActionScript Forums Group
ActionScript 3.0
ActionScript 2.0
ActionScript 1.0 (and below)
Simple Stuff (Newbies)
Flash General Questions
Flash 10 General Questions
Flash 9 General Questions
Flash 8 General Questions
Other Flash General Questions
Flex
Flex 2, 3 & 4
Flex 1
Extensions and Plugins
Components
JSFL - Extending Flash
Desktop, Mobile and non-browser Environments
AIR (Apollo)
FlashLite / Portable Devices Development
Projectors and CDs
Supporting Technologies
HTML and JavaScript
haXe
Server-Side Scripting
Flash Remoting
Flash Media Server
General
Best Practices
Gaming and Game Development
Animation and Effects
Flashants Support Forum
Community Boards
General Chat
Just for Kicks Challenges
Detention
Flash In Action
Site Check
Cool Sites
Widgets
Decommissioned
Projects and Positions
CMS Forums
Announcements Board
Content Postings / Updates
Product Review Requests
CMS Technical Questions
Process Questions
Collaboration & Suggested Articles
All times are GMT. The time now is
03:04 AM
.
///
Categories
Tutorials
Flash
Flex
Articles
Best Practices
Product Reviews
Third Party
Press Releases
The Community
Featured Jobs
Technical Flash Artist
MADISON, USA
iPhone/iPad Developer - CREATIVE CIRCLE
Philadelphia, USA
UX DESIGNER - CREATIVE CIRCLE
Philadelphia, USA
- More ActionScript, Flash and Flex jobs in the Employment Section.
- Advertise a job for free
Contact Us
-
Home Page
-
Archive
-
Privacy Statement
-
Top
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by
RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our
Privacy Policy and Terms of Use
.