# programming

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

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

**Page:** 519

---

## [Swf inside movieclip button not working](https://forum.kirupa.com/t/swf-inside-movieclip-button-not-working/307638)

<div class="topic-metadata">

**Author:** [@palanivelrajan](https://forum.kirupa.com/u/palanivelrajan)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 10:32am UTC](https://forum.kirupa.com/t/swf-inside-movieclip-button-not-working/307638 "2010-04-07T10:32:26Z")

</div>

I have four movieclip buttons inside my swf file. I have to add function on each movieclip. I tried it is not working. please guide me to do it. example code swf\_name.butn1\_mvc.addEventListener(MouseEvent.Click, fu…

---

## [Vishnubhatla Portfolio Site](https://forum.kirupa.com/t/vishnubhatla-portfolio-site/307637)

<div class="topic-metadata">

**Author:** [@vishnubhatla](https://forum.kirupa.com/u/vishnubhatla)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 10:26am UTC](https://forum.kirupa.com/t/vishnubhatla-portfolio-site/307637 "2010-04-07T10:26:23Z")

</div>

Hi Friends, www.vishnbhatla.ueuo.com

---

## [Hey I am new member (vishnubhatla)](https://forum.kirupa.com/t/hey-i-am-new-member-vishnubhatla/307636)

<div class="topic-metadata">

**Author:** [@vishnubhatla](https://forum.kirupa.com/u/vishnubhatla)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 10:17am UTC](https://forum.kirupa.com/t/hey-i-am-new-member-vishnubhatla/307636 "2010-04-07T10:17:04Z")

</div>

Hi Friends, I an new member for our brilliant kirupa forum, I am a web designer with 4 years of experience, I have very interest in flash & action script 2.0 & 3.0, Please visit my flash web site, www.vishnubha…

---

## [Using Document Class for Child Level MovieClips](https://forum.kirupa.com/t/using-document-class-for-child-level-movieclips/307633)

<div class="topic-metadata">

**Author:** [@hemsingh](https://forum.kirupa.com/u/hemsingh)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 8:42am UTC](https://forum.kirupa.com/t/using-document-class-for-child-level-movieclips/307633 "2010-04-07T08:42:06Z")

</div>

Hi friends, Can anyone tell me please how I can use my Document Class for Child Level MovieClips other than first frame. MovieClip is - Parent MC on 2nd Frame and its child MCs inside it on 6 & 7 frames. On 1 to 5 fram…

---

## [Dynamic images in flash](https://forum.kirupa.com/t/dynamic-images-in-flash/307631)

<div class="topic-metadata">

**Author:** [@jhansi](https://forum.kirupa.com/u/jhansi)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 7:09am UTC](https://forum.kirupa.com/t/dynamic-images-in-flash/307631 "2010-04-07T07:09:32Z")

</div>

Hi, I have created a empty movie clip with instance name,then written a script code as, loadMovie("2.png", "b"); . The image is loaded at runtime,every things work fine,but i want to access the image path(details)…

---

## [Parallax Fly Through Effect](https://forum.kirupa.com/t/parallax-fly-through-effect/307628)

<div class="topic-metadata">

**Author:** [@Swiftaxe](https://forum.kirupa.com/u/Swiftaxe)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 5:58am UTC](https://forum.kirupa.com/t/parallax-fly-through-effect/307628 "2010-04-07T05:58:34Z")

</div>

Hi, Does anyone know any good tutorial or have any great advice on how to recreate an effect similiar to the fly through effect on Jim Carrey's website? Any advice is appreciated =)

---

## [Flip clock timing problem](https://forum.kirupa.com/t/flip-clock-timing-problem/307627)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 5:41am UTC](https://forum.kirupa.com/t/flip-clock-timing-problem/307627 "2010-04-07T05:41:26Z")

</div>

The number in front tends to change before it is 'cover'. I'm now stuck whether is it the animation problem which could have haven't been the number not 'cover' before the time runs, or isit I have to do something else…

---

## [How to pass in value to function?](https://forum.kirupa.com/t/how-to-pass-in-value-to-function/307626)

<div class="topic-metadata">

**Author:** [@nananya](https://forum.kirupa.com/u/nananya)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 5:39am UTC](https://forum.kirupa.com/t/how-to-pass-in-value-to-function/307626 "2010-04-07T05:39:38Z")

</div>

Hi all,I am new to here and I got a question about how to pass in value to the function. I am using CS4 and AS2. This is my code: attachMovie(“platform”,“platform0”,1); platform0.\_x = 300; platform0.\_y = 600; plat…

---

## [Text mask not working](https://forum.kirupa.com/t/text-mask-not-working/307621)

<div class="topic-metadata">

**Author:** [@iceman536](https://forum.kirupa.com/u/iceman536)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 2:45am UTC](https://forum.kirupa.com/t/text-mask-not-working/307621 "2010-04-07T02:45:25Z")

</div>

Hi, hoping someone can help me. I am trying to do some text effects by using a text mask but I can't get the mask to work. I can successfully mask a circle over a rectangle, and even mask a rectangle over text, but tex…

---

## [Question on Flash Builder 4](https://forum.kirupa.com/t/question-on-flash-builder-4/307620)

<div class="topic-metadata">

**Author:** [@FreeHugs](https://forum.kirupa.com/u/FreeHugs)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 2:27am UTC](https://forum.kirupa.com/t/question-on-flash-builder-4/307620 "2010-04-07T02:27:49Z")

</div>

Hey guys, I'm sure some of you, like I have, have been trying out the new Flash Builder 4 already. I was pretty impressed by it, but theres still something stopping me making the move from FlashDevelop for programming …

---

## [A\* Pathfinding Woes](https://forum.kirupa.com/t/a-pathfinding-woes/307617)

<div class="topic-metadata">

**Author:** [@Osteel](https://forum.kirupa.com/u/Osteel)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 12:33am UTC](https://forum.kirupa.com/t/a-pathfinding-woes/307617 "2010-04-07T00:33:57Z")

</div>

\[COLOR="RoyalBlue"\]EDIT: This thread has been solved. Check my final solution product (as a result) here! Thanks! \[/COLOR\] Honesty. I'm about to kill myself. I've been trying to work on pathfinding for the last month…

---

## [Two Preload Bars](https://forum.kirupa.com/t/two-preload-bars/307616)

<div class="topic-metadata">

**Author:** [@bballfan19](https://forum.kirupa.com/u/bballfan19)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 12:23am UTC](https://forum.kirupa.com/t/two-preload-bars/307616 "2010-04-07T00:23:01Z")

</div>

This is my preloader code from www.playbball.com. It was kind of a fluke but neat to use two bars. One's motion is smoothed and the other's motion isn't: private function progress(e:ProgressEvent):void // update …

---

## [MXML help pls: possible to have conditional repeaters](https://forum.kirupa.com/t/mxml-help-pls-possible-to-have-conditional-repeaters/307615)

<div class="topic-metadata">

**Author:** [@iakiak](https://forum.kirupa.com/u/iakiak)\
**Replies:** 0\
**Last updated:** [April 7, 2010, 12:20am UTC](https://forum.kirupa.com/t/mxml-help-pls-possible-to-have-conditional-repeaters/307615 "2010-04-07T00:20:39Z")

</div>

Hihi, I have an inventory window which has several tabs. When a tab is selected it a repeater populates the window with a list of items: \[SIZE=2\]\[SIZE=2\]\<mx:Repeater \[/SIZE\]\[/SIZE\]\[SIZE=2\]id="\[/SIZE\]\[SIZE=2\]\[SIZE=2\]ic…

---

## [Help with moving object collision](https://forum.kirupa.com/t/help-with-moving-object-collision/307612)

<div class="topic-metadata">

**Author:** [@abih\_90](https://forum.kirupa.com/u/abih_90)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 10:24pm UTC](https://forum.kirupa.com/t/help-with-moving-object-collision/307612 "2010-04-06T22:24:45Z")

</div>

Hello, im doing an assignment for university and i decided to do a maze game, i have done the collision detection for the walls and that works fine but i had an idea of having circle representing people that move and you…

---

## [rotateAroundInternalPoint](https://forum.kirupa.com/t/rotatearoundinternalpoint/307610)

<div class="topic-metadata">

**Author:** [@skitzer](https://forum.kirupa.com/u/skitzer)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 8:06pm UTC](https://forum.kirupa.com/t/rotatearoundinternalpoint/307610 "2010-04-06T20:06:23Z")

</div>

I'm using rotateAroundInternalPoint to rotate between 90 and 0 degrees on the click of a checkbox. The 90 degree rotation works fine, but when I try to rotate it back to 0, the rotation stays at 90. Can anyone tell me …

---

## [Animate Graphics.lineTo()](https://forum.kirupa.com/t/animate-graphics-lineto/307608)

<div class="topic-metadata">

**Author:** [@rkalexander](https://forum.kirupa.com/u/rkalexander)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 6:53pm UTC](https://forum.kirupa.com/t/animate-graphics-lineto/307608 "2010-04-06T18:53:13Z")

</div>

The code below is taken directly from: http://actionsnippet.com/?p=890 // line thickness, line color, start point, end point, divisor, callback function animateLineTo( thick:Number, col:uint, sp:Point, ep:Point, div…

---

## [Overwriting appdomain definitions with loaded swf ones](https://forum.kirupa.com/t/overwriting-appdomain-definitions-with-loaded-swf-ones/307606)

<div class="topic-metadata">

**Author:** [@StridBR](https://forum.kirupa.com/u/StridBR)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 6:00pm UTC](https://forum.kirupa.com/t/overwriting-appdomain-definitions-with-loaded-swf-ones/307606 "2010-04-06T18:00:06Z")

</div>

Hey, would like to know if there's a way to overwrite a specific definition in the "currentDomain" with one available in a child swf? I'm loading swfs as assets, and since some of them have code in timeline (mostly …

---

## [Suddenly Flash doesn't recognize font](https://forum.kirupa.com/t/suddenly-flash-doesnt-recognize-font/307601)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 4:09pm UTC](https://forum.kirupa.com/t/suddenly-flash-doesnt-recognize-font/307601 "2010-04-06T16:09:37Z")

</div>

I have a font symbol in my library: \_myriad28 (linkage property class \_Myriad28) I use this in a class in the standard way: private var \_myriad28:\_Myriad28; ... \_myriad28 = new \_Myriad28(); ... myTextFormat.font =…

---

## [mySql database](https://forum.kirupa.com/t/mysql-database/307600)

<div class="topic-metadata">

**Author:** [@666](https://forum.kirupa.com/u/666)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 4:03pm UTC](https://forum.kirupa.com/t/mysql-database/307600 "2010-04-06T16:03:55Z")

</div>

I need major help Please: I am building a photo gallery shopping cart with php. I want to use a database (MySQL) to store the information. There is, approximately 6,000 images. The cells will have an id, picture\_id, de…

---

## [Nested XML help](https://forum.kirupa.com/t/nested-xml-help/307598)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 3:41pm UTC](https://forum.kirupa.com/t/nested-xml-help/307598 "2010-04-06T15:41:41Z")

</div>

\*\*I need to pull the XML below into flash. The nested nodes are very confusing to me. Any help would be greatly appreciated. I need the \*\*\<name\> , and the \<coupon\>\<title\>\*\* and\*\*\<link\>\*\* \</coupon\>\*\* Example disp…

---

## [Mouse and 3D applications](https://forum.kirupa.com/t/mouse-and-3d-applications/307594)

<div class="topic-metadata">

**Author:** [@Vand2](https://forum.kirupa.com/u/Vand2)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 2:49pm UTC](https://forum.kirupa.com/t/mouse-and-3d-applications/307594 "2010-04-06T14:49:25Z")

</div>

Hello guys, There must be a way of handling mouse better with fully-3D flash applications (such as architectural visualizations in first person). Right now, the mouse keeps getting lost, which is very annoying. Do yo…

---

## [How to detect if a circle is crossing a diagonal line?](https://forum.kirupa.com/t/how-to-detect-if-a-circle-is-crossing-a-diagonal-line/307592)

<div class="topic-metadata">

**Author:** [@Zomis](https://forum.kirupa.com/u/Zomis)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 2:16pm UTC](https://forum.kirupa.com/t/how-to-detect-if-a-circle-is-crossing-a-diagonal-line/307592 "2010-04-06T14:16:48Z")

</div>

Currently, I am using the code below. But it is telling me that the circle is starting to hit the line when it's y position is 40. But since the circle actually isn't crossing the line itself (virtually) until it's y pos…

---

## [Dispatching MouseEvent](https://forum.kirupa.com/t/dispatching-mouseevent/307589)

<div class="topic-metadata">

**Author:** [@ven](https://forum.kirupa.com/u/ven)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 12:40pm UTC](https://forum.kirupa.com/t/dispatching-mouseevent/307589 "2010-04-06T12:40:10Z")

</div>

I have a touchscreen setup, where the touchscreen sends touch events through a socket connection to an external computer. By listening to this socket, I can make the flash application behave as a mouse clicked. At th…

---

## [Event Bubbling - but not for Display Objects](https://forum.kirupa.com/t/event-bubbling-but-not-for-display-objects/307588)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 12:37pm UTC](https://forum.kirupa.com/t/event-bubbling-but-not-for-display-objects/307588 "2010-04-06T12:37:42Z")

</div>

I'm wanting to bubble events between a few custom classes, however, they are not Display Objects. Is there any quick and easy way to do event bubbling, without needing a display list? Or perhaps another way than needin…

---

## [Multiple conditions in a FOR loop ... possible?](https://forum.kirupa.com/t/multiple-conditions-in-a-for-loop-possible/307587)

<div class="topic-metadata">

**Author:** [@FunkMaster\_J](https://forum.kirupa.com/u/FunkMaster_J)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 12:23pm UTC](https://forum.kirupa.com/t/multiple-conditions-in-a-for-loop-possible/307587 "2010-04-06T12:23:47Z")

</div>

Is it possible to have multiple conditions within a FOR loop ? e.g. for (var i:Number = 0; (i \< anArray.length & aBoolean = false); i++) { trace("woah, this worked!"); } So the loop carrys on as long as 'i' …

---

## [Quick General Efficiency Question: Vector VS. Multiple Vars](https://forum.kirupa.com/t/quick-general-efficiency-question-vector-vs-multiple-vars/307585)

<div class="topic-metadata">

**Author:** [@audiohominis](https://forum.kirupa.com/u/audiohominis)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 11:22am UTC](https://forum.kirupa.com/t/quick-general-efficiency-question-vector-vs-multiple-vars/307585 "2010-04-06T11:22:33Z")

</div>

Hi, guys. Got a real quick one, here (I believe). In terms of access and processing speed, what would be more efficient, a single \[FONT=Courier New\]\[COLOR=Blue\]Vector\[/COLOR\]\[/FONT\] holding, say, multiple \[FONT=Courier N…

---

## [Calling function on a yet to be loaded .swf](https://forum.kirupa.com/t/calling-function-on-a-yet-to-be-loaded-swf/307584)

<div class="topic-metadata">

**Author:** [@anthony\_z](https://forum.kirupa.com/u/anthony_z)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 11:18am UTC](https://forum.kirupa.com/t/calling-function-on-a-yet-to-be-loaded-swf/307584 "2010-04-06T11:18:36Z")

</div>

Hey everyone, I am a designer so my programming skills are very limited. I have an issue that I’m losing my patients over, so I need your help. I went through a bunch of tutorials, none of them seemed to apply. I h…

---

## [Document class vs manual instance of the same class](https://forum.kirupa.com/t/document-class-vs-manual-instance-of-the-same-class/307581)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 10:08am UTC](https://forum.kirupa.com/t/document-class-vs-manual-instance-of-the-same-class/307581 "2010-04-06T10:08:13Z")

</div>

Same class gives me different results when called from Properties panel(declared Document Class) than called manually. I mean a have a class called Login and when I make an instance of this class var log:Login = ne…

---

## [How to zoom the stage through as3.0?](https://forum.kirupa.com/t/how-to-zoom-the-stage-through-as3-0/307580)

<div class="topic-metadata">

**Author:** [@palanivelrajan](https://forum.kirupa.com/u/palanivelrajan)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 9:25am UTC](https://forum.kirupa.com/t/how-to-zoom-the-stage-through-as3-0/307580 "2010-04-06T09:25:00Z")

</div>

I am making tile based game. I need to zoom my stage. please guide me to do it.

---

## [Hittest error](https://forum.kirupa.com/t/hittest-error/307577)

<div class="topic-metadata">

**Author:** [@rensk](https://forum.kirupa.com/u/rensk)\
**Replies:** 0\
**Last updated:** [April 6, 2010, 8:59am UTC](https://forum.kirupa.com/t/hittest-error/307577 "2010-04-06T08:59:31Z")

</div>

i added this code but i get an error function frameloop(evt:Event):void { if(gadgets.hitTestPoint(character.x,character.y)){ character.rotation = -90; } } this is the error that i get: TypeError: Error #…

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

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