# programming

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

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

**Page:** 185

---

## [Bug? or functioning as intended?](https://forum.kirupa.com/t/bug-or-functioning-as-intended/327583)

<div class="topic-metadata">

**Author:** [@Oddeye](https://forum.kirupa.com/u/Oddeye)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 7:45pm UTC](https://forum.kirupa.com/t/bug-or-functioning-as-intended/327583 "2012-03-11T19:45:19Z")

</div>

Hi, I have a TLF Read-Only Textbox. I have given the text box an instance name and attached a MOUSE\_OVER and MOUSE\_OUT listener to it. On mouse over: Displays a value with the .text property. On mouse out: Sets the …

---

## [How to create a swf file for use on my website?](https://forum.kirupa.com/t/how-to-create-a-swf-file-for-use-on-my-website/327581)

<div class="topic-metadata">

**Author:** [@boeyong](https://forum.kirupa.com/u/boeyong)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 12:49pm UTC](https://forum.kirupa.com/t/how-to-create-a-swf-file-for-use-on-my-website/327581 "2012-03-11T12:49:11Z")

</div>

Hi I would like to know how to do up exactly like what you see on the front page at andrewsmodels.com using my photos on my website using Flash CS4. How do I get a step-by-step guide on how to do it? Can anyone help? tha…

---

## [Slider Problems](https://forum.kirupa.com/t/slider-problems/327580)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 11:02am UTC](https://forum.kirupa.com/t/slider-problems/327580 "2012-03-11T11:02:18Z")

</div>

I'm new in Flash, now I want to create a timeline slider for photos, i have the AC for that but I can make it even, what's wrong with my code? and can I add some effect between photos,like fade in fade out? also can I ma…

---

## [How do I disable Drawing Board actionscript 2.0?](https://forum.kirupa.com/t/how-do-i-disable-drawing-board-actionscript-2-0/327578)

<div class="topic-metadata">

**Author:** [@Citachi](https://forum.kirupa.com/u/Citachi)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 3:22am UTC](https://forum.kirupa.com/t/how-do-i-disable-drawing-board-actionscript-2-0/327578 "2012-03-11T03:22:23Z")

</div>

Upon hoping to the frame with the drawing board actionscript on it, i've successfully created the erase button to remove all the drawings made, but then i also have a 'HOME' button that takes me back home. BUT the drawin…

---

## [AS3 collision and level moving](https://forum.kirupa.com/t/as3-collision-and-level-moving/327577)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [March 11, 2012, 12:28am UTC](https://forum.kirupa.com/t/as3-collision-and-level-moving/327577 "2012-03-11T00:28:00Z")

</div>

I'm really new to action script coding, and my teachers aren't very good at helping me understand what is going on (I'm not the only student having problems). It would be great if someone could give me steps for not just…

---

## [Blocked MouseOver](https://forum.kirupa.com/t/blocked-mouseover/327576)

<div class="topic-metadata">

**Author:** [@radi](https://forum.kirupa.com/u/radi)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 10:07pm UTC](https://forum.kirupa.com/t/blocked-mouseover/327576 "2012-03-10T22:07:14Z")

</div>

SelectedItem.addEventListener(Event.ENTER\_FRAME, MoveSheet2); function MoveSheet2(event:Event) { SelectedItem.x = mouseX - 17; SelectedItem.y = mouseY - 17; } Object2.addEven…

---

## [How to reach to the instance name that inside of a movie clip?](https://forum.kirupa.com/t/how-to-reach-to-the-instance-name-that-inside-of-a-movie-clip/327575)

<div class="topic-metadata">

**Author:** [@Sphynxinator](https://forum.kirupa.com/u/Sphynxinator)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 6:04pm UTC](https://forum.kirupa.com/t/how-to-reach-to-the-instance-name-that-inside-of-a-movie-clip/327575 "2012-03-10T18:04:04Z")

</div>

Hello. I've started to Flash again after a long time. I'm excited. \[smiley\] Whatever, my problem is simple. I want to reach a instance name from a movie clip. For example, I made a movie clip that has 2 frames. Name of t…

---

## [nextFrame( ) Y U NO WORK](https://forum.kirupa.com/t/nextframe-y-u-no-work/327574)

<div class="topic-metadata">

**Author:** [@Shinji\_Barbra](https://forum.kirupa.com/u/Shinji_Barbra)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 5:28pm UTC](https://forum.kirupa.com/t/nextframe-y-u-no-work/327574 "2012-03-10T17:28:16Z")

</div>

Hey, I've only started using cs3 and i can't get this code to work: stage.addEventListener(KeyboardEvent.KEY\_UP, touch); function touch (e:KeyboardEvent):void { if (bullet.hitTestObject(enemy1)) { nex…

---

## [How to call a Button inside a MovieClip, with names stored in Arrays](https://forum.kirupa.com/t/how-to-call-a-button-inside-a-movieclip-with-names-stored-in-arrays/327572)

<div class="topic-metadata">

**Author:** [@megalord](https://forum.kirupa.com/u/megalord)\
**Replies:** 0\
**Last updated:** [March 10, 2012, 2:13pm UTC](https://forum.kirupa.com/t/how-to-call-a-button-inside-a-movieclip-with-names-stored-in-arrays/327572 "2012-03-10T14:13:27Z")

</div>

Hi! Since yesterday morning I´m googleing searching for an answer and I´m not able to find it, here is my problem: I have an Arrays that contains the names of MovieClips: var MyMCs:Array = \["A","B","C","D","E"\]; T…

---

## [Unable to change text in TextField after it has been added to stage](https://forum.kirupa.com/t/unable-to-change-text-in-textfield-after-it-has-been-added-to-stage/327569)

<div class="topic-metadata">

**Author:** [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 10:40pm UTC](https://forum.kirupa.com/t/unable-to-change-text-in-textfield-after-it-has-been-added-to-stage/327569 "2012-03-09T22:40:23Z")

</div>

I made a textfield, and applied a textformat to it, but whenever i try to change its text to something else outside of "addChild(myText)" it just removes the text completely. I am sure its a simple solution. help?

---

## [Questions on combining 2 OOP design patterns](https://forum.kirupa.com/t/questions-on-combining-2-oop-design-patterns/327567)

<div class="topic-metadata">

**Author:** [@theNub](https://forum.kirupa.com/u/theNub)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 9:05pm UTC](https://forum.kirupa.com/t/questions-on-combining-2-oop-design-patterns/327567 "2012-03-09T21:05:00Z")

</div>

Hi there, I have a question on how to combine 2 OOP design patterns. First off, I created a MVC pattern that loads XML into the as3 classes. Now, I want to add another OOP design pattern which is the OBSERVER pattern. …

---

## [Creating a hit area of a movie clip](https://forum.kirupa.com/t/creating-a-hit-area-of-a-movie-clip/327566)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 8:11pm UTC](https://forum.kirupa.com/t/creating-a-hit-area-of-a-movie-clip/327566 "2012-03-09T20:11:25Z")

</div>

hello, I've a movie clip of a circlular i've imported as a png then changed to a movie clip. i have a hit test to check if something is in contact with the circular object. The hit test works but it works on the square b…

---

## [How do you resize your stage and scale the content](https://forum.kirupa.com/t/how-do-you-resize-your-stage-and-scale-the-content/327564)

<div class="topic-metadata">

**Author:** [@whenurstrange](https://forum.kirupa.com/u/whenurstrange)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 6:42pm UTC](https://forum.kirupa.com/t/how-do-you-resize-your-stage-and-scale-the-content/327564 "2012-03-09T18:42:12Z")

</div>

I have to adjust to a new size and my objects have to adjust accordingly. Is there a way to select multiple objects on separate frames and resize as a group?

---

## [HTML 5(Canvas) +PHP/ASP.NET+SQL integration](https://forum.kirupa.com/t/html-5-canvas-php-asp-net-sql-integration/327562)

<div class="topic-metadata">

**Author:** [@last](https://forum.kirupa.com/u/last)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 4:44pm UTC](https://forum.kirupa.com/t/html-5-canvas-php-asp-net-sql-integration/327562 "2012-03-09T16:44:12Z")

</div>

I have experience working integrating Flash frontend end with SQL backend using PHP or ASP.NET(C#). My question is now related to HMTL5 with the said technologies. To be more specific is a site like www.hochspunnung.dk o…

---

## [Despartely Need help with small bug](https://forum.kirupa.com/t/despartely-need-help-with-small-bug/327560)

<div class="topic-metadata">

**Author:** [@avaughn](https://forum.kirupa.com/u/avaughn)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 2:17pm UTC](https://forum.kirupa.com/t/despartely-need-help-with-small-bug/327560 "2012-03-09T14:17:18Z")

</div>

If you compile and run this you will see 2 Tabs, HEAD 1 and HEAD 2. The problem I am having is when you first compile and run HEAD 1 should have a beige tab, however the MC for that advances to frame 5 and I get the Blue…

---

## [Unwanted border/spacing... or something](https://forum.kirupa.com/t/unwanted-border-spacing-or-something/327559)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 12:01pm UTC](https://forum.kirupa.com/t/unwanted-border-spacing-or-something/327559 "2012-03-09T12:01:19Z")

</div>

Hey. I'm currently trying to clean up a site and make it validate HTML5. In the process I've hit a small snag that I just can't get my head around. Please remove both Xs. http://www.meXdiadisplXays.tv/2012/ You'll se…

---

## [Need some help in buttons](https://forum.kirupa.com/t/need-some-help-in-buttons/327558)

<div class="topic-metadata">

**Author:** [@Hungry44](https://forum.kirupa.com/u/Hungry44)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 11:46am UTC](https://forum.kirupa.com/t/need-some-help-in-buttons/327558 "2012-03-09T11:46:43Z")

</div>

Hey there this is my first post XD =) , i need some help .. i want to create two as2 the first one is when i hold the button "Down" and the second one is when i only press the button "Down" once ? this part of the as…

---

## [Hello World - Flash CS5, PHP, MySQL](https://forum.kirupa.com/t/hello-world-flash-cs5-php-mysql/327554)

<div class="topic-metadata">

**Author:** [@joesafe](https://forum.kirupa.com/u/joesafe)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 4:24am UTC](https://forum.kirupa.com/t/hello-world-flash-cs5-php-mysql/327554 "2012-03-09T04:24:27Z")

</div>

Hello, Please forgive me, I am an extreme noob. I've been trying to follow a Hello World tutorial to try and get my head around how to use Flash with php and Mysql. I just can't seem to get it to work. Any help would…

---

## [Display Object + Depth](https://forum.kirupa.com/t/display-object-depth/327553)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 4:11am UTC](https://forum.kirupa.com/t/display-object-depth/327553 "2012-03-09T04:11:13Z")

</div>

I have a display object set up like such: Main Stage: Container Object 1: Display Object 1 Display Object 2 Display Object 3 Display Object 4 Container Object 2 At the moment, my Contain…

---

## [Uploading SWF with XML in website](https://forum.kirupa.com/t/uploading-swf-with-xml-in-website/327552)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [March 9, 2012, 2:06am UTC](https://forum.kirupa.com/t/uploading-swf-with-xml-in-website/327552 "2012-03-09T02:06:12Z")

</div>

Hello Guys, whats the best thing to do when I put my swf file online including xml..because when I publish my swf file online, it can't find the path of my xml.. like pictures, etc.. do I need to upload all my images o…

---

## [Best way to store game assets?](https://forum.kirupa.com/t/best-way-to-store-game-assets/327551)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [March 8, 2012, 10:50pm UTC](https://forum.kirupa.com/t/best-way-to-store-game-assets/327551 "2012-03-08T22:50:55Z")

</div>

Hi, Is there a way for Flash to store content that will not be deleted with the browser's cache? Imagine a game that runs in the browser but is still heavy enough that you don't want your users to go through downloadin…

---

## [Need help with PHP contact form](https://forum.kirupa.com/t/need-help-with-php-contact-form/327550)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [March 8, 2012, 10:25pm UTC](https://forum.kirupa.com/t/need-help-with-php-contact-form/327550 "2012-03-08T22:25:08Z")

</div>

Hi guys, I've made a PHP contact form for my site and need help with a couple of things: The form action links an external PHP script (scripts/contact-form-script.php) but is there a way I can have it so the PHP scri…

---

## [Flash AS3 - How to find Display Object instance location on runtime](https://forum.kirupa.com/t/flash-as3-how-to-find-display-object-instance-location-on-runtime/327548)

<div class="topic-metadata">

**Author:** [@Kevo\_Vega](https://forum.kirupa.com/u/Kevo_Vega)\
**Replies:** 0\
**Last updated:** [March 8, 2012, 8:59pm UTC](https://forum.kirupa.com/t/flash-as3-how-to-find-display-object-instance-location-on-runtime/327548 "2012-03-08T20:59:55Z")

</div>

\[EN\] An easy way to find where's located an instance of a Display Object (MovieClip, Sprite, etc) Sometimes you don't know what is inside what, mostly when you are dealing with another people's code and you need to make …

---

## [AS3 RegExp find and replace paths by file type (file extension) on XML](https://forum.kirupa.com/t/as3-regexp-find-and-replace-paths-by-file-type-file-extension-on-xml/327546)

<div class="topic-metadata">

**Author:** [@Kevo\_Vega](https://forum.kirupa.com/u/Kevo_Vega)\
**Replies:** 0\
**Last updated:** [March 8, 2012, 6:22pm UTC](https://forum.kirupa.com/t/as3-regexp-find-and-replace-paths-by-file-type-file-extension-on-xml/327546 "2012-03-08T18:22:36Z")

</div>

\[EN\] I've run into an issue where I need to replace certain file paths from a XML file, the big problem is I don't have control over the XML structure, so I need to replace the paths dynamically from AS3. Thus, I want to…

---

## [Load and unload an external .swf file at specific frames using LoaderMax](https://forum.kirupa.com/t/load-and-unload-an-external-swf-file-at-specific-frames-using-loadermax/327545)

<div class="topic-metadata">

**Author:** [@Erik\_J](https://forum.kirupa.com/u/Erik_J)\
**Replies:** 0\
**Last updated:** [March 8, 2012, 1:30pm UTC](https://forum.kirupa.com/t/load-and-unload-an-external-swf-file-at-specific-frames-using-loadermax/327545 "2012-03-08T13:30:16Z")

</div>

Hi, I'm actually creating a pretty simple banner that needs to stay under 40k size. I'm trying to load and unload an external .swf to my main swf file. So far, I only managed to load my external .swf, without finding a…

---

## [Cant retrieve data for some reason](https://forum.kirupa.com/t/cant-retrieve-data-for-some-reason/327538)

<div class="topic-metadata">

**Author:** [@swizz182g](https://forum.kirupa.com/u/swizz182g)\
**Replies:** 0\
**Last updated:** [March 7, 2012, 11:18pm UTC](https://forum.kirupa.com/t/cant-retrieve-data-for-some-reason/327538 "2012-03-07T23:18:46Z")

</div>

I have an outside GameData Class I call the constructor from a fla file but i cant get a hold of the GamaDataArray via the getGameData() Function it keeps saying that the GameDataArray is Empty, but if i trace within…

---

## [How to centre Horizontal menu](https://forum.kirupa.com/t/how-to-centre-horizontal-menu/327537)

<div class="topic-metadata">

**Author:** [@catcat31](https://forum.kirupa.com/u/catcat31)\
**Replies:** 0\
**Last updated:** [March 7, 2012, 9:41pm UTC](https://forum.kirupa.com/t/how-to-centre-horizontal-menu/327537 "2012-03-07T21:41:51Z")

</div>

I'm using the following to create my horizontal menu. How do I centre it in the middle rather than over to the left of the page. Also the way this css is set up it interfers with my other link code. How can I just asso…

---

## [Exporting to Video](https://forum.kirupa.com/t/exporting-to-video/327536)

<div class="topic-metadata">

**Author:** [@whenurstrange](https://forum.kirupa.com/u/whenurstrange)\
**Replies:** 0\
**Last updated:** [March 7, 2012, 9:33pm UTC](https://forum.kirupa.com/t/exporting-to-video/327536 "2012-03-07T21:33:35Z")

</div>

I'm trying to export a Flash SWF to MOV that we are using for a 1920 x 1080 HD screen. When I export, most of the movie is smooth yet some of my tweens leave bits and pieces behind even though I've set the Quicktime sett…

---

## [A little help with CSS](https://forum.kirupa.com/t/a-little-help-with-css/327534)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [March 7, 2012, 6:51pm UTC](https://forum.kirupa.com/t/a-little-help-with-css/327534 "2012-03-07T18:51:26Z")

</div>

I have two questions. I created my very own form which will be used for a database connection. My issue is that since the input tags is relative for every single input boxes, including a checkbox that I decided to use. …

---

## [Actionscript 3.0 (I'm loving it, so far)](https://forum.kirupa.com/t/actionscript-3-0-im-loving-it-so-far/327533)

<div class="topic-metadata">

**Author:** [@plextor30](https://forum.kirupa.com/u/plextor30)\
**Replies:** 0\
**Last updated:** [March 7, 2012, 5:09pm UTC](https://forum.kirupa.com/t/actionscript-3-0-im-loving-it-so-far/327533 "2012-03-07T17:09:21Z")

</div>

I have a question for anyone who can help me on this one? I have been using Actionscript 3.0 in Adobe Flash Builder for a few weeks, and I really like it! Bare with me because I'm not really good at it, yet. Anyway,…

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

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