Hi,
I am in the middle of a project and I am building this look-book kid of thing such that each page is a set of 3 images. So when I press next it displays the next in the set. I am modifying the imageRail image gallery component. Now what I want is that the border of the page to fade in as the user goes from one set of pages to the ne...
Hi,
I am building a image gallery in flex 3. In each page I have 3 images show. I would like to allow the user to see the page number he is on at the top right corner as below
1/2/3/4/5/6>>
Here page 3 is the current page and would be shown in black whereas other page numbers are in white. When we have more than 6 pages, they are not...
Hi,
I have 2 functions going in as3:
function blueDownBounce (e:MouseEvent):void {
var blueDownY:Tween = new Tween(blue, "y", Regular.easeOut, -49, -19, 1, true);
}
blue.addEventListener(MouseEvent.MOUSE_OVER, blueDownBounce);
function blueUpBounce (e:MouseEvent):void {
var blueUpY:Tween = new Tween(blue, "y", Bounce.easeOut, ...
Hey,
I have a tween set on a timer:
var manTimer:Timer = new Timer(1000,14);
manTimer.addEventListener(TimerEvent.TIMER, moveMan);
function moveMan(e:TimerEvent):void {
var manX:Tween = new Tween(man, "x", Regular.easeOut, 0, -40, 1, true);
}
I just need to make the tween's position relative to it's current position, as opposed t...
Hey,
In my code here:
var manTimer:Timer = new Timer(1700,5);
manTimer.addEventListener(TimerEvent.TIMER, moveMan);
function moveMan(e:TimerEvent):void {
var manX:Tween = new Tween(man, "x", Regular.easeIn, man.x, man.x - 100, 1.5, true);
}
function startMan(e:MouseEvent):void {
manTimer.start();
var manX:Tween = new Tween...
I have a number of GUI dialogs defined using MXML. Assuming these mxml objects have been compiled into my application, is there any way to instantiate these objects using ActionScript, sort of like this?
myFoo: Mxml2ActionScriptClass("FOO.mxml") = new AutomagicalMXMLFactory( "FOO.mxml");
myFoo.addEventListener(etc etc)
th...
Can anyone help me make sense of the following?
I create a few squared sprites and then remove the first one
and display the coords.
The result is:
(x=0, y=0, w=208, h=40) 0 208
(x=42, y=0, w=166, h=40) 0 166
The x coordinate is still 0, though width has changed,
getBounds shows correct values.
I would expect x to change as well....
Please refer to http://www.contempo.org.mo/Online%20magazine/ISSUE21/index.htm
Is there any open source or other tools can accomplish this ?
If I need to develop it by our own, what technology can we use? please give me more details.
...
Hi,
I am seeing some weird behavior from flash.
I created a test symbol ('SquareMask') of a square with a mask layer above it.
The mask layer exceeds its size like so:
(green: object, yellow: mask)
next object: Duplicate as the previous one, deleted the mask layer.
After that I dragged both symbols into the main scene,
Now inside ...
I have a browser-deployed Flash app (not an AIR app with access to SQLConnection) and it fetches JSON results from a remote server via HTTPService.
I need to extract subsets from the returned resultset, an array of objects, efficiently. Mutltiple calls through the cloud to the back-end won't do. It all has to happen client-side.
Is t...
Hey,
I have a bunch of different tweens going on in different movie clips but it seems that sometimes the tweens will freeze halfway through during my transitions.
This guy is having the same problem and his question was answered but I'm not too sure exactly what they meant when they told him what to do: http://www.actionscript.org/for...
I have created a module in Flex like below:
modules/ModuleBase.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">
// components here
</mx:Module>
So far so good - when this file is saved ModuleBase.swf is generated.
Now I extend the above and create another class:
ModuleChild.mxml...
Hello,
I have an XML which should display a simple link inside of my Flash site:
<U><a href='http://dat.erobertparker.com/WAStore/shopdisplayproducts.asp?id=1&cat=Books'>Purchase Here</a></U>
I am leaving the link as it may be relevant; it is not a simple path i.e. www.google.com.
Anyway, you can check the problem by going to h...
So I a few badges (MovieClips)!
The main idea is to generate a collection of badges with random numbers associated to them.
This is what I did up to now:
I created two different MovieClip badges, and exported them for ActionScript as Badge and BadgeHover
Within the BadgeHover the label has been transformed into a class with insta...
I have different cards, I need to reveal them in a wave like form, i.e. the cards open and close at different timings sequentially and systematically such that they form a wave.
I have the cards in an array alr. How do I implement this animation in the most efficient way? Thx!
...
In AS3, I have a Sprite that has a Z axis rotation applied.
How do I calculate that Sprite's dimensions (it's original size) from Sprite.rotationZ and Sprite.getRect(...)?
...
Is there a way to post to a users Facebook wall via fbConnect? (php/as3)
I can authenticate and pull info but not post anything. I have searched extensively and not found a working example or docs on how to post directly via AS3. My current work around is to external link to an Ajax page. blah.
J~
...
I've got a load of videos
var ns1:NetStream = new NetStream(nc);
container1.compMa.theVideo.attachVideo(ns1);
ns1.play("sukh_diesel.flv", 1);
//
var ns2:NetStream = new NetStream(nc);
container2.compMa.theVideo.attachVideo(ns2);
ns2.play("sukh_beneath.flv", 1);
//and 4 more, which I've left out to be concise
I want to pause them ...
Does anyone know of a trick to ignore upper/lower/camelcase on XML node names and attributes?
A quick example: I give an XML file to my client which contains an XML attribute named fooID but the client could change the XML, and - not being aware of upper/lowercaseness change or add an attribute under 'fooid'. Naturally my parser (in AS3...
If I use setChildIndex to change my movieclips index position on the stage. Can I only set it to a index that already been occupied. or can I make up an index of my own. like 100. Reason being is because I am trying to figure away to make movieclips always on top. What I had in mind besides setChildIndex is...
if(eApi.getChildIndex(this...