# programming

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

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

**Page:** 409

---

## [Adding Stroke or Fill to vector graphic objects that are pulled from the library](https://forum.kirupa.com/t/adding-stroke-or-fill-to-vector-graphic-objects-that-are-pulled-from-the-library/314423)

<div class="topic-metadata">

**Author:** [@darthjones](https://forum.kirupa.com/u/darthjones)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 10:47am UTC](https://forum.kirupa.com/t/adding-stroke-or-fill-to-vector-graphic-objects-that-are-pulled-from-the-library/314423 "2010-09-28T10:47:24Z")

</div>

var myArrow:ArrowMovieClip = new ArrowMovieClip(); var vectorDisplayObject:DisplayObject = stage.addChild( myArrow ); I used the code above to create an instance of an arrow graphic that I made using the line tool (the…

---

## [How to get to run the stage in a subclass](https://forum.kirupa.com/t/how-to-get-to-run-the-stage-in-a-subclass/314421)

<div class="topic-metadata">

**Author:** [@chindevil](https://forum.kirupa.com/u/chindevil)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 9:46am UTC](https://forum.kirupa.com/t/how-to-get-to-run-the-stage-in-a-subclass/314421 "2010-09-28T09:46:24Z")

</div>

I try to run the function stage in class it is not working. package \[COLOR=Red\]devilClass.Player\[/COLOR\]{ import flash.display.\*; import flash.events.\*; public class test extends MovieClip { public…

---

## [Creating Skinable Buttons](https://forum.kirupa.com/t/creating-skinable-buttons/314420)

<div class="topic-metadata">

**Author:** [@Alpha\_eX](https://forum.kirupa.com/u/Alpha_eX)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 9:32am UTC](https://forum.kirupa.com/t/creating-skinable-buttons/314420 "2010-09-28T09:32:21Z")

</div>

Hi there, I'm sorry if this has been posted before but i'm wondering if someone can help me in creating skinable buttons. At the moment i've made a grey rectangle with a dynamic text box in it, label\_txt. I want to b…

---

## [Help to find source code of fighting games](https://forum.kirupa.com/t/help-to-find-source-code-of-fighting-games/314417)

<div class="topic-metadata">

**Author:** [@foryou\_sandeep](https://forum.kirupa.com/u/foryou_sandeep)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 8:52am UTC](https://forum.kirupa.com/t/help-to-find-source-code-of-fighting-games/314417 "2010-09-28T08:52:12Z")

</div>

Please anyone help me to find the source code of some fighting games like Street fighter, the king of fighters, etc.. I want to refer those codes to make my own one. Please give me the URLs of those codes.

---

## [Nadogradnja kose keratinom](https://forum.kirupa.com/t/nadogradnja-kose-keratinom/314413)

<div class="topic-metadata">

**Author:** [@genelia](https://forum.kirupa.com/u/genelia)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 7:58am UTC](https://forum.kirupa.com/t/nadogradnja-kose-keratinom/314413 "2010-09-28T07:58:08Z")

</div>

Keratin ne uništava kosu! It mows it (them) at 90% zdravoj zastupljenost keratinom but 10 it (them) \< eat \> vlažnost. It (them) \< eat \> it (them) \< eat \> too Keratin taj koj odgovoran vašu zdravu kosu. Too jacinu, sjaj, …

---

## [To reference a library component from ActionScript file](https://forum.kirupa.com/t/to-reference-a-library-component-from-actionscript-file/314411)

<div class="topic-metadata">

**Author:** [@the\_bigrich](https://forum.kirupa.com/u/the_bigrich)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 7:20am UTC](https://forum.kirupa.com/t/to-reference-a-library-component-from-actionscript-file/314411 "2010-09-28T07:20:51Z")

</div>

Any help to solve this would be MOST APPRECIATED!. I have a component in my library that I want to programmatically place on the stage and manipulate from my external actionscript file. I have a blank FLA and all the mo…

---

## [Annoying input text problem :(](https://forum.kirupa.com/t/annoying-input-text-problem/314409)

<div class="topic-metadata">

**Author:** [@RageW0lf](https://forum.kirupa.com/u/RageW0lf)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 5:37am UTC](https://forum.kirupa.com/t/annoying-input-text-problem/314409 "2010-09-28T05:37:22Z")

</div>

FlashMX 2004 I am having a problem with input text (numbers). The values to be enterred can be between 1 and 20. I am currently using a small 2 frame loop to ensure this is done correctly: in frame 1 it has the fo…

---

## [Using a text field instead of XML to grab data?](https://forum.kirupa.com/t/using-a-text-field-instead-of-xml-to-grab-data/314407)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 4:42am UTC](https://forum.kirupa.com/t/using-a-text-field-instead-of-xml-to-grab-data/314407 "2010-09-28T04:42:19Z")

</div>

I'm trying to figure out how to eliminate the need for an external XML file with my SWF Right now I have a SWF and an XML containing a few thousand lines, that are being grabbed using this AS on (release) { if (\_gl…

---

## [Unload .swf button and rollover sound button problems](https://forum.kirupa.com/t/unload-swf-button-and-rollover-sound-button-problems/314406)

<div class="topic-metadata">

**Author:** [@Hackezkk](https://forum.kirupa.com/u/Hackezkk)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 4:10am UTC](https://forum.kirupa.com/t/unload-swf-button-and-rollover-sound-button-problems/314406 "2010-09-28T04:10:00Z")

</div>

Hi there..i got two problems actually.. one..how to use unload movie code in as 3? it is like this \[image\] When user click button on main.swf, pop up.swf will be load. then user click X button, i want to pop up.swf u…

---

## [Controlling a movieclip within a movieclip?](https://forum.kirupa.com/t/controlling-a-movieclip-within-a-movieclip/314405)

<div class="topic-metadata">

**Author:** [@Daikath](https://forum.kirupa.com/u/Daikath)\
**Replies:** 0\
**Last updated:** [September 28, 2010, 2:04am UTC](https://forum.kirupa.com/t/controlling-a-movieclip-within-a-movieclip/314405 "2010-09-28T02:04:09Z")

</div>

Ok, I have set this up and it work perfectly. I have different versions of my game character. All have the same animations, etc. So, in a movieclip called GameCharacters, there are a number of frames for the differe…

---

## [Simple problem totally defeat noob](https://forum.kirupa.com/t/simple-problem-totally-defeat-noob/314404)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 10:54pm UTC](https://forum.kirupa.com/t/simple-problem-totally-defeat-noob/314404 "2010-09-27T22:54:59Z")

</div>

This should be quite simple but I am at a loss. I have several functions in a Flash interactive that fire in response to buttons being clicked or rolled over: function firstFunction(evt:MouseEvent):void{ someThing.ha…

---

## [Calling a function on the main timeline?](https://forum.kirupa.com/t/calling-a-function-on-the-main-timeline/314403)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 9:35pm UTC](https://forum.kirupa.com/t/calling-a-function-on-the-main-timeline/314403 "2010-09-27T21:35:04Z")

</div>

So this was quite simple in AS2, but considering that \_root is no longer around, how can I call a function that is on the main time line from a nested movie clip? This is what I have inside my movie clip: this.hit\_…

---

## [Making different link in an image dinamically](https://forum.kirupa.com/t/making-different-link-in-an-image-dinamically/314402)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 8:26pm UTC](https://forum.kirupa.com/t/making-different-link-in-an-image-dinamically/314402 "2010-09-27T20:26:26Z")

</div>

Hello I´m building a CMS for a website that shows appartments. In this website we will be showing blueprint of the appartament. The client wants to add different links to the different rooms in the image, using the CMS…

---

## [URL Detection](https://forum.kirupa.com/t/url-detection/314401)

<div class="topic-metadata">

**Author:** [@tophjones](https://forum.kirupa.com/u/tophjones)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 8:26pm UTC](https://forum.kirupa.com/t/url-detection/314401 "2010-09-27T20:26:00Z")

</div>

I want a flash NAV that I'm working on to goto a certain place in the timeline if it's opened in a certain page. Can this be done? Is there any way to have flash ask the browser for the current URL? Flash 8 or up is p…

---

## [Action Script Layering?](https://forum.kirupa.com/t/action-script-layering/314400)

<div class="topic-metadata">

**Author:** [@TK428](https://forum.kirupa.com/u/TK428)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 7:51pm UTC](https://forum.kirupa.com/t/action-script-layering/314400 "2010-09-27T19:51:55Z")

</div>

Hello, Is there a way to layer action script? I design horror related websites and I have a client that wants leaves to blow across his front page. I used the snow effect here - http://www.kirupa.com/developer/flash8/s…

---

## [Stage Captureing and Sumbiting it](https://forum.kirupa.com/t/stage-captureing-and-sumbiting-it/314399)

<div class="topic-metadata">

**Author:** [@dfchafin1](https://forum.kirupa.com/u/dfchafin1)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 6:46pm UTC](https://forum.kirupa.com/t/stage-captureing-and-sumbiting-it/314399 "2010-09-27T18:46:58Z")

</div>

So i would like to know if its possible to have stage capture(like a screen grab) i have a user generated game that allows them to design an image, but i also want to be able to allow them the submit their drawing after …

---

## [Let user draw/trace outline of shape](https://forum.kirupa.com/t/let-user-draw-trace-outline-of-shape/314398)

<div class="topic-metadata">

**Author:** [@kissa](https://forum.kirupa.com/u/kissa)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 6:38pm UTC](https://forum.kirupa.com/t/let-user-draw-trace-outline-of-shape/314398 "2010-09-27T18:38:36Z")

</div>

For a project I'm on the user have to be able to draw/trace outlines of different shapes. So for example an "S" shape is on the screen, and the user needs to try to draw OVER that shape. So it's not just mouse recognitio…

---

## [Flex 360](https://forum.kirupa.com/t/flex-360/314397)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 6:05pm UTC](https://forum.kirupa.com/t/flex-360/314397 "2010-09-27T18:05:20Z")

</div>

I went to flex 360 last week. They had one live debate on AS3 vs Flex. A few of the presentations were pure AS3, but most of it was flex. I think the videos will be available in a few weeks for purchase online. Was a…

---

## [Can you explain MVC in the most simple terms possible?](https://forum.kirupa.com/t/can-you-explain-mvc-in-the-most-simple-terms-possible/314393)

<div class="topic-metadata">

**Author:** [@pajhonka](https://forum.kirupa.com/u/pajhonka)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 3:44pm UTC](https://forum.kirupa.com/t/can-you-explain-mvc-in-the-most-simple-terms-possible/314393 "2010-09-27T15:44:12Z")

</div>

Hello. I've been hearing that for bigger Flash sites, interactive agencies use the PureMVC and Cairngorm AS3 frameworks. I want to know why they do this and how this workflow typically goes for the development. My curi…

---

## [MovieClip Following mouse](https://forum.kirupa.com/t/movieclip-following-mouse/314390)

<div class="topic-metadata">

**Author:** [@MickyMike](https://forum.kirupa.com/u/MickyMike)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 1:57pm UTC](https://forum.kirupa.com/t/movieclip-following-mouse/314390 "2010-09-27T13:57:08Z")

</div>

Hi there, I need to get a similar effect to this http://www.templatemonster.com/flash-templates/30427.html When I move the mouse, some MovieClip moves to the oposite side, with an easing fx. Somebody have a tutori…

---

## [Turning on passive mode when using ftp\_put](https://forum.kirupa.com/t/turning-on-passive-mode-when-using-ftp-put/314389)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 1:50pm UTC](https://forum.kirupa.com/t/turning-on-passive-mode-when-using-ftp-put/314389 "2010-09-27T13:50:20Z")

</div>

Hi there, I am using ftp\_put to upload a zip from one server to the other. It was working fine until this wkend. I sorted the problem by using ftp\_pasv (turning on passive mode). I really dont understand why suddenly i…

---

## [Z-indexed div sitting below 0 in FF only](https://forum.kirupa.com/t/z-indexed-div-sitting-below-0-in-ff-only/314388)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 1:22pm UTC](https://forum.kirupa.com/t/z-indexed-div-sitting-below-0-in-ff-only/314388 "2010-09-27T13:22:21Z")

</div>

I have a div with a PNG graphic with a z-index: 20 sitting below a div with z-index: 0 in FF only. The 0 div holds a background image $(function(){ $('.meerkat').meerkat({ …

---

## [CSS issue - Help appreciated](https://forum.kirupa.com/t/css-issue-help-appreciated/314387)

<div class="topic-metadata">

**Author:** [@Lounge](https://forum.kirupa.com/u/Lounge)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 12:34pm UTC](https://forum.kirupa.com/t/css-issue-help-appreciated/314387 "2010-09-27T12:34:37Z")

</div>

Can someone tell me why on this page http://www.ultrafishy.com/thomas/index-1.html it wont show the danish characters in the text when using internet explorer?? It works just fine in firefox Hope someone can help me …

---

## [Doc/source composant source advice](https://forum.kirupa.com/t/doc-source-composant-source-advice/314382)

<div class="topic-metadata">

**Author:** [@mihaispr](https://forum.kirupa.com/u/mihaispr)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 8:46am UTC](https://forum.kirupa.com/t/doc-source-composant-source-advice/314382 "2010-09-27T08:46:56Z")

</div>

Hi everyone! Do you have an idea where I can find a model of a component/docs/library simply to modify\*\* that has the same behaviour like the images that slides\*\* ? Model: http://www.visitscope.fr/ I have other i…

---

## [MP3 player styled like Virb?](https://forum.kirupa.com/t/mp3-player-styled-like-virb/314378)

<div class="topic-metadata">

**Author:** [@sempervirent](https://forum.kirupa.com/u/sempervirent)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 4:21am UTC](https://forum.kirupa.com/t/mp3-player-styled-like-virb/314378 "2010-09-27T04:21:54Z")

</div>

I saw a really nice MP3 player on Virb.com and wanted to see if anyone knew of a tutorial that demonstrates all the steps of making something like this: \[image\] I've found plenty of tutorials that talk about the vari…

---

## [Problem with using bounds in startDrag if rotationX property is changed](https://forum.kirupa.com/t/problem-with-using-bounds-in-startdrag-if-rotationx-property-is-changed/314376)

<div class="topic-metadata">

**Author:** [@stardog](https://forum.kirupa.com/u/stardog)\
**Replies:** 0\
**Last updated:** [September 27, 2010, 12:25am UTC](https://forum.kirupa.com/t/problem-with-using-bounds-in-startdrag-if-rotationx-property-is-changed/314376 "2010-09-27T00:25:00Z")

</div>

Hi all. I've created a flash card class in ActionScript that uses a tween to flip the card over the y-axis (i.e., by using rotationX). I also use the bounds property of startDrag so that, when you drag it, its movemen…

---

## [My new game - Bubble Domination](https://forum.kirupa.com/t/my-new-game-bubble-domination/314374)

<div class="topic-metadata">

**Author:** [@aimia](https://forum.kirupa.com/u/aimia)\
**Replies:** 0\
**Last updated:** [September 26, 2010, 7:58pm UTC](https://forum.kirupa.com/t/my-new-game-bubble-domination/314374 "2010-09-26T19:58:57Z")

</div>

Hello, I finished my next flash game – Bubble domination. It is a simply strategy game. The goal is to conquer all Bubbles in water world. Lets go and became the greatest bubbler in the world! I'm glad for …

---

## [Atari sounds in command line](https://forum.kirupa.com/t/atari-sounds-in-command-line/314373)

<div class="topic-metadata">

**Author:** [@Ph03nix](https://forum.kirupa.com/u/Ph03nix)\
**Replies:** 0\
**Last updated:** [September 26, 2010, 7:11pm UTC](https://forum.kirupa.com/t/atari-sounds-in-command-line/314373 "2010-09-26T19:11:27Z")

</div>

I'm very bad at sound programming. Basically what I have an application in a command line program that makes sound effects, but right now I just use the "Beep" function to make low or high pitched sounds. I want to make …

---

## [Absolute position of nested MC](https://forum.kirupa.com/t/absolute-position-of-nested-mc/314372)

<div class="topic-metadata">

**Author:** [@ms\_buggy](https://forum.kirupa.com/u/ms_buggy)\
**Replies:** 0\
**Last updated:** [September 26, 2010, 5:33pm UTC](https://forum.kirupa.com/t/absolute-position-of-nested-mc/314372 "2010-09-26T17:33:36Z")

</div>

I need (convert) absolute position of nested mc (root.mc.mc.x) on the stage. I noticed that the function localToGlobal could do this, but I could not figure out how. Maybe I could do workaround with counting positions of…

---

## [Memory Monitors?](https://forum.kirupa.com/t/memory-monitors/314371)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [September 26, 2010, 3:54pm UTC](https://forum.kirupa.com/t/memory-monitors/314371 "2010-09-26T15:54:59Z")

</div>

Hey, I have an FPS monitor running and notice that I am getting choppiness here and there, bringing my game from 40 to 27 fps and back and forth at certain stages. I have an idea of where it is happening, but do not kn…

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

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