# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=1707

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 1708

---

## [Help with interactive image panning](https://forum.kirupa.com/t/help-with-interactive-image-panning/226705)

<div class="topic-metadata">

**Author:** [@bo\_doodle](https://forum.kirupa.com/u/bo_doodle)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 10:40am UTC](https://forum.kirupa.com/t/help-with-interactive-image-panning/226705 "2007-05-23T10:40:57Z")

</div>

Hi I've been following the tutorial on the site for interactive image panning, but i would like to be able to pan both on the x and y axis, i've been trying various things but with no luck, can anyone point out how i go …

---

## [Problem with "loadMovie" / "mouseover"](https://forum.kirupa.com/t/problem-with-loadmovie-mouseover/226703)

<div class="topic-metadata">

**Author:** [@CBP](https://forum.kirupa.com/u/CBP)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 9:31am UTC](https://forum.kirupa.com/t/problem-with-loadmovie-mouseover/226703 "2007-05-23T09:31:55Z")

</div>

I'm making a small easy all flashpage.. I use a main fla with all the navigation/buttons, and then I load the different pages over using "loadMovie". (See attached illustration...) The problem is that even if the s…

---

## [Frustrating problem with tween class!](https://forum.kirupa.com/t/frustrating-problem-with-tween-class/226701)

<div class="topic-metadata">

**Author:** [@tomto](https://forum.kirupa.com/u/tomto)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 9:09am UTC](https://forum.kirupa.com/t/frustrating-problem-with-tween-class/226701 "2007-05-23T09:09:31Z")

</div>

Can anyone point me in the direction as to why this isn't working? changeWidth (quiz\_holder, \_width + 200, mx.transitions.easing.Strong.easeInOut); function changeWidth(movName, moveTo, moveType){ var time = 50; …

---

## [Do I have to "Anti-Alias" ? sometimes I really need alias](https://forum.kirupa.com/t/do-i-have-to-anti-alias-sometimes-i-really-need-alias/226699)

<div class="topic-metadata">

**Author:** [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 8:46am UTC](https://forum.kirupa.com/t/do-i-have-to-anti-alias-sometimes-i-really-need-alias/226699 "2007-05-23T08:46:01Z")

</div>

when the fontsize is very small and using some pixel fonts, I really don't need the anti-alias. But, is there a way to force the text to be a pixel-rendering ? Thanks in advance.

---

## [Flash Image Class](https://forum.kirupa.com/t/flash-image-class/226693)

<div class="topic-metadata">

**Author:** [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 5:59am UTC](https://forum.kirupa.com/t/flash-image-class/226693 "2007-05-23T05:59:06Z")

</div>

I'm endeavoring to learn how to create the image transition effect on this site: http://www.rbk.com/us/freestyle/ Where the next image in the array that is to be front and center is offset to the left, ready to be in…

---

## [CSS styling from AS not external file](https://forum.kirupa.com/t/css-styling-from-as-not-external-file/226692)

<div class="topic-metadata">

**Author:** [@will\_s](https://forum.kirupa.com/u/will_s)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 5:52am UTC](https://forum.kirupa.com/t/css-styling-from-as-not-external-file/226692 "2007-05-23T05:52:21Z")

</div>

I'm trying to apply some simple CSS coding to an html'd dynamic text box, from inside Flash, with AS, rather than from an external .css doc. This code below should work, but doesn't. (I tried adding a period in front o…

---

## [Ugh... secondary nav](https://forum.kirupa.com/t/ugh-secondary-nav/226691)

<div class="topic-metadata">

**Author:** [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 5:18am UTC](https://forum.kirupa.com/t/ugh-secondary-nav/226691 "2007-05-23T05:18:50Z")

</div>

This is a little issue that is irritating me to say the least. I have a main navigation that when you rollOver it, the secondary nav window alpha's in on top and then has various buttons within that. Each way that I've…

---

## [Video Player with XML problem \[AS2\]](https://forum.kirupa.com/t/video-player-with-xml-problem-as2/226690)

<div class="topic-metadata">

**Author:** [@this](https://forum.kirupa.com/u/this)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 4:47am UTC](https://forum.kirupa.com/t/video-player-with-xml-problem-as2/226690 "2007-05-23T04:47:37Z")

</div>

Hello. im working with a flv player and when i teste my movie result a “sand box” error: this is my code: var nc\_video:NetConnection = new NetConnection(); nc\_video.connect(null); var ns\_video:NetStream = new NetStrea…

---

## [Bizarre "if" behaviour (AS2/Flash8)](https://forum.kirupa.com/t/bizarre-if-behaviour-as2-flash8/226688)

<div class="topic-metadata">

**Author:** [@LeiaGraf](https://forum.kirupa.com/u/LeiaGraf)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 4:30am UTC](https://forum.kirupa.com/t/bizarre-if-behaviour-as2-flash8/226688 "2007-05-23T04:30:53Z")

</div>

Hello! I've got some videos playing in a movieclip with the visibility on false. When the appropriate button is pressed and the movieclip becomes visible, of course the video is already half played. Makes perfect sense…

---

## [Attaching & Playing a sound to a button on rollover](https://forum.kirupa.com/t/attaching-playing-a-sound-to-a-button-on-rollover/226687)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 4:23am UTC](https://forum.kirupa.com/t/attaching-playing-a-sound-to-a-button-on-rollover/226687 "2007-05-23T04:23:47Z")

</div>

Hey all, i can in AS 1.0 attach a sound and play it on rollover fine... but i have absolutely no idea where to start for AS2.0 anybody got any ideas?? Pretty much i have a button when you roll over it plays a sound…

---

## [\[as3\] Drawing BitmapData to erase BitmapData](https://forum.kirupa.com/t/as3-drawing-bitmapdata-to-erase-bitmapdata/226683)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 4:06am UTC](https://forum.kirupa.com/t/as3-drawing-bitmapdata-to-erase-bitmapdata/226683 "2007-05-23T04:06:41Z")

</div>

Hey there. I'm still working on my \[paint program, and I figured I'd try using the open source, raster-based drawing system from \[URL="http://www.bytearray.org/?p=67"\]Bytearray.org\](http://cgi2.cs.rpi.edu/~sachsj/bitmape…

---

## [Alpha Graphic Fade with Inertia](https://forum.kirupa.com/t/alpha-graphic-fade-with-inertia/226682)

<div class="topic-metadata">

**Author:** [@doctor\_funk](https://forum.kirupa.com/u/doctor_funk)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 3:55am UTC](https://forum.kirupa.com/t/alpha-graphic-fade-with-inertia/226682 "2007-05-23T03:55:35Z")

</div>

Can anyone please help me, I can't get this tutorial to work with Flash 8. I'm building a small site with moving flowers that change color depending on the mouses position. This tutorial is perfect, but it doesn't work w…

---

## [Creating a swaying blade of Grass in AS](https://forum.kirupa.com/t/creating-a-swaying-blade-of-grass-in-as/226679)

<div class="topic-metadata">

**Author:** [@lacohido](https://forum.kirupa.com/u/lacohido)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 3:15am UTC](https://forum.kirupa.com/t/creating-a-swaying-blade-of-grass-in-as/226679 "2007-05-23T03:15:51Z")

</div>

Hey there all- Im trying to create a swaying piece of grass using the easing equation, but I think I'm getting it all wrong. Heres what I have, but it doesnt work at all: \[AS\] blade.\_rotation=0; blade.onEnterFrame = fu…

---

## [Saving Sprites or Shapes with ByteArray](https://forum.kirupa.com/t/saving-sprites-or-shapes-with-bytearray/226678)

<div class="topic-metadata">

**Author:** [@obrigado](https://forum.kirupa.com/u/obrigado)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 2:51am UTC](https://forum.kirupa.com/t/saving-sprites-or-shapes-with-bytearray/226678 "2007-05-23T02:51:33Z")

</div>

I'm trying to find a way to save vector drawing information made in a flash application in external files. Basically, I have a simply vector drawing application - I want to put this on a server and have a way for users…

---

## [Flash registration form?](https://forum.kirupa.com/t/flash-registration-form/226674)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 2:00am UTC](https://forum.kirupa.com/t/flash-registration-form/226674 "2007-05-23T02:00:26Z")

</div>

I need to create a registration form in Flash. I have never tried anything like this before, so I am completely lost. Any startup links/tutorials/info would be great. \[smile\]

---

## [Absolute Mouse Coordinates in DirectX](https://forum.kirupa.com/t/absolute-mouse-coordinates-in-directx/226673)

<div class="topic-metadata">

**Author:** [@Al6200](https://forum.kirupa.com/u/Al6200)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 1:48am UTC](https://forum.kirupa.com/t/absolute-mouse-coordinates-in-directx/226673 "2007-05-23T01:48:54Z")

</div>

When using DirectX, all I can retrieve is relative mouse coordinates, like that the mouse moved up 2 or down 2. Unfortunately, however, because the mouse changes seem to not precisely reflect mouse movements, the absolu…

---

## [Trouble creating three galleries in one swf file using XML](https://forum.kirupa.com/t/trouble-creating-three-galleries-in-one-swf-file-using-xml/226671)

<div class="topic-metadata">

**Author:** [@PhoTobes](https://forum.kirupa.com/u/PhoTobes)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 1:32am UTC](https://forum.kirupa.com/t/trouble-creating-three-galleries-in-one-swf-file-using-xml/226671 "2007-05-23T01:32:45Z")

</div>

Help. I've got a gallery that Kirupa has helped me along with wonderfully. I now have another issue that is preventing me from making this thing work properly. I have attached a zipped file of both the XML and the Act…

---

## [XML question, IM PISSED!](https://forum.kirupa.com/t/xml-question-im-pissed/226669)

<div class="topic-metadata">

**Author:** [@Hunson](https://forum.kirupa.com/u/Hunson)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 1:20am UTC](https://forum.kirupa.com/t/xml-question-im-pissed/226669 "2007-05-23T01:20:15Z")

</div>

guy's i'm getting pissed with this, i'm essentially around this for a week now. i've got this scrollerbar thing finally working (after 2-3 days), now all i have to do is add an XML loaded content. but here's the thin…

---

## [FCS3 exported MC class communicate with as3 class](https://forum.kirupa.com/t/fcs3-exported-mc-class-communicate-with-as3-class/226668)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 1:16am UTC](https://forum.kirupa.com/t/fcs3-exported-mc-class-communicate-with-as3-class/226668 "2007-05-23T01:16:22Z")

</div>

i have a MovieClip that i add to stage within flashcs3 and have it linked to a predefined class, i want said movieclip to get a reffrence to my main program so it can communicate with a custom function of mine. what is t…

---

## [Button Not Showing Over Frame](https://forum.kirupa.com/t/button-not-showing-over-frame/226667)

<div class="topic-metadata">

**Author:** [@Flamingtoaster](https://forum.kirupa.com/u/Flamingtoaster)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 1:04am UTC](https://forum.kirupa.com/t/button-not-showing-over-frame/226667 "2007-05-23T01:04:21Z")

</div>

Hi, what I need is to make my button display its over frame when I move the mouse over it. I can do it using onClipEvent(.....) { fine, but I cant use that... I think. The code I am using is in frame 1 of the timeline an…

---

## [Trouble File Uploading (FileReference)](https://forum.kirupa.com/t/trouble-file-uploading-filereference/226666)

<div class="topic-metadata">

**Author:** [@stediamond](https://forum.kirupa.com/u/stediamond)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 12:54am UTC](https://forum.kirupa.com/t/trouble-file-uploading-filereference/226666 "2007-05-23T00:54:35Z")

</div>

Heya guys, I'm looking to explore file uploading within Flash. At the moment I've been using Kirupa and the Flash help tutorials on using FileReference. I have managed to successfully get this to work on my localse…

---

## [Identify an object passed into a function? How?](https://forum.kirupa.com/t/identify-an-object-passed-into-a-function-how/226659)

<div class="topic-metadata">

**Author:** [@Vexir](https://forum.kirupa.com/u/Vexir)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 11:36pm UTC](https://forum.kirupa.com/t/identify-an-object-passed-into-a-function-how/226659 "2007-05-22T23:36:55Z")

</div>

How do I identify an object that I pass into a function? In my case I have 6 movieclips and 6 corresponding text fields (all 12 objects are on the main timeline) and the movieclips are named thumb1\_mc, thumb2\_mc, etcet…

---

## [XML slideshow with 2 sets of thumbnails?](https://forum.kirupa.com/t/xml-slideshow-with-2-sets-of-thumbnails/226656)

<div class="topic-metadata">

**Author:** [@visitor13](https://forum.kirupa.com/u/visitor13)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 11:18pm UTC](https://forum.kirupa.com/t/xml-slideshow-with-2-sets-of-thumbnails/226656 "2007-05-22T23:18:30Z")

</div>

I went through the tutorial and it works fantastic however I need to create a gallery with two rows of thumbnails representing Before & After situation. So the xml would have to make a reference to 2 sets of images/thumb…

---

## [ActionScript for popup menu](https://forum.kirupa.com/t/actionscript-for-popup-menu/226655)

<div class="topic-metadata">

**Author:** [@macmar](https://forum.kirupa.com/u/macmar)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 10:39pm UTC](https://forum.kirupa.com/t/actionscript-for-popup-menu/226655 "2007-05-22T22:39:48Z")

</div>

I am currently using a popup menu that uses Closed and Open frame labels and invisible buttons that close the menu. ActionScript on the invisible buttons is: on (rollover) { gotoAndStop("closed"); } I need ActionSc…

---

## [Good places to look to learn more actionscript?](https://forum.kirupa.com/t/good-places-to-look-to-learn-more-actionscript/226654)

<div class="topic-metadata">

**Author:** [@stu\_t](https://forum.kirupa.com/u/stu_t)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 10:29pm UTC](https://forum.kirupa.com/t/good-places-to-look-to-learn-more-actionscript/226654 "2007-05-22T22:29:34Z")

</div>

Hi I really want to improve my knowledge of actionscript! are there any good sites with tutorials from which i can teach myself useful stuff?? thanks stu

---

## [How does the Kirupa banner save your chosen color?](https://forum.kirupa.com/t/how-does-the-kirupa-banner-save-your-chosen-color/226653)

<div class="topic-metadata">

**Author:** [@Loof](https://forum.kirupa.com/u/Loof)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 10:26pm UTC](https://forum.kirupa.com/t/how-does-the-kirupa-banner-save-your-chosen-color/226653 "2007-05-22T22:26:46Z")

</div>

Also, how do I embed flash so that the visitor doesn't have to click it once before they use it?

---

## [Issue with Embeded Fonts](https://forum.kirupa.com/t/issue-with-embeded-fonts/226649)

<div class="topic-metadata">

**Author:** [@jsimpson](https://forum.kirupa.com/u/jsimpson)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 9:29pm UTC](https://forum.kirupa.com/t/issue-with-embeded-fonts/226649 "2007-05-22T21:29:38Z")

</div>

I'm having an issue when I embed fonts into my file where the performance suffers tremendously. With only six textfields and two fonts, my framerate is super choppy. I have an image that I've attached a textfield to us…

---

## [\[Flash8\] XML Tree Component Parent Node Listener](https://forum.kirupa.com/t/flash8-xml-tree-component-parent-node-listener/226648)

<div class="topic-metadata">

**Author:** [@Andante](https://forum.kirupa.com/u/Andante)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 9:21pm UTC](https://forum.kirupa.com/t/flash8-xml-tree-component-parent-node-listener/226648 "2007-05-22T21:21:53Z")

</div>

Hello everyone, We have created the following XML tree structure with 1 branch node and 3 leaf nodes. \*\*\<?xml version="1.0"?\> \*\* \<tree\> \<node label="Regions"\> \<node label="Region 1" src="0" playcmrcl="1"/\> \<node label=…

---

## [AS3 animation framework](https://forum.kirupa.com/t/as3-animation-framework/226643)

<div class="topic-metadata">

**Author:** [@smizzle](https://forum.kirupa.com/u/smizzle)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 8:55pm UTC](https://forum.kirupa.com/t/as3-animation-framework/226643 "2007-05-22T20:55:19Z")

</div>

I just created a google code project for my animation framework. It's no fuse, but it works for me. Let me know what you think and if you find any bugs. Hope you like it. ASinMotion

---

## [Help with loading a variable from url string into Action Script](https://forum.kirupa.com/t/help-with-loading-a-variable-from-url-string-into-action-script/226640)

<div class="topic-metadata">

**Author:** [@Ditty](https://forum.kirupa.com/u/Ditty)\
**Replies:** 0\
**Last updated:** [May 22, 2007, 8:33pm UTC](https://forum.kirupa.com/t/help-with-loading-a-variable-from-url-string-into-action-script/226640 "2007-05-22T20:33:14Z")

</div>

Im trying to take a variable from a php file and insert in into action script. What I'd like to do is take the value of a url for example http://www.mysite.com/flashfile.php?value=MYVARIABLENAME and insert it into Act…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=1706)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=1708)
