# programming

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

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

**Page:** 561

---

## [Anchor points Express Blend 2?](https://forum.kirupa.com/t/anchor-points-express-blend-2/304867)

<div class="topic-metadata">

**Author:** [@mr\_hub](https://forum.kirupa.com/u/mr_hub)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 6:32pm UTC](https://forum.kirupa.com/t/anchor-points-express-blend-2/304867 "2010-02-15T18:32:25Z")

</div>

Hello! First, I want to thank you for a very good site! Really appreciate the tutorials! Now the question, how do I make Blend to show the anchors as in the first WPF tutorial? The hook or 8-looking things on the sid…

---

## [Follow the mouse](https://forum.kirupa.com/t/follow-the-mouse/304865)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 6:23pm UTC](https://forum.kirupa.com/t/follow-the-mouse/304865 "2010-02-15T18:23:24Z")

</div>

Hello, How can I make a MC to follow the mouse? Thank You, Miguel

---

## [Fill Dynamic Text](https://forum.kirupa.com/t/fill-dynamic-text/304864)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 6:17pm UTC](https://forum.kirupa.com/t/fill-dynamic-text/304864 "2010-02-15T18:17:11Z")

</div>

Hello, I have a MC, MC1, with 3 dynamic fields: D1, D2 and D3; And I have 3 variables: V1, V2 and V3. I need to fill D1, D2 and D3 with V1, V2 and V3 values. But when a Vn value is empty I need to hide Dn. When I m…

---

## [Image Highlight](https://forum.kirupa.com/t/image-highlight/304862)

<div class="topic-metadata">

**Author:** [@SLaY](https://forum.kirupa.com/u/SLaY)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 5:51pm UTC](https://forum.kirupa.com/t/image-highlight/304862 "2010-02-15T17:51:10Z")

</div>

Hey. Can anyone tell me how can I do a thing like this: http://www.hellodesign.com when we click on a picture the browser becames all black highlighting the image/video/wtv. What's the real name of that feature ? I'd …

---

## [Dragging multiple objects in as3](https://forum.kirupa.com/t/dragging-multiple-objects-in-as3/304860)

<div class="topic-metadata">

**Author:** [@earleaw](https://forum.kirupa.com/u/earleaw)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 5:21pm UTC](https://forum.kirupa.com/t/dragging-multiple-objects-in-as3/304860 "2010-02-15T17:21:17Z")

</div>

Hello everyone. I've been fighting this for a few hours, and I'm sure some of you have an easy solution. I've attached my .fla file for your review. Basically, I have need to simultaneously move a slider (called "shad…

---

## [While loop & hitTestPoint malfunction](https://forum.kirupa.com/t/while-loop-hittestpoint-malfunction/304859)

<div class="topic-metadata">

**Author:** [@Setup56](https://forum.kirupa.com/u/Setup56)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 5:15pm UTC](https://forum.kirupa.com/t/while-loop-hittestpoint-malfunction/304859 "2010-02-15T17:15:11Z")

</div>

if (mc\_Blockers.hitTestPoint(char\_Anelianne.x,char\_Anelianne.y-1,true)) { while (mc\_Blockers.hitTestPoint(char\_Anelianne.x,char\_Anelianne.y,true)) { mc\_Blockers.y ++; } } This code serves the purpose of rai…

---

## [Cannot use LoadVariablesNum variables outside of textboxes](https://forum.kirupa.com/t/cannot-use-loadvariablesnum-variables-outside-of-textboxes/304857)

<div class="topic-metadata">

**Author:** [@losergeek](https://forum.kirupa.com/u/losergeek)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 4:50pm UTC](https://forum.kirupa.com/t/cannot-use-loadvariablesnum-variables-outside-of-textboxes/304857 "2010-02-15T16:50:28Z")

</div>

Does anybody know any reason why I can't use variables loaded from a text file using loadVariablesNum anywhere but in the Var field of a text box? If I try this: \*The loadVariablesNum ("textfile.txt",0); \*it loads the …

---

## [\[flash lite 2.1\] problem drawing rectangles](https://forum.kirupa.com/t/flash-lite-2-1-problem-drawing-rectangles/304856)

<div class="topic-metadata">

**Author:** [@Roland684](https://forum.kirupa.com/u/Roland684)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 3:21pm UTC](https://forum.kirupa.com/t/flash-lite-2-1-problem-drawing-rectangles/304856 "2010-02-15T15:21:25Z")

</div>

I want to draw some rectangles and lines on a movieclip using actionscript (2). sounds simple enough. Just stuff like: mc.lineStyle(0,0xFFFFFF, 0); mc.beginFill(0xFFFFFF,48); mc.moveTo(8,4); mc.lineTo(40,4); mc.lineTo(…

---

## [I don't understand anything](https://forum.kirupa.com/t/i-dont-understand-anything/304854)

<div class="topic-metadata">

**Author:** [@creepy\_lord](https://forum.kirupa.com/u/creepy_lord)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 3:00pm UTC](https://forum.kirupa.com/t/i-dont-understand-anything/304854 "2010-02-15T15:00:08Z")

</div>

Hello everyone, I am very happy to be here. But I really don't understand something that will probably seem very basic to the majority of the humans : how can I move all of the elements inside a symbol (layers with ani…

---

## [Moving a character Help!?](https://forum.kirupa.com/t/moving-a-character-help/304853)

<div class="topic-metadata">

**Author:** [@Script\_ist](https://forum.kirupa.com/u/Script_ist)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 2:56pm UTC](https://forum.kirupa.com/t/moving-a-character-help/304853 "2010-02-15T14:56:10Z")

</div>

Hello, I have a game where I am moving a character and I want it so you press --\> (left) and keep moving left; if( Key.isDown(Key.LEFT)) { \_x = \_x - 10; } Only moves you 10 spaces that way -\>. Is there anyway you ca…

---

## [Looping trough folders](https://forum.kirupa.com/t/looping-trough-folders/304851)

<div class="topic-metadata">

**Author:** [@Ekry](https://forum.kirupa.com/u/Ekry)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 2:41pm UTC](https://forum.kirupa.com/t/looping-trough-folders/304851 "2010-02-15T14:41:31Z")

</div>

I need to load contents of all folders, their subfolders and so on under a specific folder. I would then save a reference to each into a dictionary, naming them according to their filepath. I'm using the BulkLoader. I …

---

## [How to display only four decimal places with actionscript 3.0](https://forum.kirupa.com/t/how-to-display-only-four-decimal-places-with-actionscript-3-0/304850)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 2:25pm UTC](https://forum.kirupa.com/t/how-to-display-only-four-decimal-places-with-actionscript-3-0/304850 "2010-02-15T14:25:13Z")

</div>

Hi, How can I tell flash to use only four decimal places when a number is display in a textField? Something like this: 2.2356 , 0.2538, 0.2968, 0.0001 etc. Instead of infinite numbers: 2.23565985… , 0.2538486… T…

---

## [Click and hold play... release stop!](https://forum.kirupa.com/t/click-and-hold-play-release-stop/304849)

<div class="topic-metadata">

**Author:** [@livingsen](https://forum.kirupa.com/u/livingsen)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 1:29pm UTC](https://forum.kirupa.com/t/click-and-hold-play-release-stop/304849 "2010-02-15T13:29:31Z")

</div>

Hi. I am doing a task in AS3. I'm working on one site for morse codes. My question is: is it possible to create a button that when you press it and hold it, it will play a sound, and when you release it then stops th…

---

## [Retrieving whois data](https://forum.kirupa.com/t/retrieving-whois-data/304845)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 12:11pm UTC](https://forum.kirupa.com/t/retrieving-whois-data/304845 "2010-02-15T12:11:36Z")

</div>

Hi there, I was wondering if it was possible to retrieve certain whois information concerning a website eg. registration date. I am using a script which allow me to check the domain availability of websites but i wou…

---

## [Help with rhythm game](https://forum.kirupa.com/t/help-with-rhythm-game/304844)

<div class="topic-metadata">

**Author:** [@IMlol](https://forum.kirupa.com/u/IMlol)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 11:08am UTC](https://forum.kirupa.com/t/help-with-rhythm-game/304844 "2010-02-15T11:08:53Z")

</div>

Hi, i have just made a rhythm game in actionscript 2 by following this tutorial http://www.mrsunstudios.com/2008/08/tutorial-make-a-rhythm-game-in-as2/. However, the guide does not explain how to 'align' the music with …

---

## [Resizing problem with animation](https://forum.kirupa.com/t/resizing-problem-with-animation/304842)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 10:53am UTC](https://forum.kirupa.com/t/resizing-problem-with-animation/304842 "2010-02-15T10:53:35Z")

</div>

Hi guys, I've a fluid layout in an html page like this: http://www.dynamicdrive.com/style/la...frames-layout/ In the center of the page i have a flash animation that must resize to the entire center page. The problem i…

---

## [Mute a game , as3](https://forum.kirupa.com/t/mute-a-game-as3/304839)

<div class="topic-metadata">

**Author:** [@dorsakal](https://forum.kirupa.com/u/dorsakal)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 10:09am UTC](https://forum.kirupa.com/t/mute-a-game-as3/304839 "2010-02-15T10:09:45Z")

</div>

I'm working on a game that has several elements that use sound. One of the elements is a team captain that talks to the user. Since I want the sound to sync with the captains animtaion, I set it to "Stream". Is there a…

---

## [Dictionary good practice](https://forum.kirupa.com/t/dictionary-good-practice/304836)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 7:48am UTC](https://forum.kirupa.com/t/dictionary-good-practice/304836 "2010-02-15T07:48:30Z")

</div>

Hi! A few questions about dictionary: Is anything wrong in doing something like this: var mc = new MovieClip(); dictionary\[mc\] = mc; //in other words, the same mc as key AND value I mean, any particular implicatio…

---

## [Newbie: Cannot access a property or method of a null object reference help!](https://forum.kirupa.com/t/newbie-cannot-access-a-property-or-method-of-a-null-object-reference-help/304832)

<div class="topic-metadata">

**Author:** [@sdb07090](https://forum.kirupa.com/u/sdb07090)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 5:18am UTC](https://forum.kirupa.com/t/newbie-cannot-access-a-property-or-method-of-a-null-object-reference-help/304832 "2010-02-15T05:18:23Z")

</div>

So I'm trying to make a circle that moves left and right and creates a bullet that moves up. I have two classes, the circle and the bullet. When I try to run the code, I get: TypeError: Error #1009: Cannot access a prope…

---

## [Timeline scrubber](https://forum.kirupa.com/t/timeline-scrubber/304831)

<div class="topic-metadata">

**Author:** [@Bismarck](https://forum.kirupa.com/u/Bismarck)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 4:46am UTC](https://forum.kirupa.com/t/timeline-scrubber/304831 "2010-02-15T04:46:30Z")

</div>

I know this can be an old post..but I am not a programmer, I am designer and an animator... what I want is a timeline scrubber which I put in the main timeline...where I also call the movieclip to play... the moviecl…

---

## [Horizontal Image Scroller - CS4](https://forum.kirupa.com/t/horizontal-image-scroller-cs4/304828)

<div class="topic-metadata">

**Author:** [@flashwiz](https://forum.kirupa.com/u/flashwiz)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 2:25am UTC](https://forum.kirupa.com/t/horizontal-image-scroller-cs4/304828 "2010-02-15T02:25:16Z")

</div>

Hello, I was hoping i could get some help in terms of creating a horizontal image scroller in flash cs4. Here is the link: http://www.webzo.org/tutorials/flash/scrolling-image-gallery.php I have been trying to comp…

---

## [Flash Video with dots overlay](https://forum.kirupa.com/t/flash-video-with-dots-overlay/304826)

<div class="topic-metadata">

**Author:** [@gilbejam](https://forum.kirupa.com/u/gilbejam)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 1:45am UTC](https://forum.kirupa.com/t/flash-video-with-dots-overlay/304826 "2010-02-15T01:45:04Z")

</div>

Hi everyone, I have seen loads of cool sites with video that have an overlay of dots sitting over the video. I guess this is in part for a design aesthetic, and the other to reduce the visible amount of pixellation from …

---

## [XML Photo Gallery slideshow](https://forum.kirupa.com/t/xml-photo-gallery-slideshow/304823)

<div class="topic-metadata">

**Author:** [@Marameo\_Design](https://forum.kirupa.com/u/Marameo_Design)\
**Replies:** 0\
**Last updated:** [February 15, 2010, 1:06am UTC](https://forum.kirupa.com/t/xml-photo-gallery-slideshow/304823 "2010-02-15T01:06:15Z")

</div>

Hi Guys, I'm using the XML photo gallery that is on KIRUPA tutorial, but i need to have the slideshow AND the prev and nex button, so i edited a bit, join in the 2 different codes as told in the tutorial. This is the…

---

## [3D RTS: Unit Selection](https://forum.kirupa.com/t/3d-rts-unit-selection/304818)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [February 14, 2010, 10:17pm UTC](https://forum.kirupa.com/t/3d-rts-unit-selection/304818 "2010-02-14T22:17:03Z")

</div>

I am working on a 3D Real-Time Strategy game, currently in the design phase. I have most of the business logic mapped out in UML, but I'm at a loss for how to handle unit selection effectively. What is the typical way…

---

## [Display Content Without Reload](https://forum.kirupa.com/t/display-content-without-reload/304817)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [February 14, 2010, 9:24pm UTC](https://forum.kirupa.com/t/display-content-without-reload/304817 "2010-02-14T21:24:11Z")

</div>

I have a CMS, and the user is able to choose from 3 different layouts on their website by using a drop-down menu. What I am wanting to do is have different form elements appear (whilst keeping any text they have/haven'…

---

## [How can I divide these to values](https://forum.kirupa.com/t/how-can-i-divide-these-to-values/304814)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 14, 2010, 8:05pm UTC](https://forum.kirupa.com/t/how-can-i-divide-these-to-values/304814 "2010-02-14T20:05:33Z")

</div>

Hi, I'm creating a small application and I'm having problems trying to divide the value from a textField. What I have here are 4 inputFields and 2 textFields the problem is that when I try to divide the value from "t…

---

## [AS3 - set text in textfield to the top](https://forum.kirupa.com/t/as3-set-text-in-textfield-to-the-top/304811)

<div class="topic-metadata">

**Author:** [@tapies](https://forum.kirupa.com/u/tapies)\
**Replies:** 0\
**Last updated:** [February 14, 2010, 4:11pm UTC](https://forum.kirupa.com/t/as3-set-text-in-textfield-to-the-top/304811 "2010-02-14T16:11:36Z")

</div>

I load texts from xml files into one textfield. I use myTxt.text = ""; before loading each text to see it at the top of the textfield. I works fine in Opera an FF. In IE (all versions) the position of the previously …

---

## [AS3 placing movie clips on the stage](https://forum.kirupa.com/t/as3-placing-movie-clips-on-the-stage/304809)

<div class="topic-metadata">

**Author:** [@joobny](https://forum.kirupa.com/u/joobny)\
**Replies:** 0\
**Last updated:** [February 14, 2010, 3:39pm UTC](https://forum.kirupa.com/t/as3-placing-movie-clips-on-the-stage/304809 "2010-02-14T15:39:17Z")

</div>

I'm using AS3 to place movieclips onto Flash's stage... The code I have looks something like this: import fl.transitions.Tween; import fl.transitions.TweenEvent; import fl.transitions.easing.\*; var numberOfObjectsT…

---

## [AS3 code -\> frame of \*.as file?](https://forum.kirupa.com/t/as3-code-frame-of-as-file/304802)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [February 14, 2010, 10:02am UTC](https://forum.kirupa.com/t/as3-code-frame-of-as-file/304802 "2010-02-14T10:02:52Z")

</div>

Hello everyone! I would like to hear from experienced AS3 users: are there any kind of rules or 'good behavior' on where to place a code for files. Should one use \*.as files instead of frames to place code? I mean,…

---

## [AS3 Greensock tweening advice](https://forum.kirupa.com/t/as3-greensock-tweening-advice/304801)

<div class="topic-metadata">

**Author:** [@maseintheplace](https://forum.kirupa.com/u/maseintheplace)\
**Replies:** 0\
**Last updated:** [February 14, 2010, 9:22am UTC](https://forum.kirupa.com/t/as3-greensock-tweening-advice/304801 "2010-02-14T09:22:52Z")

</div>

Hi Guys, I've created a funky little menu system... but! testing it in fullscreen mode & on certain slower machines the whole thing slows down & becomes very jerky. If your mouse goes near the top of the screen the …

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

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