# programming

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

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

**Page:** 864

---

## [Text Field not defined?](https://forum.kirupa.com/t/text-field-not-defined/285403)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 12:18pm UTC](https://forum.kirupa.com/t/text-field-not-defined/285403 "2009-03-31T12:18:46Z")

</div>

\` \[LEFT\]\<?xml version="1.0" encoding="utf-8"?\>\[/LEFT\] \[COLOR=#0000ff\] \[COLOR=#0000ff\]\[LEFT\]\[/COLOR\] xmlns:mx=" \[COLOR=#990000\] \[COLOR=#990000\]http://www.adobe.com/2006/mxml\[/COLOR\] \[/COLOR\] " layout=" \[…

---

## [Error #2044: Unhandled ioError:. text=Error #2032](https://forum.kirupa.com/t/error-2044-unhandled-ioerror-text-error-2032/285400)

<div class="topic-metadata">

**Author:** [@flasher10](https://forum.kirupa.com/u/flasher10)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:21am UTC](https://forum.kirupa.com/t/error-2044-unhandled-ioerror-text-error-2032/285400 "2009-03-31T11:21:23Z")

</div>

Hi to all, I know that this is a common problem but I´m still struggling to get one of my .swf files to work. It´s named Gallery3D.swf This .swf needs gallery.xml file to work and it is on the right path. I have both f…

---

## [Bitmapfilling custom shape](https://forum.kirupa.com/t/bitmapfilling-custom-shape/285398)

<div class="topic-metadata">

**Author:** [@ranjeet\_naidu](https://forum.kirupa.com/u/ranjeet_naidu)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 10:45am UTC](https://forum.kirupa.com/t/bitmapfilling-custom-shape/285398 "2009-03-31T10:45:15Z")

</div>

Hi guys am in a bit of a mess here.:hr: Here is what am trying to do. createDuplicate function helps me to create a duplicate movieclip. Now I want to bitmap fill this duplicate mc. Is this possible? Am so confused ple…

---

## [Create a "Download Link"](https://forum.kirupa.com/t/create-a-download-link/285397)

<div class="topic-metadata">

**Author:** [@Noahdecoco](https://forum.kirupa.com/u/Noahdecoco)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 10:31am UTC](https://forum.kirupa.com/t/create-a-download-link/285397 "2009-03-31T10:31:00Z")

</div>

Hi all, I've searched the internet for many a day now, and still can't seem to find a simple one line of code. Anyone who knows how to, please share your knowledge here! What is the code to be put on a button, to mak…

---

## [MP3 Player in Flash CS4](https://forum.kirupa.com/t/mp3-player-in-flash-cs4/285396)

<div class="topic-metadata">

**Author:** [@bigmic](https://forum.kirupa.com/u/bigmic)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 9:56am UTC](https://forum.kirupa.com/t/mp3-player-in-flash-cs4/285396 "2009-03-31T09:56:40Z")

</div>

HELP!!!!!! This is a bit mad I am working a web site which consist of 5 pages. On Page 5 I have a brand new mp3 player compatible with Action Script 3. Files are loaded with XML. And pressing the music button take…

---

## [About changing file extensions](https://forum.kirupa.com/t/about-changing-file-extensions/285395)

<div class="topic-metadata">

**Author:** [@Hunson](https://forum.kirupa.com/u/Hunson)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 9:55am UTC](https://forum.kirupa.com/t/about-changing-file-extensions/285395 "2009-03-31T09:55:33Z")

</div>

I recently (well not recently but a couple of months back) bought the Foundation AS3 book. They mentioned that some download manager causes flash to fail loading mp3 files, and a way to bypass this is to change the suffi…

---

## [Adding MovieClip or using Draw](https://forum.kirupa.com/t/adding-movieclip-or-using-draw/285390)

<div class="topic-metadata">

**Author:** [@jnsjohansson](https://forum.kirupa.com/u/jnsjohansson)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 9:13am UTC](https://forum.kirupa.com/t/adding-movieclip-or-using-draw/285390 "2009-03-31T09:13:52Z")

</div>

Hey, I'm still developing a game and I have some issues. Either I add a movieclip-child making it look like i am mowing the lawn or i draw graphics with blendmode.Erase erasing the top-layer. Now i would like the add…

---

## [Adding points on click](https://forum.kirupa.com/t/adding-points-on-click/285386)

<div class="topic-metadata">

**Author:** [@RebeccaLessay](https://forum.kirupa.com/u/RebeccaLessay)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 8:13am UTC](https://forum.kirupa.com/t/adding-points-on-click/285386 "2009-03-31T08:13:36Z")

</div>

Another beginner on AS3, Recently started with a school project where I volunteered to do the scripting of (supposed to be) a simple game. The game: Animals make noises, by clicking on the right animal (associated wi…

---

## [Please help, unloading external swf then gotoAndPlay (frame)](https://forum.kirupa.com/t/please-help-unloading-external-swf-then-gotoandplay-frame/285381)

<div class="topic-metadata">

**Author:** [@amlv426](https://forum.kirupa.com/u/amlv426)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 5:55am UTC](https://forum.kirupa.com/t/please-help-unloading-external-swf-then-gotoandplay-frame/285381 "2009-03-31T05:55:01Z")

</div>

I hope someone can help me with this. I'm an as3 newbie and I'm recreating my site. My site contains 5 frames, each being a separate "page". I have an external swf that loads on button click in frame 2 on the site sw…

---

## [Stage Class (help)](https://forum.kirupa.com/t/stage-class-help/285376)

<div class="topic-metadata">

**Author:** [@chevron8653](https://forum.kirupa.com/u/chevron8653)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 3:58am UTC](https://forum.kirupa.com/t/stage-class-help/285376 "2009-03-31T03:58:13Z")

</div>

Hi there. Well I was told recently about how I could make my flash projects to fit nicely on any resolution by using Stage Class and dynamic resizing. I was wondering if someone could give me some example coding on how I…

---

## [Building a mask at runtime](https://forum.kirupa.com/t/building-a-mask-at-runtime/285375)

<div class="topic-metadata">

**Author:** [@Foniks](https://forum.kirupa.com/u/Foniks)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 3:50am UTC](https://forum.kirupa.com/t/building-a-mask-at-runtime/285375 "2009-03-31T03:50:47Z")

</div>

Hi all, Just wondering if anyone knows of a method to build a mask at runtime. The mask may not be entirely dynamic (i.e. there may be an existing movieclip that the new components will be merged with). Cheers! F

---

## [KeyPress Not Registering](https://forum.kirupa.com/t/keypress-not-registering/285374)

<div class="topic-metadata">

**Author:** [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 2:45am UTC](https://forum.kirupa.com/t/keypress-not-registering/285374 "2009-03-31T02:45:10Z")

</div>

Hey, So i know that the flash object needs to have focus in order for the key event to fire, but i am having an issue where i click a button in the flash window and the events stop firing. The button activates a box2d…

---

## [AS3 delete function](https://forum.kirupa.com/t/as3-delete-function/285369)

<div class="topic-metadata">

**Author:** [@surf](https://forum.kirupa.com/u/surf)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 1:30am UTC](https://forum.kirupa.com/t/as3-delete-function/285369 "2009-03-31T01:30:23Z")

</div>

Hi, I am basically creating an application that prioritises jobs listing.. so far i can assign a task priority, description .. so basically once the task description and task priority is chosen, the user will click th…

---

## [What side of a line segment is a point on?](https://forum.kirupa.com/t/what-side-of-a-line-segment-is-a-point-on/285367)

<div class="topic-metadata">

**Author:** [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 1:03am UTC](https://forum.kirupa.com/t/what-side-of-a-line-segment-is-a-point-on/285367 "2009-03-31T01:03:42Z")

</div>

Sorry, kind of spacing now, this is probably relatively simple, but, how exactly would i get the side of a line segment a point is on? Currently i have a point falling towards a line seg, and i want it to fall towards it…

---

## [My swf size doesn't match up with ppt slide size](https://forum.kirupa.com/t/my-swf-size-doesnt-match-up-with-ppt-slide-size/285364)

<div class="topic-metadata">

**Author:** [@olivestreetprod](https://forum.kirupa.com/u/olivestreetprod)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 12:04am UTC](https://forum.kirupa.com/t/my-swf-size-doesnt-match-up-with-ppt-slide-size/285364 "2009-03-31T00:04:47Z")

</div>

Greetings, A friend is wanting to run a brief Flash animation in his ppt. I've made the animation to match his ppt document size which is 10" wide by 7.5" height. In the document settings I've set the Flash stage…

---

## [Video scrubber problem](https://forum.kirupa.com/t/video-scrubber-problem/285362)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 10:54pm UTC](https://forum.kirupa.com/t/video-scrubber-problem/285362 "2009-03-30T22:54:48Z")

</div>

\[this is a repost, but I'm adding additional information.\] I've created a custom video player with a scrubber that follows the video progress and that you can drag (scrub) to go to a different position on the video. T…

---

## [Mouse Follow Snap To Position if](https://forum.kirupa.com/t/mouse-follow-snap-to-position-if/285359)

<div class="topic-metadata">

**Author:** [@student07](https://forum.kirupa.com/u/student07)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 10:23pm UTC](https://forum.kirupa.com/t/mouse-follow-snap-to-position-if/285359 "2009-03-30T22:23:59Z")

</div>

Hello, How would you force a mouse follow movieclip to snap to a x y position if it reaches x y boudaries or perhaps if a button is released the movie clip snaps to a x y position? Of course if the mouse returns to x …

---

## [Add object - HELP PLEASE](https://forum.kirupa.com/t/add-object-help-please/285356)

<div class="topic-metadata">

**Author:** [@adiosamigos](https://forum.kirupa.com/u/adiosamigos)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 9:57pm UTC](https://forum.kirupa.com/t/add-object-help-please/285356 "2009-03-30T21:57:33Z")

</div>

Hi I've spent ages looking for some script to help me with this. I want to create a button that will add an object (movieclip) to the stage. Can anyone help or point me in the right direction. Any help is really appr…

---

## [How do I get "outro" of embedded swf to play before loading new swf](https://forum.kirupa.com/t/how-do-i-get-outro-of-embedded-swf-to-play-before-loading-new-swf/285355)

<div class="topic-metadata">

**Author:** [@kanji2000](https://forum.kirupa.com/u/kanji2000)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 9:54pm UTC](https://forum.kirupa.com/t/how-do-i-get-outro-of-embedded-swf-to-play-before-loading-new-swf/285355 "2009-03-30T21:54:41Z")

</div>

There are a few tutorials out there on how to build a complete website in AS3. However, these only deal with mostly loading either a static image, or loading an swf file without manipulating it’s timeline. I’ve found a…

---

## [Parsing numbers from a string](https://forum.kirupa.com/t/parsing-numbers-from-a-string/285354)

<div class="topic-metadata">

**Author:** [@Kristopher](https://forum.kirupa.com/u/Kristopher)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 9:46pm UTC](https://forum.kirupa.com/t/parsing-numbers-from-a-string/285354 "2009-03-30T21:46:51Z")

</div>

Hello all, I'm trying to find a way to parse out some numbers from a potential string. Basically, I'm making a financial-based calculator, and the user could input something like $45,509.30 and I'm trying to figure…

---

## [Flash CS3: How do I specify the size of a MovieClip's contents?](https://forum.kirupa.com/t/flash-cs3-how-do-i-specify-the-size-of-a-movieclips-contents/285352)

<div class="topic-metadata">

**Author:** [@crabshell](https://forum.kirupa.com/u/crabshell)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 9:30pm UTC](https://forum.kirupa.com/t/flash-cs3-how-do-i-specify-the-size-of-a-movieclips-contents/285352 "2009-03-30T21:30:25Z")

</div>

Hello, I'm very inexperienced at ActionScript so any help is appreciated. I have an MovieClip that loads a slideshow (imagerotator to be exact). I'm using AS2 loadMovie to achieve this. The images in the slideshow app…

---

## [AIR and Cross Domain Requests](https://forum.kirupa.com/t/air-and-cross-domain-requests/285350)

<div class="topic-metadata">

**Author:** [@jackcviers](https://forum.kirupa.com/u/jackcviers)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 9:20pm UTC](https://forum.kirupa.com/t/air-and-cross-domain-requests/285350 "2009-03-30T21:20:43Z")

</div>

If I write a Flex AIR RIA, and that RIA requests data from a domain (say api.twitter.com), does the domain crossdomain.xml file have to allow all domains to read data from it (\*) in order for the AIR runtime to access th…

---

## [Know of any good Flash ActionScript 3.0 Tutorials?](https://forum.kirupa.com/t/know-of-any-good-flash-actionscript-3-0-tutorials/285347)

<div class="topic-metadata">

**Author:** [@psychtaygar](https://forum.kirupa.com/u/psychtaygar)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 8:53pm UTC](https://forum.kirupa.com/t/know-of-any-good-flash-actionscript-3-0-tutorials/285347 "2009-03-30T20:53:07Z")

</div>

Hello, I recently learned PHP on W3schools.com. It was a very helpful tutorial, as it walked through what all of the different elements in PHP were (variables, strings, if, elseif, etc.) I'm having trouble finding a go…

---

## [This is an easy one!](https://forum.kirupa.com/t/this-is-an-easy-one/285346)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 8:52pm UTC](https://forum.kirupa.com/t/this-is-an-easy-one/285346 "2009-03-30T20:52:26Z")

</div>

How do I insert a hyphen in a hardcoded string that is the label of a button? Do I need to format it as html? Same question re: forcing a break in a line of text. is there a way just with ActionScript?

---

## [OOP getter/setter methods](https://forum.kirupa.com/t/oop-getter-setter-methods/285344)

<div class="topic-metadata">

**Author:** [@greetification](https://forum.kirupa.com/u/greetification)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 8:24pm UTC](https://forum.kirupa.com/t/oop-getter-setter-methods/285344 "2009-03-30T20:24:59Z")

</div>

Hi all, I have a question about getter/setter methods. Basically I'm trying to start write more OOP compliant code, and getter/setter methods seem to be counter intuitive. So from what I understand, when I have an obje…

---

## [Chnaging line color and position when click](https://forum.kirupa.com/t/chnaging-line-color-and-position-when-click/285340)

<div class="topic-metadata">

**Author:** [@Kousha](https://forum.kirupa.com/u/Kousha)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 7:33pm UTC](https://forum.kirupa.com/t/chnaging-line-color-and-position-when-click/285340 "2009-03-30T19:33:36Z")

</div>

Hi all, I am trying to implement a new game. Initially I have a line that is gray, each time the user clicks, I want to change the color to blue and move the line 5 pixels up, if the use clicks again the line color cha…

---

## [Mp3 and Bandwidth Question](https://forum.kirupa.com/t/mp3-and-bandwidth-question/285339)

<div class="topic-metadata">

**Author:** [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 7:05pm UTC](https://forum.kirupa.com/t/mp3-and-bandwidth-question/285339 "2009-03-30T19:05:11Z")

</div>

Hey Hey, I am building a site that is going to get kinda a lot of traffic, And the client wants a lil music player that plays some of his mp3's. What is the best way to do this so that it does not kill the bandwidth, a…

---

## [SWF playback issue in full screen on Vista](https://forum.kirupa.com/t/swf-playback-issue-in-full-screen-on-vista/285336)

<div class="topic-metadata">

**Author:** [@SamSax](https://forum.kirupa.com/u/SamSax)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 5:43pm UTC](https://forum.kirupa.com/t/swf-playback-issue-in-full-screen-on-vista/285336 "2009-03-30T17:43:48Z")

</div>

Does anyone have any info or experience with resolving full screen / hardware acceleration issues on Windows Vista? I have a Flash piece that can toggle to full screen using the "ScreenSourceRect" parameter. Things r…

---

## [Need professional advice - can this be done?](https://forum.kirupa.com/t/need-professional-advice-can-this-be-done/285335)

<div class="topic-metadata">

**Author:** [@swdirect](https://forum.kirupa.com/u/swdirect)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 5:27pm UTC](https://forum.kirupa.com/t/need-professional-advice-can-this-be-done/285335 "2009-03-30T17:27:14Z")

</div>

My employer is pretty specific on the website that they are having me build for them. They want a top menu and a bottom menu, you can view it here \[COLOR=#0066cc\]www.swdirect.com/flash2.html\[/COLOR\] for now. None of th…

---

## [Published alpha tween different from .fla](https://forum.kirupa.com/t/published-alpha-tween-different-from-fla/285334)

<div class="topic-metadata">

**Author:** [@quasi3](https://forum.kirupa.com/u/quasi3)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 5:05pm UTC](https://forum.kirupa.com/t/published-alpha-tween-different-from-fla/285334 "2009-03-30T17:05:31Z")

</div>

I have read many similar issues but cannot find a solution. Just starting with flash so I'm making a simple gallery. I've added a background layer where I change the background color using large rectangles. At certain pa…

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

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