# programming

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

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

**Page:** 1167

---

## [Why super() can be used in Constructor only?](https://forum.kirupa.com/t/why-super-can-be-used-in-constructor-only/265182)

<div class="topic-metadata">

**Author:** [@bonnieraymond](https://forum.kirupa.com/u/bonnieraymond)\
**Replies:** 9\
**Last updated:** [July 5, 2008, 5:52pm UTC](https://forum.kirupa.com/t/why-super-can-be-used-in-constructor-only/265182 "2008-07-05T17:52:59Z")

</div>

I just wondering why super() can be used in Constructor only but not in other function? for example: package {\[INDENT\] public class mySubClass extends myClass {\[INDENT\] public function mySubClass() {\[INDENT\]super(); /…

---

## [AS2 -\> AS3 convert please](https://forum.kirupa.com/t/as2-as3-convert-please/265109)

<div class="topic-metadata">

**Author:** [@krystek1987](https://forum.kirupa.com/u/krystek1987)\
**Replies:** 13\
**Last updated:** [July 5, 2008, 4:29pm UTC](https://forum.kirupa.com/t/as2-as3-convert-please/265109 "2008-07-05T16:29:14Z")

</div>

Hi, can you help me and convert that AS2 code to AS3: http://www.flashframer.com/how-to-create-a-dynamic-xml-navigation-menu/ For you that is 5 minutes, and I'll can see differents. Thanks

---

## [\[C++\] clearing a map?](https://forum.kirupa.com/t/c-clearing-a-map/211472)

<div class="topic-metadata">

**Author:** [@Danii](https://forum.kirupa.com/u/Danii)\
**Replies:** 2\
**Last updated:** [July 5, 2008, 4:23pm UTC](https://forum.kirupa.com/t/c-clearing-a-map/211472 "2008-07-05T16:23:11Z")

</div>

on to my next c++ issue.. I cant seem to get rid of a memory leak when using a map. I tried this code i found on the net which is supposed to solve the problem but even this isnt working. int main() { std::map\<int, c…

---

## [Getting to know AS3](https://forum.kirupa.com/t/getting-to-know-as3/262683)

<div class="topic-metadata">

**Author:** [@asj](https://forum.kirupa.com/u/asj)\
**Replies:** 12\
**Last updated:** [July 5, 2008, 3:41pm UTC](https://forum.kirupa.com/t/getting-to-know-as3/262683 "2008-07-05T15:41:01Z")

</div>

I’ve done AS2, but I’m just getting into AS3. I understand that AS3 is designed for OOP, which is better for programming logic in general. I also know that you could do it (kind of) in AS2, but I never got that advanced…

---

## [XML photogallery question](https://forum.kirupa.com/t/xml-photogallery-question/265184)

<div class="topic-metadata">

**Author:** [@Echelon](https://forum.kirupa.com/u/Echelon)\
**Replies:** 0\
**Last updated:** [July 5, 2008, 2:29pm UTC](https://forum.kirupa.com/t/xml-photogallery-question/265184 "2008-07-05T14:29:49Z")

</div>

First of all , I would like to say hello to everbody since I'm new here \[smile\] I've read the excellent tutorial about creating an xml-driven flash photogallery and I have a few questions about that. I'm trying to crea…

---

## [Listbox customisation](https://forum.kirupa.com/t/listbox-customisation/264951)

<div class="topic-metadata">

**Author:** [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Replies:** 8\
**Last updated:** [July 5, 2008, 1:16pm UTC](https://forum.kirupa.com/t/listbox-customisation/264951 "2008-07-05T13:16:16Z")

</div>

Hi, I'm looking for a way to set the font and the font color inside a listbox.... I've lookes to setStyle, and textformat but it doesn't seem to work... Please Help!

---

## [\_alpha is acting up!?](https://forum.kirupa.com/t/-alpha-is-acting-up/265159)

<div class="topic-metadata">

**Author:** [@gigaboost](https://forum.kirupa.com/u/gigaboost)\
**Replies:** 6\
**Last updated:** [July 5, 2008, 12:18pm UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159 "2008-07-05T12:18:23Z")

</div>

I have a problem with "rotation" alpha values. Explanation: Alpha is 100, I keep adding to it for one reason or another, and suddenly the graphic dissapears (when alpha is several thousand), I keep adding, and it com…

---

## [Trail effect](https://forum.kirupa.com/t/trail-effect/265142)

<div class="topic-metadata">

**Author:** [@RebuiltJorge](https://forum.kirupa.com/u/RebuiltJorge)\
**Replies:** 5\
**Last updated:** [July 5, 2008, 10:47am UTC](https://forum.kirupa.com/t/trail-effect/265142 "2008-07-05T10:47:24Z")

</div>

I am trying to dublicate one of those navy radar screen, where the line rotates around inside of a circle, furthermore, it creates a trail effect of the line, i am having a hard time figuring out how to dublicate this ef…

---

## [Auto Rewind Video AS3 on Rollout](https://forum.kirupa.com/t/auto-rewind-video-as3-on-rollout/265157)

<div class="topic-metadata">

**Author:** [@phillyrob](https://forum.kirupa.com/u/phillyrob)\
**Replies:** 2\
**Last updated:** [July 5, 2008, 3:02am UTC](https://forum.kirupa.com/t/auto-rewind-video-as3-on-rollout/265157 "2008-07-05T03:02:58Z")

</div>

I have a script that plays a video when you roll over a button and stops and disappears when you roll out. However it does not rewind and will start to play mutiple times occasionally. Does anyone know what I can add to …

---

## [How do i call an animation before "GoToAndPlay"?](https://forum.kirupa.com/t/how-do-i-call-an-animation-before-gotoandplay/265060)

<div class="topic-metadata">

**Author:** [@helious](https://forum.kirupa.com/u/helious)\
**Replies:** 9\
**Last updated:** [July 5, 2008, 1:50am UTC](https://forum.kirupa.com/t/how-do-i-call-an-animation-before-gotoandplay/265060 "2008-07-05T01:50:09Z")

</div>

I have a question. I think the answer is pretty simple. On the flash site im working on, i have made a menu of 5 buttons. They are all placed on the scene. Every time the user presses a button i want an animation to…

---

## [New Document Defaults - editable?](https://forum.kirupa.com/t/new-document-defaults-editable/265057)

<div class="topic-metadata">

**Author:** [@gigaboost](https://forum.kirupa.com/u/gigaboost)\
**Replies:** 2\
**Last updated:** [July 5, 2008, 1:41am UTC](https://forum.kirupa.com/t/new-document-defaults-editable/265057 "2008-07-05T01:41:46Z")

</div>

Is it possible to edit the defaults when opening up a new document, for example framerate, scene size and background color. Also interested in knowing if it is possible to make rulers and grid default.

---

## [Loader component does't load certain swf correctly](https://forum.kirupa.com/t/loader-component-doest-load-certain-swf-correctly/265162)

<div class="topic-metadata">

**Author:** [@pendejo](https://forum.kirupa.com/u/pendejo)\
**Replies:** 0\
**Last updated:** [July 5, 2008, 1:26am UTC](https://forum.kirupa.com/t/loader-component-doest-load-certain-swf-correctly/265162 "2008-07-05T01:26:13Z")

</div>

Hi, i learned how to do a basic site using Loader component from within flash to load external .swf. \[works fine\] was my first homework:) now decided to create a simple “loader” that i could use as a gallery of my flash…

---

## [\[AS3\] Embedding multiple members of a font-family](https://forum.kirupa.com/t/as3-embedding-multiple-members-of-a-font-family/223031)

<div class="topic-metadata">

**Author:** [@Ego](https://forum.kirupa.com/u/Ego)\
**Replies:** 4\
**Last updated:** [July 4, 2008, 11:47pm UTC](https://forum.kirupa.com/t/as3-embedding-multiple-members-of-a-font-family/223031 "2008-07-04T23:47:33Z")

</div>

I've been compiling Actionscript 3 in Flex Builder a while now. Love the platform but I've run into a problem that doesn't seem to be documented enough and I really can't find a solution. In Flex/AS3 font embedding has…

---

## [Referencing](https://forum.kirupa.com/t/referencing/265074)

<div class="topic-metadata">

**Author:** [@Dart](https://forum.kirupa.com/u/Dart)\
**Replies:** 11\
**Last updated:** [July 4, 2008, 11:43pm UTC](https://forum.kirupa.com/t/referencing/265074 "2008-07-04T23:43:03Z")

</div>

Hi There, I have odd problem here \[frowning\] I´m not able to reference property \[COLOR=YellowGreen\]"prop"\[/COLOR\] in class Level. FLA file: var mainLogic:Level = new Level(); Level.as: package { impor…

---

## [Java -](https://forum.kirupa.com/t/java/265158)

<div class="topic-metadata">

**Author:** [@jynx](https://forum.kirupa.com/u/jynx)\
**Replies:** 0\
**Last updated:** [July 4, 2008, 10:55pm UTC](https://forum.kirupa.com/t/java/265158 "2008-07-04T22:55:57Z")

</div>

i have no errors in my code, however i am sure that using Vector \<HashMap\> has something to do with why these two screens will not show up. how can i get rid of this "warning"(in actuality the screens never get displayed…

---

## [Contact local webserver](https://forum.kirupa.com/t/contact-local-webserver/265156)

<div class="topic-metadata">

**Author:** [@LapisInfernalis](https://forum.kirupa.com/u/LapisInfernalis)\
**Replies:** 0\
**Last updated:** [July 4, 2008, 10:33pm UTC](https://forum.kirupa.com/t/contact-local-webserver/265156 "2008-07-04T22:33:39Z")

</div>

Hi! I just installed the trial version of CS3 (I am glad that the trials work again... \[smiley\] ). Until now I only used Flash MX and I thought it would be time to upgrade... \[smile\] Right now I am working on a PHP/M…

---

## [Best PHP Cache System?](https://forum.kirupa.com/t/best-php-cache-system/265123)

<div class="topic-metadata">

**Author:** [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Replies:** 3\
**Last updated:** [July 4, 2008, 9:06pm UTC](https://forum.kirupa.com/t/best-php-cache-system/265123 "2008-07-04T21:06:46Z")

</div>

Anyone know of a good PHP Cache System? It would be better if it's filesystem based and is included by PHP instead of being a daemon on the server as the sites sharing a server with a few others. Any recommendations?

---

## [Dispatching events to siblings](https://forum.kirupa.com/t/dispatching-events-to-siblings/265108)

<div class="topic-metadata">

**Author:** [@Miguelele](https://forum.kirupa.com/u/Miguelele)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 8:26pm UTC](https://forum.kirupa.com/t/dispatching-events-to-siblings/265108 "2008-07-04T20:26:39Z")

</div>

Hi. I've found lots of tutorials and articles about custom events, but I can't find the TRUTH about passing events to siblings. My problem in Flex: the main app has 2 childs: a control bar with buttons and a pane to di…

---

## [Save Image with Open / Save Dialogue](https://forum.kirupa.com/t/save-image-with-open-save-dialogue/265153)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 7:02pm UTC](https://forum.kirupa.com/t/save-image-with-open-save-dialogue/265153 "2008-07-04T19:02:41Z")

</div>

I am wanting to use fileReference to open an OS save dialogue so my users can save jpgs to their hard disks. I been trying to get this working but I can't can any one please give me some code or some idea how to get th…

---

## [Embedding flash help](https://forum.kirupa.com/t/embedding-flash-help/265140)

<div class="topic-metadata">

**Author:** [@saxx](https://forum.kirupa.com/u/saxx)\
**Replies:** 2\
**Last updated:** [July 4, 2008, 6:48pm UTC](https://forum.kirupa.com/t/embedding-flash-help/265140 "2008-07-04T18:48:26Z")

</div>

Ok so i just made a new flash websites, and i'm getting all the dimensions figured out, but i noticed on firefox 3 and IE7 no matter what center tags or whatever i do, theres still about 20-30 pixels of white on the top …

---

## [Duplicating MC's with loaded images?](https://forum.kirupa.com/t/duplicating-mcs-with-loaded-images/265111)

<div class="topic-metadata">

**Author:** [@takousarruke](https://forum.kirupa.com/u/takousarruke)\
**Replies:** 2\
**Last updated:** [July 4, 2008, 6:25pm UTC](https://forum.kirupa.com/t/duplicating-mcs-with-loaded-images/265111 "2008-07-04T18:25:34Z")

</div>

So I'm trying to make a tile based game and using xml to import the tile images, so I want to make one MC with the tile in it then duplicate it, but cant seem to find the code to do so. Also, I cant get loadmovie("image"…

---

## [Embedding specific font characters](https://forum.kirupa.com/t/embedding-specific-font-characters/265130)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 9\
**Last updated:** [July 4, 2008, 6:18pm UTC](https://forum.kirupa.com/t/embedding-specific-font-characters/265130 "2008-07-04T18:18:47Z")

</div>

I use this method: http://www.adobe.com/devnet/flash/quickstart/embedding\_fonts/#section1 to import fonts. However there are lots of characters i wont be using, which is inefficient, but i am yet to find a way to only em…

---

## [Lost in Sound Problems](https://forum.kirupa.com/t/lost-in-sound-problems/265148)

<div class="topic-metadata">

**Author:** [@lonsky](https://forum.kirupa.com/u/lonsky)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 5:55pm UTC](https://forum.kirupa.com/t/lost-in-sound-problems/265148 "2008-07-04T17:55:33Z")

</div>

\[FONT=Times New Roman\] Hi, \[/FONT\] \[FONT=Times New Roman\]I am trying to create a button on an index page that will allow me to control the audio associated with loaded swf files – and cannot seem to do this. At the m…

---

## [Microphone volume and Webcam motion detect - Flash mx (V6)](https://forum.kirupa.com/t/microphone-volume-and-webcam-motion-detect-flash-mx-v6/265147)

<div class="topic-metadata">

**Author:** [@Firewolf](https://forum.kirupa.com/u/Firewolf)\
**Replies:** 0\
**Last updated:** [July 4, 2008, 5:06pm UTC](https://forum.kirupa.com/t/microphone-volume-and-webcam-motion-detect-flash-mx-v6/265147 "2008-07-04T17:06:26Z")

</div>

Hi, first thing I want to do is to detect motion in webcam video. I use this vid.attachVideo(Camera.get()); code to get webcam video. Code works perfectly, but I have tried many codes to detect motion, but none …

---

## [Beautiful,comfortable and charming brand shoes,handbag,jean,hat ,clothes](https://forum.kirupa.com/t/beautiful-comfortable-and-charming-brand-shoes-handbag-jean-hat-clothes/265141)

<div class="topic-metadata">

**Author:** [@frazzle](https://forum.kirupa.com/u/frazzle)\
**Replies:** 0\
**Last updated:** [July 4, 2008, 4:03pm UTC](https://forum.kirupa.com/t/beautiful-comfortable-and-charming-brand-shoes-handbag-jean-hat-clothes/265141 "2008-07-04T16:03:38Z")

</div>

Are you having a larf????

---

## [How many datasets should a project have?](https://forum.kirupa.com/t/how-many-datasets-should-a-project-have/264541)

<div class="topic-metadata">

**Author:** [@Slider16](https://forum.kirupa.com/u/Slider16)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 3:22pm UTC](https://forum.kirupa.com/t/how-many-datasets-should-a-project-have/264541 "2008-07-04T15:22:58Z")

</div>

I am developing a Windows Forms application in VS 2008 Express. I have created one dataset for the entire project thus far. It contains all the tables and tableadapters I will need in the project. Right now the projec…

---

## [New Font Help](https://forum.kirupa.com/t/new-font-help/264677)

<div class="topic-metadata">

**Author:** [@Padaxes](https://forum.kirupa.com/u/Padaxes)\
**Replies:** 3\
**Last updated:** [July 4, 2008, 3:21pm UTC](https://forum.kirupa.com/t/new-font-help/264677 "2008-07-04T15:21:20Z")

</div>

Hi, I've been given a new font for a project I'm working on but its a bitmap image with all the letters layed out as a grid. How can I use this in flash? Can I convert it in someway or is there a way to import fonts …

---

## [Easing with flash scrollpane component?](https://forum.kirupa.com/t/easing-with-flash-scrollpane-component/265139)

<div class="topic-metadata">

**Author:** [@tpspoons](https://forum.kirupa.com/u/tpspoons)\
**Replies:** 0\
**Last updated:** [July 4, 2008, 3:10pm UTC](https://forum.kirupa.com/t/easing-with-flash-scrollpane-component/265139 "2008-07-04T15:10:59Z")

</div>

If I wanted easing, usually I would create my own scroll pane/bar class but I'm using the astra tree component, which uses the flash scroll pane, and as far as I can tell I can't use another scroll pane class instead, so…

---

## [Is learning AS3 worth it for a smuck designer?](https://forum.kirupa.com/t/is-learning-as3-worth-it-for-a-smuck-designer/265125)

<div class="topic-metadata">

**Author:** [@stubbie](https://forum.kirupa.com/u/stubbie)\
**Replies:** 6\
**Last updated:** [July 4, 2008, 2:42pm UTC](https://forum.kirupa.com/t/is-learning-as3-worth-it-for-a-smuck-designer/265125 "2008-07-04T14:42:21Z")

</div>

I am a slightly "old school"... meaning older :-)... graphic designer who has used Flash for about 5 years. Only in the last two years have I been creating complete Flash websites - usually fairly simple affairs that yo…

---

## [Count the number of words in a document using PHP](https://forum.kirupa.com/t/count-the-number-of-words-in-a-document-using-php/253170)

<div class="topic-metadata">

**Author:** [@andres](https://forum.kirupa.com/u/andres)\
**Replies:** 2\
**Last updated:** [July 4, 2008, 2:22pm UTC](https://forum.kirupa.com/t/count-the-number-of-words-in-a-document-using-php/253170 "2008-07-04T14:22:52Z")

</div>

Im trying to count the number of words in a document using PHP. I already have a function that returns the number of words in a string: function wordCount($string){ $words = ""; $string = eregi\_replace…

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

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