# programming

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

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

**Page:** 1745

---

## [Question! Can you help?](https://forum.kirupa.com/t/question-can-you-help/224152)

<div class="topic-metadata">

**Author:** [@CraigFlash](https://forum.kirupa.com/u/CraigFlash)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 11:09am UTC](https://forum.kirupa.com/t/question-can-you-help/224152 "2007-04-29T11:09:27Z")

</div>

Hi! I'm currently trying to work out how I could make a game where the user can draw a line and a movieclip will follow that line. Kinda like a tween with a guide layer. I've got the line drawing bit but i'm struggli…

---

## [Webservice calls in Flash9/AS3](https://forum.kirupa.com/t/webservice-calls-in-flash9-as3/224148)

<div class="topic-metadata">

**Author:** [@marcusjw](https://forum.kirupa.com/u/marcusjw)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 9:24am UTC](https://forum.kirupa.com/t/webservice-calls-in-flash9-as3/224148 "2007-04-29T09:24:54Z")

</div>

Hi, I'm migrating an app from AS2 to AS3, which has fairly substantial use of webservices using the as2 Webservice classes. Is there an AS3 equivalent for these classes? I read on one forum that there is nothing pro…

---

## [Align stage to the left, how to?](https://forum.kirupa.com/t/align-stage-to-the-left-how-to/224147)

<div class="topic-metadata">

**Author:** [@puppy](https://forum.kirupa.com/u/puppy)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 9:17am UTC](https://forum.kirupa.com/t/align-stage-to-the-left-how-to/224147 "2007-04-29T09:17:17Z")

</div>

I want flash banner to span acros the screen so I put width="100%" and Stage.scaleMode = "noScale"; ok. But, this way all its content is centered. I want it to stick on the left, and so I put this code in it: onEnter…

---

## [I can only add MovieClip not Sprite with CS3 IDE?](https://forum.kirupa.com/t/i-can-only-add-movieclip-not-sprite-with-cs3-ide/224145)

<div class="topic-metadata">

**Author:** [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 7:36am UTC](https://forum.kirupa.com/t/i-can-only-add-movieclip-not-sprite-with-cs3-ide/224145 "2007-04-29T07:36:39Z")

</div>

Can I add a Sprite on the stage but not a MovieClip \[smile\]

---

## [attachMovie() has been removed?](https://forum.kirupa.com/t/attachmovie-has-been-removed/224143)

<div class="topic-metadata">

**Author:** [@awesty](https://forum.kirupa.com/u/awesty)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 6:04am UTC](https://forum.kirupa.com/t/attachmovie-has-been-removed/224143 "2007-04-29T06:04:14Z")

</div>

\[FONT=Book Antiqua\]I was just wondering what the alternative for attachMovie() was. I looked in the flash help and found addChild() but couldnt figure out how to get it to work. :bored: Thanks =) EDIT: Never mind, I …

---

## [Help with flash tutorial!](https://forum.kirupa.com/t/help-with-flash-tutorial/224137)

<div class="topic-metadata">

**Author:** [@hollyolly84](https://forum.kirupa.com/u/hollyolly84)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 3:02am UTC](https://forum.kirupa.com/t/help-with-flash-tutorial/224137 "2007-04-29T03:02:41Z")

</div>

Hello, I started one flash class but ended up leaving school, migraines, computers, no good. I'm trying to learn more of flash on my own while taking my own breaks from staring at the screen, ANYWAY, I found tutorials on…

---

## [\[Flash 8\] xml, multiple portfolio gallery](https://forum.kirupa.com/t/flash-8-xml-multiple-portfolio-gallery/224134)

<div class="topic-metadata">

**Author:** [@jensou](https://forum.kirupa.com/u/jensou)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 12:24am UTC](https://forum.kirupa.com/t/flash-8-xml-multiple-portfolio-gallery/224134 "2007-04-29T00:24:19Z")

</div>

hi. i'm trying to make a multiple gallery portfolio with xml. i'm using hga77's fabulous xml menu and what i thought i could do was give an attribute to each portfolio button that would reference other xml files that w…

---

## [Custom cursor that points in the direction its heading?](https://forum.kirupa.com/t/custom-cursor-that-points-in-the-direction-its-heading/224133)

<div class="topic-metadata">

**Author:** [@shlauncha](https://forum.kirupa.com/u/shlauncha)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 11:39pm UTC](https://forum.kirupa.com/t/custom-cursor-that-points-in-the-direction-its-heading/224133 "2007-04-28T23:39:59Z")

</div>

I've come really close, but the cursor seems to rotate around the mouse location. The code I'm using is below. Can anybody offer some guidance? Main Time line: active = true; var mcTargetX:Number; var mcTargetY…

---

## [Sprite vs. Movieclip](https://forum.kirupa.com/t/sprite-vs-movieclip/224129)

<div class="topic-metadata">

**Author:** [@joshchernoff](https://forum.kirupa.com/u/joshchernoff)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 10:32pm UTC](https://forum.kirupa.com/t/sprite-vs-movieclip/224129 "2007-04-28T22:32:59Z")

</div>

Why, when and how should people extend the Sprite in a class vs. the MovieClip class? “backward compatibility in AS3” ? :pa:

---

## [Visual not adding up with actionscript](https://forum.kirupa.com/t/visual-not-adding-up-with-actionscript/224126)

<div class="topic-metadata">

**Author:** [@Z11](https://forum.kirupa.com/u/Z11)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 9:39pm UTC](https://forum.kirupa.com/t/visual-not-adding-up-with-actionscript/224126 "2007-04-28T21:39:27Z")

</div>

It seems my code runs but the visual display of what the code is doing, isn't working... my program does something like this: allow click.... when someone clicks, it disallows clicks... moves everything on the stag…

---

## [Are you happy with the new help file in flash CS3?](https://forum.kirupa.com/t/are-you-happy-with-the-new-help-file-in-flash-cs3/224124)

<div class="topic-metadata">

**Author:** [@joshchernoff](https://forum.kirupa.com/u/joshchernoff)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 9:34pm UTC](https://forum.kirupa.com/t/are-you-happy-with-the-new-help-file-in-flash-cs3/224124 "2007-04-28T21:34:28Z")

</div>

I find it really hard now to under stand the new AS3 code because of how different the help file is now. Example: in flash 8 and AS2 books you have a question about “gotoAndPlay function” well then you would hit F1 o…

---

## [Are you happy with the new help file i flash CS3?](https://forum.kirupa.com/t/are-you-happy-with-the-new-help-file-i-flash-cs3/224123)

<div class="topic-metadata">

**Author:** [@joshchernoff](https://forum.kirupa.com/u/joshchernoff)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 9:33pm UTC](https://forum.kirupa.com/t/are-you-happy-with-the-new-help-file-i-flash-cs3/224123 "2007-04-28T21:33:57Z")

</div>

I find it really hard now to under stand the new AS3 code because of how different the help file is now. I can under stand most of it. Example: in flash 8 and AS2 books you have a question about “gotoAndPlay function” …

---

## [\[AS2\] looping hitTest function](https://forum.kirupa.com/t/as2-looping-hittest-function/224121)

<div class="topic-metadata">

**Author:** [@kingofnukes](https://forum.kirupa.com/u/kingofnukes)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 9:20pm UTC](https://forum.kirupa.com/t/as2-looping-hittest-function/224121 "2007-04-28T21:20:16Z")

</div>

\[AS\] function hitCheck () { for (var i = 0; i \<= enemies.length; i+=1) { if (this.hitTest (root\[enemies \* + ".mc.attackPoint"\].x, root\[enemies \* + ".mc.attackPoint"\].y, true)) …

---

## [\[Flash Pro 8\] Trivia Question](https://forum.kirupa.com/t/flash-pro-8-trivia-question/224120)

<div class="topic-metadata">

**Author:** [@small\_guy](https://forum.kirupa.com/u/small_guy)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 8:56pm UTC](https://forum.kirupa.com/t/flash-pro-8-trivia-question/224120 "2007-04-28T20:56:31Z")

</div>

I am putting together a small entertainment industry trivia Q&A. Each time a correct answer is selected a point is answered to the scoreboard. The code that I have used for this is: var score:Number = 0; stooges\_mc.\_vi…

---

## [\[F8P, AS2\] Actionscript Distort or Skew?](https://forum.kirupa.com/t/f8p-as2-actionscript-distort-or-skew/224118)

<div class="topic-metadata">

**Author:** [@Aesir](https://forum.kirupa.com/u/Aesir)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 8:38pm UTC](https://forum.kirupa.com/t/f8p-as2-actionscript-distort-or-skew/224118 "2007-04-28T20:38:50Z")

</div>

\[COLOR=black\]\[FONT=Arial\]Anyone using flash can quickly create vaguely-3d-looking boxes in a number of seconds using the skew (for orthographic) or distort (for perspective) transformation tools. However, these tools onl…

---

## [Ending a script?](https://forum.kirupa.com/t/ending-a-script/224117)

<div class="topic-metadata">

**Author:** [@Robin105](https://forum.kirupa.com/u/Robin105)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 8:08pm UTC](https://forum.kirupa.com/t/ending-a-script/224117 "2007-04-28T20:08:02Z")

</div>

Ok I put a script on a frame "\_root.background.gotoAndStop(4); \_root.weapon.gotoAndPlay("shotgun");" Well Now when I try to change the weapons it goes BACK to settings on the frame :P. So I was wondering if anyone c…

---

## [REALLY BIG PROBLEM ... I think](https://forum.kirupa.com/t/really-big-problem-i-think/224116)

<div class="topic-metadata">

**Author:** [@flaminnoraa](https://forum.kirupa.com/u/flaminnoraa)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 8:07pm UTC](https://forum.kirupa.com/t/really-big-problem-i-think/224116 "2007-04-28T20:07:08Z")

</div>

Right. Where to start. 1: Whenever I create a movieClip in flash 8 , if I try to edit it inside the movieClip the snapping doesn't work. 2: Actionscript. Whenever I export anything it always ignores part of the actio…

---

## [How would you end this flash intro?](https://forum.kirupa.com/t/how-would-you-end-this-flash-intro/224113)

<div class="topic-metadata">

**Author:** [@anagoge](https://forum.kirupa.com/u/anagoge)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 8:00pm UTC](https://forum.kirupa.com/t/how-would-you-end-this-flash-intro/224113 "2007-04-28T20:00:47Z")

</div>

I have to create a Flash introduction to a website. The website is about a futuristic living habitat called the Oasis by a company called H2O. The movie is 70 seconds long and has "Don Davis - Spirit of the Universe" as …

---

## [Dynamic text field height scaled to fit content?](https://forum.kirupa.com/t/dynamic-text-field-height-scaled-to-fit-content/224110)

<div class="topic-metadata">

**Author:** [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 6:19pm UTC](https://forum.kirupa.com/t/dynamic-text-field-height-scaled-to-fit-content/224110 "2007-04-28T18:19:10Z")

</div>

The thread title is pretty self-explanitory... I am wondering if it's possible to get a dynamic text field's height to scale automatically to fit the content inside of it. I've seen some "brute force" solutions of calcu…

---

## [Getting a MovieClip into a Custom Class Extending MovieClip](https://forum.kirupa.com/t/getting-a-movieclip-into-a-custom-class-extending-movieclip/224108)

<div class="topic-metadata">

**Author:** [@obrigado](https://forum.kirupa.com/u/obrigado)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 5:37pm UTC](https://forum.kirupa.com/t/getting-a-movieclip-into-a-custom-class-extending-movieclip/224108 "2007-04-28T17:37:22Z")

</div>

I have class that extends movie clip, but I can't seem to find a way to turn an existing movie clip into the class. Here's the class: package { import flash.display.Stage; import flash.display.MovieClip; …

---

## [Help with duplicate MC hittest](https://forum.kirupa.com/t/help-with-duplicate-mc-hittest/224107)

<div class="topic-metadata">

**Author:** [@Lizard\_b0y23](https://forum.kirupa.com/u/Lizard_b0y23)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 5:31pm UTC](https://forum.kirupa.com/t/help-with-duplicate-mc-hittest/224107 "2007-04-28T17:31:04Z")

</div>

well, im making a 2D platforming shooter game and the main character can move and shoot and the bullets hit the enemy, but they do nothing. Ive looked through countless tutorials and NOTHING can help!!!! so please can so…

---

## [Flash CSS - Background](https://forum.kirupa.com/t/flash-css-background/224106)

<div class="topic-metadata">

**Author:** [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 5:22pm UTC](https://forum.kirupa.com/t/flash-css-background/224106 "2007-04-28T17:22:49Z")

</div>

I'm trying to figure out a way to style a list so that the items have a custom image for bullets. Unfortunately, Flash CSS doesn't support the background property, far as I can tell.... Anybody have any suggestions for …

---

## [XML to MySQL](https://forum.kirupa.com/t/xml-to-mysql/224105)

<div class="topic-metadata">

**Author:** [@hanabara](https://forum.kirupa.com/u/hanabara)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 5:09pm UTC](https://forum.kirupa.com/t/xml-to-mysql/224105 "2007-04-28T17:09:01Z")

</div>

Dear All, I'm a new forum member and I would like to ask some questions. I have an xml file and i want to insert it into mysql table. I wondering if you could help, This my xml format : \<?xml version="1.0" encoding="…

---

## [Website: Animation taking underneath nav-bars...possible?](https://forum.kirupa.com/t/website-animation-taking-underneath-nav-bars-possible/224104)

<div class="topic-metadata">

**Author:** [@davelaruedrum](https://forum.kirupa.com/u/davelaruedrum)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 4:57pm UTC](https://forum.kirupa.com/t/website-animation-taking-underneath-nav-bars-possible/224104 "2007-04-28T16:57:15Z")

</div>

I mean animation "taking place..." Hi, I have a website with a standard left side nav bar. I'm creating some simple animation, which i want to go underneath the left side nav bar as well !! Is this possible? I am pretty …

---

## [Google Analytics with Flash Website](https://forum.kirupa.com/t/google-analytics-with-flash-website/224099)

<div class="topic-metadata">

**Author:** [@dr77](https://forum.kirupa.com/u/dr77)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 4:00pm UTC](https://forum.kirupa.com/t/google-analytics-with-flash-website/224099 "2007-04-28T16:00:14Z")

</div>

Hello all, I have a website which I created with Flash. I would like to use Google Analytics to record visits to the site and so. I signed up and was given some HTML code (I think) to paste "immediately before the …

---

## [Removing "this" Class from Display List](https://forum.kirupa.com/t/removing-this-class-from-display-list/224098)

<div class="topic-metadata">

**Author:** [@TastyLamp](https://forum.kirupa.com/u/TastyLamp)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 3:18pm UTC](https://forum.kirupa.com/t/removing-this-class-from-display-list/224098 "2007-04-28T15:18:45Z")

</div>

Hellos. Just wondering if anyone can help with a small problem I've been having... I'm making an AS3 app that spawns a bunch of particles. Each particle uses a Particle class that extends Sprite. The particle is then a…

---

## [What is this effect?](https://forum.kirupa.com/t/what-is-this-effect/224095)

<div class="topic-metadata">

**Author:** [@papalazarou78](https://forum.kirupa.com/u/papalazarou78)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 2:52pm UTC](https://forum.kirupa.com/t/what-is-this-effect/224095 "2007-04-28T14:52:36Z")

</div>

Hi I've got a new site to do where I need to scroll up and down a fishing rod. I have found a golf club site where they section the club into sections and when you click on a section it shoots to that part of the club.…

---

## [News system.. i have a few questions please help me](https://forum.kirupa.com/t/news-system-i-have-a-few-questions-please-help-me/224092)

<div class="topic-metadata">

**Author:** [@u\_avi\_15](https://forum.kirupa.com/u/u_avi_15)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 2:10pm UTC](https://forum.kirupa.com/t/news-system-i-have-a-few-questions-please-help-me/224092 "2007-04-28T14:10:08Z")

</div>

Hi all, I need some help with some ideas i have. I need to Create a news system that can be modified by someone who does not know HTML. So i need to create an external table where he can just add edit and delete data t…

---

## [Can't get code to echo](https://forum.kirupa.com/t/cant-get-code-to-echo/224091)

<div class="topic-metadata">

**Author:** [@onemhunki](https://forum.kirupa.com/u/onemhunki)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 2:01pm UTC](https://forum.kirupa.com/t/cant-get-code-to-echo/224091 "2007-04-28T14:01:45Z")

</div>

Folks, Cast your eyes over this one for me please... I have a swap image behaviour using images pulled from a database thus.. \<img id="main" src="\<? echo $pic1 ?\>"\> \<a href="#" onclick="main.src='\<? echo $pic2 ?\>'…

---

## [Seeking advice on temporary data storage](https://forum.kirupa.com/t/seeking-advice-on-temporary-data-storage/224090)

<div class="topic-metadata">

**Author:** [@taerij](https://forum.kirupa.com/u/taerij)\
**Replies:** 0\
**Last updated:** [April 28, 2007, 1:46pm UTC](https://forum.kirupa.com/t/seeking-advice-on-temporary-data-storage/224090 "2007-04-28T13:46:48Z")

</div>

I am using a system that uses LoadVars to grab data from php page (which in turn speaks to a MySQL database). Currently, some of my functions use loadvars every time they're loaded (so data is gathered from php/mysql m…

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

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