# programming

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

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

**Page:** 1158

---

## [How to make a stuktur in a projekt](https://forum.kirupa.com/t/how-to-make-a-stuktur-in-a-projekt/265677)

<div class="topic-metadata">

**Author:** [@peterco](https://forum.kirupa.com/u/peterco)\
**Replies:** 3\
**Last updated:** [July 12, 2008, 12:17am UTC](https://forum.kirupa.com/t/how-to-make-a-stuktur-in-a-projekt/265677 "2008-07-12T00:17:57Z")

</div>

I need a tip on how to organise a AS3 projekt. I understand the idea of putting the code in classes. But what do I put in the same class and when do I separate the code in differnt classes? And what is the smartest struk…

---

## [bitmapFill transparancy](https://forum.kirupa.com/t/bitmapfill-transparancy/265738)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 7\
**Last updated:** [July 11, 2008, 11:49pm UTC](https://forum.kirupa.com/t/bitmapfill-transparancy/265738 "2008-07-11T23:49:13Z")

</div>

Hey all, Im attempting to create my game graphics using bitmapfill... From the Loader instance.... \[LEFT\]var img:Bitmap = e.target.content as Bitmap; var bd:BitmapData = new BitmapData(img.width, img.height); bd.d…

---

## [Add a timecode to FLV player](https://forum.kirupa.com/t/add-a-timecode-to-flv-player/265752)

<div class="topic-metadata">

**Author:** [@realjigga](https://forum.kirupa.com/u/realjigga)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 11:40pm UTC](https://forum.kirupa.com/t/add-a-timecode-to-flv-player/265752 "2008-07-11T23:40:58Z")

</div>

Ive created a re-skinned video player working from the customizable components. The only thing I need still is to have a dynamic text time tracker to the right of the seek bar. I'm having trouble finding topics on it b…

---

## [\[Flash8\]help using symbol and instance names](https://forum.kirupa.com/t/flash8-help-using-symbol-and-instance-names/265654)

<div class="topic-metadata">

**Author:** [@TheWaffleKing](https://forum.kirupa.com/u/TheWaffleKing)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 10:28pm UTC](https://forum.kirupa.com/t/flash8-help-using-symbol-and-instance-names/265654 "2008-07-11T22:28:58Z")

</div>

I'm building a platforming game using AS2. I just got collision detection working between my character and multiple instances of an object. the different collisions (top, left, right, and bottom of platform blocks) are…

---

## [Random Numbers but no duplicits](https://forum.kirupa.com/t/random-numbers-but-no-duplicits/265748)

<div class="topic-metadata">

**Author:** [@brostd](https://forum.kirupa.com/u/brostd)\
**Replies:** 4\
**Last updated:** [July 11, 2008, 10:26pm UTC](https://forum.kirupa.com/t/random-numbers-but-no-duplicits/265748 "2008-07-11T22:26:08Z")

</div>

I am trying to create 3 random numbers with no doubles. i am using this code: for (i=0; i\<10; i++) { temp\_array.push(i); } for (j=0; j\<3; j++) { var index:Number = Math.floor(Math.random()\*temp\_array.length); cho…

---

## [Unloadmovie on root](https://forum.kirupa.com/t/unloadmovie-on-root/265745)

<div class="topic-metadata">

**Author:** [@scottboarder](https://forum.kirupa.com/u/scottboarder)\
**Replies:** 3\
**Last updated:** [July 11, 2008, 9:56pm UTC](https://forum.kirupa.com/t/unloadmovie-on-root/265745 "2008-07-11T21:56:56Z")

</div>

Hi, I have a movie at root frame 2 which is loaded from an AS file see code below var dockTemplate = {layout: 0, icon\_size: 127, icon\_min: 60, icon\_max: 110, icon\_spacing: 2, items: \[{id: "home", label: "home"}, {id: …

---

## [Font Smoothing](https://forum.kirupa.com/t/font-smoothing/265747)

<div class="topic-metadata">

**Author:** [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Replies:** 0\
**Last updated:** [July 11, 2008, 9:53pm UTC](https://forum.kirupa.com/t/font-smoothing/265747 "2008-07-11T21:53:25Z")

</div>

I I need help regarding font smoothing in html text. I have embedded the font and set the font size to 12, but increasing the font size distorts the font making it blurry/hazy etc: what am i to do... i need smooth cris…

---

## [Keeping Score Tutorial](https://forum.kirupa.com/t/keeping-score-tutorial/265739)

<div class="topic-metadata">

**Author:** [@Pandalu](https://forum.kirupa.com/u/Pandalu)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 9:51pm UTC](https://forum.kirupa.com/t/keeping-score-tutorial/265739 "2008-07-11T21:51:24Z")

</div>

I have done the Keeping Score tutorial here http://www.kirupa.com/developer/mx/score.htm It allows me to have two buttons, one will decrease the score, and one will increase. I have followed it step by step and i am …

---

## [Flash Web Services Browser Problem](https://forum.kirupa.com/t/flash-web-services-browser-problem/265726)

<div class="topic-metadata">

**Author:** [@tfoston](https://forum.kirupa.com/u/tfoston)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 9:44pm UTC](https://forum.kirupa.com/t/flash-web-services-browser-problem/265726 "2008-07-11T21:44:40Z")

</div>

I have a flash player that calls a web service. The web service returns the location to play a flv. Ok that works, but ONLY in IE, and not firefox Here is the link. Could this me a crossdomain problem??? Or just a brow…

---

## [Particle System - Fireworks](https://forum.kirupa.com/t/particle-system-fireworks/265699)

<div class="topic-metadata">

**Author:** [@danieray](https://forum.kirupa.com/u/danieray)\
**Replies:** 3\
**Last updated:** [July 11, 2008, 9:26pm UTC](https://forum.kirupa.com/t/particle-system-fireworks/265699 "2008-07-11T21:26:55Z")

</div>

Hi - I'm trying to create a fireworks background using as3. I had found one tutorial that looks great, but uses as2 and i'm having trouble converting it to as3. i've done all of the lynda.com tutorials on particle system…

---

## [Menu suggestions welcome](https://forum.kirupa.com/t/menu-suggestions-welcome/265744)

<div class="topic-metadata">

**Author:** [@kalasdojan](https://forum.kirupa.com/u/kalasdojan)\
**Replies:** 0\
**Last updated:** [July 11, 2008, 9:07pm UTC](https://forum.kirupa.com/t/menu-suggestions-welcome/265744 "2008-07-11T21:07:50Z")

</div>

I would like to build the menu illustrated below. O -- o -- o -- O -- O Each big O (button) contains a submenu (small o:s) of variable length. When initialized, the first O's submenu will be visible and the others co…

---

## [Variable scope w/ Included Functions](https://forum.kirupa.com/t/variable-scope-w-included-functions/265742)

<div class="topic-metadata">

**Author:** [@Frenchi](https://forum.kirupa.com/u/Frenchi)\
**Replies:** 3\
**Last updated:** [July 11, 2008, 8:29pm UTC](https://forum.kirupa.com/t/variable-scope-w-included-functions/265742 "2008-07-11T20:29:04Z")

</div>

Hey guys, I've problem for you. I'm running the CLI version of PHP, and having trouble getting my top level variables to be recognized inside of functions defined in external files and brought in via Include(); My code…

---

## [CSS - Changing names of styles](https://forum.kirupa.com/t/css-changing-names-of-styles/265734)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 4\
**Last updated:** [July 11, 2008, 7:39pm UTC](https://forum.kirupa.com/t/css-changing-names-of-styles/265734 "2008-07-11T19:39:01Z")

</div>

Is it possible to change the names of styles in an eternal .css file and not affect the rest of the site pages..? This, meaning the pages that use that style will still use that style but with the new name.

---

## [Loading button with \_visible command](https://forum.kirupa.com/t/loading-button-with--visible-command/265731)

<div class="topic-metadata">

**Author:** [@MIRADORO](https://forum.kirupa.com/u/MIRADORO)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 7:32pm UTC](https://forum.kirupa.com/t/loading-button-with--visible-command/265731 "2008-07-11T19:32:41Z")

</div>

hi i am loading a button with \_visible command i.e on(release){ btn1\_mc.\_visible = 1; } can i load btn1 with \_visible and have it appear from alpha 0 to 100 ? right now it just pops up p.d. i cannot make my btn…

---

## [Lost syn with movieclip](https://forum.kirupa.com/t/lost-syn-with-movieclip/265736)

<div class="topic-metadata">

**Author:** [@LeventKA](https://forum.kirupa.com/u/LeventKA)\
**Replies:** 0\
**Last updated:** [July 11, 2008, 7:14pm UTC](https://forum.kirupa.com/t/lost-syn-with-movieclip/265736 "2008-07-11T19:14:56Z")

</div>

I have created a character on stage and it has a mouth as Graphic, it has a \[COLOR=DarkRed\]wav voice\[/COLOR\] on stage main timeline. For lips syn, I have changed this graphics situation with "Single Frame". \*\* For e…

---

## [Arrays of MC's - Get ID](https://forum.kirupa.com/t/arrays-of-mcs-get-id/265724)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 7\
**Last updated:** [July 11, 2008, 6:59pm UTC](https://forum.kirupa.com/t/arrays-of-mcs-get-id/265724 "2008-07-11T18:59:44Z")

</div>

So I have an array of movieclip instances. I need to loop through the array and add an event handler for each instance. Then on click I need to call a function and pass that instance into a function (Which is why I had…

---

## [Addressing individual letters in dynamic textfield](https://forum.kirupa.com/t/addressing-individual-letters-in-dynamic-textfield/265684)

<div class="topic-metadata">

**Author:** [@flobster](https://forum.kirupa.com/u/flobster)\
**Replies:** 2\
**Last updated:** [July 11, 2008, 6:58pm UTC](https://forum.kirupa.com/t/addressing-individual-letters-in-dynamic-textfield/265684 "2008-07-11T18:58:18Z")

</div>

Hi there, i couldn't find anything about it, so is there a way to address individual letters in a dynamic textfield? I'd like to do some text tweenings but could not find a poper way of instanciating single letters. Of c…

---

## [Populating and accessing an array in a movie clip](https://forum.kirupa.com/t/populating-and-accessing-an-array-in-a-movie-clip/265733)

<div class="topic-metadata">

**Author:** [@Engywook](https://forum.kirupa.com/u/Engywook)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 6:53pm UTC](https://forum.kirupa.com/t/populating-and-accessing-an-array-in-a-movie-clip/265733 "2008-07-11T18:53:40Z")

</div>

Googling around, I see plenty of advice on populating an array with movie clips. Fine, useful, but I already know how to do that. What I'm trying to is populate an array that occurs in each instance of a movie clip: …

---

## [Split button drop down menus](https://forum.kirupa.com/t/split-button-drop-down-menus/265509)

<div class="topic-metadata">

**Author:** [@camargo](https://forum.kirupa.com/u/camargo)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 6:42pm UTC](https://forum.kirupa.com/t/split-button-drop-down-menus/265509 "2008-07-11T18:42:09Z")

</div>

Hey there Kirupans, I was doing some searching for techniques to create split-button drop-down menus (ala digg.com and the YUI split-button widget). I came across this link: http://woork.blogspot.com/2008/01/simple-c…

---

## [Footer keeps breaking](https://forum.kirupa.com/t/footer-keeps-breaking/265598)

<div class="topic-metadata">

**Author:** [@w1sh](https://forum.kirupa.com/u/w1sh)\
**Replies:** 6\
**Last updated:** [July 11, 2008, 6:38pm UTC](https://forum.kirupa.com/t/footer-keeps-breaking/265598 "2008-07-11T18:38:42Z")

</div>

This footer is about to get thrown in the garbage. It's the simplest thing, but it keeps giving me problems. 1st and foremost: It breaks in Firefox and not in IE (which is unholy) 2nd: That sticky footer ( http://ryanf…

---

## [I could use some help/advice with a drag and drop activity](https://forum.kirupa.com/t/i-could-use-some-help-advice-with-a-drag-and-drop-activity/264878)

<div class="topic-metadata">

**Author:** [@Kat35](https://forum.kirupa.com/u/Kat35)\
**Replies:** 6\
**Last updated:** [July 11, 2008, 5:28pm UTC](https://forum.kirupa.com/t/i-could-use-some-help-advice-with-a-drag-and-drop-activity/264878 "2008-07-11T17:28:14Z")

</div>

Hi All, I would really appreciate some help. I have created a drag and drop matching activity and the way it is coded presently, I have given the cards that are dragged the instance names card1, card2, card3....and so fo…

---

## [Downloadable File](https://forum.kirupa.com/t/downloadable-file/265614)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 9\
**Last updated:** [July 11, 2008, 5:22pm UTC](https://forum.kirupa.com/t/downloadable-file/265614 "2008-07-11T17:22:35Z")

</div>

How do I create a download button for a song I have on my server. I just want a download window to pop out without the user having to leave the page. I tried this in the actions layer frame but it took me to the page …

---

## [Flash/XMl/Dreamweaver](https://forum.kirupa.com/t/flash-xml-dreamweaver/265723)

<div class="topic-metadata">

**Author:** [@Groovy](https://forum.kirupa.com/u/Groovy)\
**Replies:** 0\
**Last updated:** [July 11, 2008, 5:11pm UTC](https://forum.kirupa.com/t/flash-xml-dreamweaver/265723 "2008-07-11T17:11:10Z")

</div>

Heyyy whats up, I read the Flash/XML tutorial and I decided to make a similar gallery in my webpage. Basicaly, I´m doing everything in Dreamweaver and I want to incorporate the gallery in one section of my page, but when…

---

## [ExternalInterface.call remote/outside Javascript](https://forum.kirupa.com/t/externalinterface-call-remote-outside-javascript/265708)

<div class="topic-metadata">

**Author:** [@nixon](https://forum.kirupa.com/u/nixon)\
**Replies:** 3\
**Last updated:** [July 11, 2008, 5:09pm UTC](https://forum.kirupa.com/t/externalinterface-call-remote-outside-javascript/265708 "2008-07-11T17:09:03Z")

</div>

Hi All, I'm trying to use ExternalInterface.call() to access a function from an outside domain that I have linked in my html page. Is there anyway to do this? \<script type="text/javascript"\> var flashvars = …

---

## [XML GALLERY with thumbnail grid that scrolls](https://forum.kirupa.com/t/xml-gallery-with-thumbnail-grid-that-scrolls/265518)

<div class="topic-metadata">

**Author:** [@gdesigner36](https://forum.kirupa.com/u/gdesigner36)\
**Replies:** 2\
**Last updated:** [July 11, 2008, 5:01pm UTC](https://forum.kirupa.com/t/xml-gallery-with-thumbnail-grid-that-scrolls/265518 "2008-07-11T17:01:18Z")

</div>

I have a gallery that has two columns of thumbnails but it wont scroll. what can I do? function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild; image = \[\]; description = \[\]; …

---

## [New instance of an unknown type?](https://forum.kirupa.com/t/new-instance-of-an-unknown-type/265714)

<div class="topic-metadata">

**Author:** [@Groady](https://forum.kirupa.com/u/Groady)\
**Replies:** 6\
**Last updated:** [July 11, 2008, 4:48pm UTC](https://forum.kirupa.com/t/new-instance-of-an-unknown-type/265714 "2008-07-11T16:48:30Z")

</div>

I need to know how to find out what type an object is and then create a new object of that type. Can someone help me?

---

## [Load External swf brain jam!](https://forum.kirupa.com/t/load-external-swf-brain-jam/265707)

<div class="topic-metadata">

**Author:** [@trafford87](https://forum.kirupa.com/u/trafford87)\
**Replies:** 1\
**Last updated:** [July 11, 2008, 4:35pm UTC](https://forum.kirupa.com/t/load-external-swf-brain-jam/265707 "2008-07-11T16:35:40Z")

</div>

Hi Guy's I have a swf file which contains a series of movieclips. I have a navigation menu clip which has buttons to load external swf's into a holding moving clip I have the following code: \[COLOR="Blue"\]stop(); …

---

## [SWF inside another SWF](https://forum.kirupa.com/t/swf-inside-another-swf/265674)

<div class="topic-metadata">

**Author:** [@jtstuedle](https://forum.kirupa.com/u/jtstuedle)\
**Replies:** 2\
**Last updated:** [July 11, 2008, 4:25pm UTC](https://forum.kirupa.com/t/swf-inside-another-swf/265674 "2008-07-11T16:25:29Z")

</div>

I'm pretty sure this has been covered a million times, but for the life of me, I can't figure it out! I want to put an external .swf file inside the main page of another flash document...however everything I have read ha…

---

## [Local-with-filesystem SWF not permitted use sockets](https://forum.kirupa.com/t/local-with-filesystem-swf-not-permitted-use-sockets/265718)

<div class="topic-metadata">

**Author:** [@RichSad](https://forum.kirupa.com/u/RichSad)\
**Replies:** 0\
**Last updated:** [July 11, 2008, 4:24pm UTC](https://forum.kirupa.com/t/local-with-filesystem-swf-not-permitted-use-sockets/265718 "2008-07-11T16:24:25Z")

</div>

I am new to Actionscript 3. I'm a systems level/back-end programmer. My main responsibility is the Java/C++ code on the server. But my server must talk to a Flash client. To test I am trying to open sockets to my server …

---

## [Move Mouse Cursor](https://forum.kirupa.com/t/move-mouse-cursor/265716)

<div class="topic-metadata">

**Author:** [@atahualpa](https://forum.kirupa.com/u/atahualpa)\
**Replies:** 4\
**Last updated:** [July 11, 2008, 4:22pm UTC](https://forum.kirupa.com/t/move-mouse-cursor/265716 "2008-07-11T16:22:45Z")

</div>

Hello is there any script I can use to move the user's mouse to a specific position on the movie? thanks

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

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