If I have a container, and I set clipContent to true, how do I get the total height of the children inside it? Is there a method for doing this without itinerating through every child and summing the heights?(this would be really difficult for me as I have a mx:Tile with a variable width, so I don't know how many rows does it have)
Any ...
hi guys...Simple question..
I have 1 MC with buttonMode=true. There are 2 text fields nested inside 1 button graphic inside the MC. My question is that when I roll over my mouse to my button, the roll over effect is gone if I roll over my text fields....the mouse is still inside the button graphic but the roll over effect is gone....see ...
Trying to figure out how many netstreams i can support (reliably) on one netconnection. Further, if configurable, how I would configure.
Thanks,
jbs
...
Hi guys...
I am building a chromeless player with Actionscritp 3 and got the following error when I play certain videos.
SecurityDomain 'http://www.youtube.com/apiplayer?version=3' tried to access incompatible context 'http://s.ytimg.com/yt/swf/apiplayer3-vfl181412.swf'
My app can search youtube videos .The error message shows up al...
Hi guys...
My following code gave me
TypeError: Error #2007: Parameter child must be non-null runtime error.
not sure why...I would appreciate any help...
mySb = new ScrollBar();
mySb.x = cont.x; //+ cont.width;
mySb.y = cont.y;
mySb.height = contMask.height;
mySb.enabled = true;
add...
The program will show the student a line graph. The student will have to recreate that line graph by moving a character away from or toward a motion detector using the arrow keys, creating a distance-time plot. I can capture the data points that the program generates when drawing its graph. I can also capture the data points gnerated by ...
I need to create a slide show in Flash using AS 3.0. I want it to have the same functionality basically as http://www.fao.com/home/index.jsp but without the text area on the bottom. I want the images to rotate, but instead of having the numbers rotate and a forward pause and backwards button. Or similar to http://www.auroragift.com/new_w...
Hi!
I'm using flex4 and actionscript, and need to treat an event in a synchronous mode. Is it possible that? More exactly, i want to execute some queries in a database, and need to be synchronously. Any suggestions?
...
Hi, I would like some help (and I'm new to this site)
I want a typewriter-effect. So that it looks like the code in the string is typed character by character (for an animation). However, I get a #1009 back. It talks about a null object reference (the error is in Dutch).
My dynamic text field is in the same scene, on a different layer...
Imagine I have a game with a base Entity class, with an init method that takes no arguments. Now I have a Wizard class, but I want to pass in 2 parameters, say speed and strength. In AS3 (and I believe Java and C#) I will not be allowed to do this - it is an "incompatible override" because the method signatures won't match. Now I could j...
Hi guys....
I am trying to create a mc with drag function.My question is how to change another movieclip's x value when I drag my first mc...
videoSlider.addEventListener(MouseEvent.MOUSE_DOWN, scrollMC);
videoSlider.addEventListener(MouseEvent.MOUSE_UP, stopScrollMC);
private function scrollMC(event:MouseEvent):void{
even...
I have a TextField and a Sprite both at y = -20; and they are in the correct position.
Then I do this tween.
Tweener.addTween(t, {y: 20, time:0.5, transition:"linear"});
Tweener.addTween(noteBar, {y: 20, time:0.5, onComplete:Hold, transition:"linear"});
(t is the TextField and noteBar is the Sprite)
What happens when I do this is th...
I've recently started putting together a Facebook Connect AS3 app and retrieving objects and images through the Graph API.
Running anywhere but locally, I receive security errors of the form:
SecurityError: Error #2122: Security sandbox violation: Loader.content: xxxx cannot access http://photos-a.ak.fbcdn.net/xxxx.jpg
A policy ...
Hi all... searched looooong and hard for this without luck:
I need to put a combobox in a column of a datagrid. The user just need to select a value from the existing combox items.
I know I need to use a custom cellrenderer. Please see my current attempt below.
This attempt successfully inserts a combobox into the datagrid, BUT without ...
I'm using FlashDevelop (latest version) + Flex 4 SDK for some projects, and am finding it a very efficient setup so far.
However, I have a problem.
Say I create an AS3 project in FlashDevelop, and add AS3 10 classes to it (in 10 .as files), one of them being my main class which will be the principal SWF. As expected, my main class comp...
Hi guys..
I am trying to create a scroller...The videoSlider is my scrollBar and I want to drag it so my secondMC will move....everything works fine in my code but if I mouse down in my videoSlider and up outside of it....The drag state still apply and it's not what I desire....any ideas?? Thanks...
videoSlider.addEventListene...
Hi guys...My brain is fry now and I need you guy's help
My last post
http://stackoverflow.com/questions/3449725/actionscript-3-simple-drag-question
I am trying to get the scrollBar(videoSlider) dragged to the certain point base on my secondMc(container)
I have X number(dynamic) of small pics in my secondMc and I want my scrollBar stop...
I'm making a custom slider component. The head (the thing that you drag) is programmed like this:
head.addEventListener(MouseEvent.MOUSE_DOWN, function():void {
head.startDrag(false, new Rectangle(stubDiv,0,width - stubDiv - ((levels-maxLevel)*stubDiv),0));
});
head.addEventListener(MouseEvent.MOUSE_M...
I'm currently building a browser-based application using Stratus. So far everything is working fine and I understand how it all works.
The problem is when I try to manipulate the pixel data of the incoming remote video stream using BitmapData.draw(). What happens is that I get a sandbox security error, which is understandable.
To solve...
Is it possible to get these two working together? When I try to install the eclim (1.6.0) installer complains about the eclipse version.
...