# programming

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

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

**Page:** 267

---

## [Constructors and destructors in c++](https://forum.kirupa.com/t/constructors-and-destructors-in-c/322922)

<div class="topic-metadata">

**Author:** [@robin\_alam](https://forum.kirupa.com/u/robin_alam)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 6:52pm UTC](https://forum.kirupa.com/t/constructors-and-destructors-in-c/322922 "2011-06-08T18:52:38Z")

</div>

hi all, I want to learn about Constructors and destructors in c++. I don't know, how I can do this ????? if anybody know please help me.

---

## [hitTestPoint with localToGlobal not working and not sure why, argh!](https://forum.kirupa.com/t/hittestpoint-with-localtoglobal-not-working-and-not-sure-why-argh/322921)

<div class="topic-metadata">

**Author:** [@SammyTheBear](https://forum.kirupa.com/u/SammyTheBear)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 6:32pm UTC](https://forum.kirupa.com/t/hittestpoint-with-localtoglobal-not-working-and-not-sure-why-argh/322921 "2011-06-08T18:32:03Z")

</div>

Hello all! I am creating a chart with hitTestPoint in it. I have 7 MovieClips. 1 is the point that moves around on the chart and it is to "hit" 1 of the other 6 that make the chart. I am not too sure how to use hitTest…

---

## [Changing a button's color via a mouse click](https://forum.kirupa.com/t/changing-a-buttons-color-via-a-mouse-click/322920)

<div class="topic-metadata">

**Author:** [@Carl\_Spackler](https://forum.kirupa.com/u/Carl_Spackler)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 5:26pm UTC](https://forum.kirupa.com/t/changing-a-buttons-color-via-a-mouse-click/322920 "2011-06-08T17:26:29Z")

</div>

I'm trying to learn a simple way to code a button's color to change when you click on the button itself. I got the button's alpha to work by doing the following: Create a text field with the word "Preflight" and conver…

---

## [2 windows 7 64 systems different behavior](https://forum.kirupa.com/t/2-windows-7-64-systems-different-behavior/322919)

<div class="topic-metadata">

**Author:** [@chopficaro](https://forum.kirupa.com/u/chopficaro)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 4:33pm UTC](https://forum.kirupa.com/t/2-windows-7-64-systems-different-behavior/322919 "2011-06-08T16:33:18Z")

</div>

http://patrickallard.000space.com/ here is my website that u fine people here at kirupa helped me make some time ago but ive noticed that my flash buttons looks different on different systems, even if they have the same …

---

## [How to STOP a timer in PROGRESS in the background?](https://forum.kirupa.com/t/how-to-stop-a-timer-in-progress-in-the-background/322917)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 4:02pm UTC](https://forum.kirupa.com/t/how-to-stop-a-timer-in-progress-in-the-background/322917 "2011-06-08T16:02:48Z")

</div>

Hi guys, Finally I was able to get my site running with a little FLASH ACTIONSCRIPT in it. (all courtesy of KIRUPA.com) I got so excited and published it right away 'cause I think for as a photographer, it's a huge acc…

---

## [Can't seem to get my display objects to link to their class](https://forum.kirupa.com/t/cant-seem-to-get-my-display-objects-to-link-to-their-class/322914)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 3:23pm UTC](https://forum.kirupa.com/t/cant-seem-to-get-my-display-objects-to-link-to-their-class/322914 "2011-06-08T15:23:15Z")

</div>

Noob question here, it's gonna be a simple one, I'm sure! I have 50 movie clips that are on the stage. Each has a unique instance name - puzzleAZ, puzzleAR, etc. I have a class called GeoPuzzle that inherits from fla…

---

## [UIScrollbar - Flash CS5](https://forum.kirupa.com/t/uiscrollbar-flash-cs5/322913)

<div class="topic-metadata">

**Author:** [@wogerwumjet](https://forum.kirupa.com/u/wogerwumjet)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 2:55pm UTC](https://forum.kirupa.com/t/uiscrollbar-flash-cs5/322913 "2011-06-08T14:55:11Z")

</div>

Hi, My vertical text scrollbar is fine but had to stop(); all other actions i.e masking, therefore the scrollbar freezes. Can the scrollbar be continually run or another option. Have a look at www.healinghands.tv/Inde…

---

## [MovieClip collision with points stored in an array](https://forum.kirupa.com/t/movieclip-collision-with-points-stored-in-an-array/322911)

<div class="topic-metadata">

**Author:** [@NoobSurfer](https://forum.kirupa.com/u/NoobSurfer)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 1:36pm UTC](https://forum.kirupa.com/t/movieclip-collision-with-points-stored-in-an-array/322911 "2011-06-08T13:36:16Z")

</div>

Im a bit stumped on this. I have a movie clip named mcMain that the player controls, and i want him to have it detect collisions at certain points of the screen (like at a certain X and Y co-ordinates). I have an array t…

---

## [I have problem whit timer in AS3](https://forum.kirupa.com/t/i-have-problem-whit-timer-in-as3/322907)

<div class="topic-metadata">

**Author:** [@nexa666](https://forum.kirupa.com/u/nexa666)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 9:39am UTC](https://forum.kirupa.com/t/i-have-problem-whit-timer-in-as3/322907 "2011-06-08T09:39:25Z")

</div>

Help me, i have problem whit timer in AS3. I have simple game: LEVEL 1: 3x4 element ( 30 sec ) LEVEL2: 4x4 element ( 60 sec) LEVEL3: 6x6 element ( 90 sek ) I finish the first level of say 20 seconds, and move to…

---

## [How To Connect My Flash Form To Any Database](https://forum.kirupa.com/t/how-to-connect-my-flash-form-to-any-database/322906)

<div class="topic-metadata">

**Author:** [@sathyapriyamani](https://forum.kirupa.com/u/sathyapriyamani)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 9:25am UTC](https://forum.kirupa.com/t/how-to-connect-my-flash-form-to-any-database/322906 "2011-06-08T09:25:31Z")

</div>

I have a requirement: I have to create a form in flash connecting to database. for example: Name: Age: Address: Comments: \[ SUBMIT \] So after comp…

---

## [Simple variables (if this, then this is true)](https://forum.kirupa.com/t/simple-variables-if-this-then-this-is-true/322903)

<div class="topic-metadata">

**Author:** [@govjmal](https://forum.kirupa.com/u/govjmal)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 9:03am UTC](https://forum.kirupa.com/t/simple-variables-if-this-then-this-is-true/322903 "2011-06-08T09:03:26Z")

</div>

Hi guys and gals, I'm having trouble working out how to do some 'basic' coding with, well i guess variables. To summarise, I have some code that works, which randomly inserts a picture from a list of 3 i provided, but…

---

## [Help CURVED TEXT in as3](https://forum.kirupa.com/t/help-curved-text-in-as3/322898)

<div class="topic-metadata">

**Author:** [@ngocquynh\_183](https://forum.kirupa.com/u/ngocquynh_183)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 3:08am UTC](https://forum.kirupa.com/t/help-curved-text-in-as3/322898 "2011-06-08T03:08:11Z")

</div>

I have a problem with effect text. I want curved text, but the text is broken because i used bitmapdata (see link http://www.vnfx.com/vb/attachment.php?attachmentid=250&d=1307495477). i can not convert textfield to shape…

---

## [Cần giúp đỡ CURVED TEXT trong as3](https://forum.kirupa.com/t/c-n-giup-d-curved-text-trong-as3/322896)

<div class="topic-metadata">

**Author:** [@ngocquynh\_183](https://forum.kirupa.com/u/ngocquynh_183)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 1:41am UTC](https://forum.kirupa.com/t/c-n-giup-d-curved-text-trong-as3/322896 "2011-06-08T01:41:11Z")

</div>

I have a problem with effect text. I want curved text, but the text is broken because i used bitmapdata (see link http://www.vnfx.com/vb/attachment.php?attachmentid=250&d=1307495477). i can not convert textfield to shape…

---

## [Help CURVED TEXT in a3](https://forum.kirupa.com/t/help-curved-text-in-a3/322895)

<div class="topic-metadata">

**Author:** [@ngocquynh\_183](https://forum.kirupa.com/u/ngocquynh_183)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 1:37am UTC](https://forum.kirupa.com/t/help-curved-text-in-a3/322895 "2011-06-08T01:37:52Z")

</div>

I have a problem with effect text. I want curved text, but the text is broken because i used bitmapdata (see link http://www.vnfx.com/vb/attachment.php?attachmentid=250&d=1307495477). i can not convert textfield to shape…

---

## [In Tile based games, where do you store the level arrays?](https://forum.kirupa.com/t/in-tile-based-games-where-do-you-store-the-level-arrays/322893)

<div class="topic-metadata">

**Author:** [@verklighet](https://forum.kirupa.com/u/verklighet)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 10:02pm UTC](https://forum.kirupa.com/t/in-tile-based-games-where-do-you-store-the-level-arrays/322893 "2011-06-07T22:02:19Z")

</div>

Hey guys! So I'm about to make a level editor. All my levels are in array format as such: var map1 = \[\[0,0,0,0,0\], \[0,0,0,0,0\], \[0,0,0,0,0\], \[0,0,0,0,0\],\] But they are all withi…

---

## [Panning image effect](https://forum.kirupa.com/t/panning-image-effect/322892)

<div class="topic-metadata">

**Author:** [@alexconner](https://forum.kirupa.com/u/alexconner)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 9:06pm UTC](https://forum.kirupa.com/t/panning-image-effect/322892 "2011-06-07T21:06:08Z")

</div>

I am using the panning image effect from the URL below: http://www.kirupa.com/developer/flash8/interactive\_image\_pan.htm I am using it on this site: http://www.alexconner.co.uk/union\_42/union42.html The problem i h…

---

## [Remove watermark context menu](https://forum.kirupa.com/t/remove-watermark-context-menu/322888)

<div class="topic-metadata">

**Author:** [@burnandbass](https://forum.kirupa.com/u/burnandbass)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 3:28pm UTC](https://forum.kirupa.com/t/remove-watermark-context-menu/322888 "2011-06-07T15:28:08Z")

</div>

Hi; I use an SWC component that adds watermark image and context menu on right click. The component is very expensive ( 3, 000 euro!). Is there some way to remove the right click context menu?

---

## [Trying to dynamically assign variables in a for loop. Why is this not working?](https://forum.kirupa.com/t/trying-to-dynamically-assign-variables-in-a-for-loop-why-is-this-not-working/322887)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 2:41pm UTC](https://forum.kirupa.com/t/trying-to-dynamically-assign-variables-in-a-for-loop-why-is-this-not-working/322887 "2011-06-07T14:41:04Z")

</div>

The label variables are null at the end of the loop. This has worked for be in the past. What am I missing? var label0:String; var label1:String; var label2:String; var label3:String; for (var k:uint = 0…

---

## [Problem in calling a function of a outside Class](https://forum.kirupa.com/t/problem-in-calling-a-function-of-a-outside-class/322885)

<div class="topic-metadata">

**Author:** [@Derick\_Troia](https://forum.kirupa.com/u/Derick_Troia)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 2:16pm UTC](https://forum.kirupa.com/t/problem-in-calling-a-function-of-a-outside-class/322885 "2011-06-07T14:16:19Z")

</div>

Hello fellows! So, I'm having this weird problem and I know you guys are the best and can help me solving this. What's happening is that I have to develop a pathfinder into a game. I found a class that makes the pathfi…

---

## [Remove mc once finished playing](https://forum.kirupa.com/t/remove-mc-once-finished-playing/322878)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 9:40am UTC](https://forum.kirupa.com/t/remove-mc-once-finished-playing/322878 "2011-06-07T09:40:24Z")

</div>

How do I do that? Writing the code in the timeline does not seem good to me in as3, nor am I sure how to do it. I saw a site with an answer but it uses the main timeline for coding. Is it okay if I use the timeline for c…

---

## [How to solve?](https://forum.kirupa.com/t/how-to-solve/322877)

<div class="topic-metadata">

**Author:** [@Tiesiog\_Jazokas](https://forum.kirupa.com/u/Tiesiog_Jazokas)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 9:03am UTC](https://forum.kirupa.com/t/how-to-solve/322877 "2011-06-07T09:03:42Z")

</div>

Can some one help me? How I can use oldFrame in other function IN THE BOTTOM.\*\* When i write e.target.gotoAndStop(oldFrame); \*\*Flash me said that no found oldFrame function xmlLoaded(event:Event):void { myXML …

---

## [Detect musical notes](https://forum.kirupa.com/t/detect-musical-notes/322876)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 8:51am UTC](https://forum.kirupa.com/t/detect-musical-notes/322876 "2011-06-07T08:51:38Z")

</div>

Hi, Does AS3 have the functionality to detect and distinguish between musical notes? I'm trying to find ways of learning the guitar and thought making a flash game would help me learn faster.. Something similar to guit…

---

## [Tutorial: Anatomy of a CSS Style 101](https://forum.kirupa.com/t/tutorial-anatomy-of-a-css-style-101/322875)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 6:56am UTC](https://forum.kirupa.com/t/tutorial-anatomy-of-a-css-style-101/322875 "2011-06-07T06:56:14Z")

</div>

Hi everyone, This is the place to discuss anything and everything related to the Anatomy of a CSS Style 101 tutorial. Jump right on in \[stuck\_out\_tongue\] Cheers, Kirupa (-:

---

## [Tutorial: CSS Selectors - Type, Class, and ID!](https://forum.kirupa.com/t/tutorial-css-selectors-type-class-and-id/322874)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 6:55am UTC](https://forum.kirupa.com/t/tutorial-css-selectors-type-class-and-id/322874 "2011-06-07T06:55:20Z")

</div>

Hi everyone, This is the place to discuss anything and everything related to the CSS Selectors - Class, ID, and Type tutorial. Jump right on in \[stuck\_out\_tongue\] Cheers, Kirupa (-:

---

## [Loading External Movies (under same domain)](https://forum.kirupa.com/t/loading-external-movies-under-same-domain/322872)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 5:37am UTC](https://forum.kirupa.com/t/loading-external-movies-under-same-domain/322872 "2011-06-07T05:37:53Z")

</div>

I have three (3) buttons in my main movie. And I just realized that everytime I press the "about me" button, it keep loading, reloading, the same movie. Its kinda lame! So I searched for VARIABLES and thought I could wor…

---

## [Bulge Distortion Effect Help!](https://forum.kirupa.com/t/bulge-distortion-effect-help/322870)

<div class="topic-metadata">

**Author:** [@blackpanda](https://forum.kirupa.com/u/blackpanda)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 4:25am UTC](https://forum.kirupa.com/t/bulge-distortion-effect-help/322870 "2011-06-07T04:25:44Z")

</div>

Hi, I am developing some Text effects in AS3. I did complete curve text effect but are getting problem with bulge text. Because bulge text distort each characters so i have to convert the text to bitmap format to dist…

---

## [Flash loads XML URL images locally, not online](https://forum.kirupa.com/t/flash-loads-xml-url-images-locally-not-online/322869)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 2:47am UTC](https://forum.kirupa.com/t/flash-loads-xml-url-images-locally-not-online/322869 "2011-06-07T02:47:11Z")

</div>

I have a flash project that uses an XML doc for data. The URL's in the XML load fine locally, but when published and placed online, they do not load. Is a policy file needed? If so, how do you do that? My URL's are …

---

## [Filter XML Data Help Request](https://forum.kirupa.com/t/filter-xml-data-help-request/322868)

<div class="topic-metadata">

**Author:** [@ChristineL](https://forum.kirupa.com/u/ChristineL)\
**Replies:** 0\
**Last updated:** [June 7, 2011, 12:16am UTC](https://forum.kirupa.com/t/filter-xml-data-help-request/322868 "2011-06-07T00:16:04Z")

</div>

I have been reading about filtering, XML, CollectionViewSource for days now and I am just as confused as when I started. I have created a very simple little project in Blend 4... XML: \<?xml version="1.0" encoding=…

---

## [Instagram crossdomain issues](https://forum.kirupa.com/t/instagram-crossdomain-issues/322867)

<div class="topic-metadata">

**Author:** [@asciiman](https://forum.kirupa.com/u/asciiman)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 11:17pm UTC](https://forum.kirupa.com/t/instagram-crossdomain-issues/322867 "2011-06-06T23:17:15Z")

</div>

Hey all, I'm trying to call an instagram api endpoint and having some issues. Firstly, I'm calling Security.loadPolicyFile("https://api.instagram.com/crossdomain.xml"); before I do anything. When I try using…

---

## [Oddity with flv netStream.time](https://forum.kirupa.com/t/oddity-with-flv-netstream-time/322866)

<div class="topic-metadata">

**Author:** [@Josh\_Martin](https://forum.kirupa.com/u/Josh_Martin)\
**Replies:** 0\
**Last updated:** [June 6, 2011, 9:16pm UTC](https://forum.kirupa.com/t/oddity-with-flv-netstream-time/322866 "2011-06-06T21:16:07Z")

</div>

I don't know if this is something I'm doing wrong or what... I've googled it, and am aware that there's a lot of inconsistencies with flv playback in flash, but couldn't find much addressing this directly... at least not…

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

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