# programming

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

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

**Page:** 1343

---

## [Try out my PONG game!](https://forum.kirupa.com/t/try-out-my-pong-game/253119)

<div class="topic-metadata">

**Author:** [@andymac1990](https://forum.kirupa.com/u/andymac1990)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 9:45am UTC](https://forum.kirupa.com/t/try-out-my-pong-game/253119 "2008-02-27T09:45:00Z")

</div>

So lately I have been really into this actionscript 3.0 stuff and just finished my first game. (I can't tell you how many games I have started but never finished.) The game is 2 player: player vs. player only so grab som…

---

## [Flash Font Embed](https://forum.kirupa.com/t/flash-font-embed/253118)

<div class="topic-metadata">

**Author:** [@fazekasg](https://forum.kirupa.com/u/fazekasg)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 9:25am UTC](https://forum.kirupa.com/t/flash-font-embed/253118 "2008-02-27T09:25:45Z")

</div>

Hy! I've got a problem wich driving me crazy. I'm building a site wich has a lot of dynamic text fields in it, and i'm embeding fonts to use (i put it in libary, then embed it in as), the problem is when a text field has…

---

## [Slideshow with sound. Please help](https://forum.kirupa.com/t/slideshow-with-sound-please-help/253114)

<div class="topic-metadata">

**Author:** [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 8:27am UTC](https://forum.kirupa.com/t/slideshow-with-sound-please-help/253114 "2008-02-27T08:27:42Z")

</div>

Hi, I want to understand how this NY-times slideshow synchronize the sound with the photos. It seems that the images and sound being loaded seperately (.xml?). But how make the right speech come with the right image? An…

---

## [XML & Server-side Generated XML](https://forum.kirupa.com/t/xml-server-side-generated-xml/253113)

<div class="topic-metadata">

**Author:** [@burian](https://forum.kirupa.com/u/burian)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 8:21am UTC](https://forum.kirupa.com/t/xml-server-side-generated-xml/253113 "2008-02-27T08:21:08Z")

</div>

Does flash read xml from a local xml file and xml generated from a php script the same way? Can I just switch xml.load("myxml.xml") to xml.load("http://www.mydomain.com/page1.php?vars=vars"); If so, great. If not, I…

---

## [\[CS3\] removeMovieClip not working for one particular library item](https://forum.kirupa.com/t/cs3-removemovieclip-not-working-for-one-particular-library-item/253112)

<div class="topic-metadata">

**Author:** [@Andra](https://forum.kirupa.com/u/Andra)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 7:58am UTC](https://forum.kirupa.com/t/cs3-removemovieclip-not-working-for-one-particular-library-item/253112 "2008-02-27T07:58:34Z")

</div>

Hi there, I built a website for our company, but because my boss kept adding stuff as I was building, the navigation-function became a total mess. On top of that, the need has risen to make the site multi-lingual, and …

---

## [Loading thumbnails of different size from XML](https://forum.kirupa.com/t/loading-thumbnails-of-different-size-from-xml/253110)

<div class="topic-metadata">

**Author:** [@marpropdel](https://forum.kirupa.com/u/marpropdel)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 7:43am UTC](https://forum.kirupa.com/t/loading-thumbnails-of-different-size-from-xml/253110 "2008-02-27T07:43:08Z")

</div>

Hi Guys, I am a beginner in flash. i have made some flash movies and have some understanding on actionscripts. my question is how to make flash movie which will dynamically load thumbnail images (of different width)…

---

## [HTML 'iframe' as masking](https://forum.kirupa.com/t/html-iframe-as-masking/253106)

<div class="topic-metadata">

**Author:** [@dheerajmesson](https://forum.kirupa.com/u/dheerajmesson)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 6:34am UTC](https://forum.kirupa.com/t/html-iframe-as-masking/253106 "2008-02-27T06:34:18Z")

</div>

Hi! all dis is dheeraj, m new to dis forum. and here is my very first thread: I m facing a problem to align a page inside an 'iframe' (arranging x, y inside frame window) to show a particular portion of any web page thro…

---

## [Hide Srollbar](https://forum.kirupa.com/t/hide-srollbar/253104)

<div class="topic-metadata">

**Author:** [@huckwalton](https://forum.kirupa.com/u/huckwalton)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 5:33am UTC](https://forum.kirupa.com/t/hide-srollbar/253104 "2008-02-27T05:33:14Z")

</div>

First off, I saw the tut on this subject. The problem is it doesn't work for my situation. Does anyone know how to get this http://www.kirupa.com/web/xml/examples/searchbestof.htm to hide the scroll until needed? Thank y…

---

## [Tween hangs](https://forum.kirupa.com/t/tween-hangs/253102)

<div class="topic-metadata">

**Author:** [@richjamison](https://forum.kirupa.com/u/richjamison)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 5:02am UTC](https://forum.kirupa.com/t/tween-hangs/253102 "2008-02-27T05:02:09Z")

</div>

I have been working on a project that creates a table of cells from a xml data source. The cells animate onto the screen using the Tween class. At a specified timer the table fades away, updates the xml and rebuilds the …

---

## [Load file and onEnterFrame question](https://forum.kirupa.com/t/load-file-and-onenterframe-question/253094)

<div class="topic-metadata">

**Author:** [@gorilla1](https://forum.kirupa.com/u/gorilla1)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 3:22am UTC](https://forum.kirupa.com/t/load-file-and-onenterframe-question/253094 "2008-02-27T03:22:03Z")

</div>

The code below reads from an xml file, builds an array and then fades the text from the array elements in and out. However, the onenterframe function begins to play before the array has finished loading, so the first me…

---

## [Is there a better way of doing this...?](https://forum.kirupa.com/t/is-there-a-better-way-of-doing-this/253093)

<div class="topic-metadata">

**Author:** [@boogooloo1](https://forum.kirupa.com/u/boogooloo1)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 3:08am UTC](https://forum.kirupa.com/t/is-there-a-better-way-of-doing-this/253093 "2008-02-27T03:08:51Z")

</div>

G'day guys, I've got a few icons I'm using as buttons, and a description text underneath them (link\_txt). I'm basically wanting to show visitors that the icons are buttons, so I thought I'd get the description to brie…

---

## [Import from multiple txt files](https://forum.kirupa.com/t/import-from-multiple-txt-files/253092)

<div class="topic-metadata">

**Author:** [@cdoyle](https://forum.kirupa.com/u/cdoyle)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 2:30am UTC](https://forum.kirupa.com/t/import-from-multiple-txt-files/253092 "2008-02-27T02:30:06Z")

</div>

Hi, I've been working on a photo gallery type of thing, for a friend of mine. It's basically a some thumbnails on the right side, that when click cause a larger version to appear in the middle of the screen. The ima…

---

## [Simple math actionscript](https://forum.kirupa.com/t/simple-math-actionscript/253091)

<div class="topic-metadata">

**Author:** [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 2:21am UTC](https://forum.kirupa.com/t/simple-math-actionscript/253091 "2008-02-27T02:21:05Z")

</div>

I am hoping that someone can explian why this code doesn't work. var a = myNum.text; var b = myNumb.text; var c = myAnswer.text; answer\_btn.onRelease = function() { if (c=a+b) { trace("ok"); } }; All the text boxes a…

---

## [Unloading a \_lockroot movie](https://forum.kirupa.com/t/unloading-a--lockroot-movie/253090)

<div class="topic-metadata">

**Author:** [@deadtrees](https://forum.kirupa.com/u/deadtrees)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 2:20am UTC](https://forum.kirupa.com/t/unloading-a--lockroot-movie/253090 "2008-02-27T02:20:00Z")

</div>

I've got this vexing problem. I want to load a short quiz created from the flash quiz template into a movie. The problem is that navigation in the quiz template needs \_lockroot enabled in order to be able to function co…

---

## [Rolling Textured Sphere](https://forum.kirupa.com/t/rolling-textured-sphere/253087)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 2:03am UTC](https://forum.kirupa.com/t/rolling-textured-sphere/253087 "2008-02-27T02:03:35Z")

</div>

Hi guys, I'm trying to make a textured sphere that looks realistic when rolling (exactly like a pool ball); it can roll in any direction but not spin. I can't figure out how to make the texture look right when it rol…

---

## [bitmapData clear pixels or set alpha](https://forum.kirupa.com/t/bitmapdata-clear-pixels-or-set-alpha/253080)

<div class="topic-metadata">

**Author:** [@laubsterboy](https://forum.kirupa.com/u/laubsterboy)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 11:47pm UTC](https://forum.kirupa.com/t/bitmapdata-clear-pixels-or-set-alpha/253080 "2008-02-26T23:47:14Z")

</div>

What I have setup right now is one movieClip that is being used to be drawn into a BitmapData object. That bitmapData object is being drawn on the enterFrame and I am needing to clear it so it doesnt have the previous…

---

## [Help Needed. UILoader coordinate track problem on MOUSE\_UP](https://forum.kirupa.com/t/help-needed-uiloader-coordinate-track-problem-on-mouse-up/253077)

<div class="topic-metadata">

**Author:** [@anujsharma181](https://forum.kirupa.com/u/anujsharma181)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 11:18pm UTC](https://forum.kirupa.com/t/help-needed-uiloader-coordinate-track-problem-on-mouse-up/253077 "2008-02-26T23:18:57Z")

</div>

Hi All I am dragging the UI loader component containing external SWfs in them. On Mouse Release I use stop drag, and on stop drag- I am using myUIloader.move(mouseX,mouseY). However the output is little bouncy, the stage…

---

## [Mac OSX Dock in AS3](https://forum.kirupa.com/t/mac-osx-dock-in-as3/253076)

<div class="topic-metadata">

**Author:** [@danhodkinson](https://forum.kirupa.com/u/danhodkinson)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 11:09pm UTC](https://forum.kirupa.com/t/mac-osx-dock-in-as3/253076 "2008-02-26T23:09:55Z")

</div>

Hi all, i've been scouring the internet looking for any source code of an AS3 version of the mac dock, i learnt AS2 about 2years ago but never really used it again and am now venturing into the realms of AS3 and wouldnt …

---

## [Animation/nav help](https://forum.kirupa.com/t/animation-nav-help/253075)

<div class="topic-metadata">

**Author:** [@imageConscious](https://forum.kirupa.com/u/imageConscious)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 11:03pm UTC](https://forum.kirupa.com/t/animation-nav-help/253075 "2008-02-26T23:03:14Z")

</div>

Hey Guys -- I'm looking to do a navigation in Flash similar to these sites: saltnyc.com beehiveboston.com Basically, I want to have different "target points" linked to a graphic that's much larger than the artboard -- …

---

## [Stop the button code until animation ends](https://forum.kirupa.com/t/stop-the-button-code-until-animation-ends/253073)

<div class="topic-metadata">

**Author:** [@garmani](https://forum.kirupa.com/u/garmani)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 10:53pm UTC](https://forum.kirupa.com/t/stop-the-button-code-until-animation-ends/253073 "2008-02-26T22:53:31Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hi Guys, very new here, don’t know whether someone had similar problem. I need help in fixing this damn thing. I think it is a small fix. Well here is the scenario. I have Previous and Next…

---

## [Best practice approach for Accessing Methods in Classes](https://forum.kirupa.com/t/best-practice-approach-for-accessing-methods-in-classes/253072)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 10:50pm UTC](https://forum.kirupa.com/t/best-practice-approach-for-accessing-methods-in-classes/253072 "2008-02-26T22:50:17Z")

</div>

When writing a class for public consumption, is it best practice to expose the class methods you want available to the programmer via either using access control methods, ie public function foo() or to keep methods priva…

---

## [Access of undefined property \_root](https://forum.kirupa.com/t/access-of-undefined-property--root/253069)

<div class="topic-metadata">

**Author:** [@maestro](https://forum.kirupa.com/u/maestro)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 10:29pm UTC](https://forum.kirupa.com/t/access-of-undefined-property--root/253069 "2008-02-26T22:29:16Z")

</div>

I just started using CS3 and I’m having some trouble. I am getting the following error: Access of undefined property \_root it refers to every instance in the code below where I use \_root The movieclip “pages” is loop…

---

## [Panic style horizontal scroller](https://forum.kirupa.com/t/panic-style-horizontal-scroller/253058)

<div class="topic-metadata">

**Author:** [@atarijake](https://forum.kirupa.com/u/atarijake)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 8:38pm UTC](https://forum.kirupa.com/t/panic-style-horizontal-scroller/253058 "2008-02-26T20:38:35Z")

</div>

Does anyone know to accomplish a horizontal scroll type feature like what's on Panic's Coda page here: http://www.panic.com/coda/ It looks like they scripted the animation themselves based on some poking around in the …

---

## [Unloading Linked MCs from Library](https://forum.kirupa.com/t/unloading-linked-mcs-from-library/253054)

<div class="topic-metadata">

**Author:** [@jezzhaigh](https://forum.kirupa.com/u/jezzhaigh)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 7:48pm UTC](https://forum.kirupa.com/t/unloading-linked-mcs-from-library/253054 "2008-02-26T19:48:21Z")

</div>

Hi, Can anyone help with this simple problem. Can't quite figure out why this is not unloading: cont.onPress = function () { trace (count); if (count == 0){ root.attachMovie("contactdetail", "my\_mc", …

---

## [Trying to get .php to matchup with button script](https://forum.kirupa.com/t/trying-to-get-php-to-matchup-with-button-script/253051)

<div class="topic-metadata">

**Author:** [@SteelCity](https://forum.kirupa.com/u/SteelCity)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 7:25pm UTC](https://forum.kirupa.com/t/trying-to-get-php-to-matchup-with-button-script/253051 "2008-02-26T19:25:16Z")

</div>

As it stands now when you click the submit button, to submit the form info., I get the form error message. I know my server account is linux so php is fine, there must be something that is butting heads in the code. Pl…

---

## [Anyone know how to dynamically change the border of UILoader Component](https://forum.kirupa.com/t/anyone-know-how-to-dynamically-change-the-border-of-uiloader-component/253048)

<div class="topic-metadata">

**Author:** [@anujsharma181](https://forum.kirupa.com/u/anujsharma181)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 7:14pm UTC](https://forum.kirupa.com/t/anyone-know-how-to-dynamically-change-the-border-of-uiloader-component/253048 "2008-02-26T19:14:19Z")

</div>

Hi All I am loading multiple instances of UI loader containing external SWFs on my stage. When user double clicks on the video thumbnail, an instance of UIloader will be placed on the main stage.The user can place as man…

---

## [Xml + Html = Yes? No?](https://forum.kirupa.com/t/xml-html-yes-no/253046)

<div class="topic-metadata">

**Author:** [@haam](https://forum.kirupa.com/u/haam)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 7:04pm UTC](https://forum.kirupa.com/t/xml-html-yes-no/253046 "2008-02-26T19:04:18Z")

</div>

hey guys. i've got an xml file that's loading some text into flash. i was wondering if you knew of any way to get HTML formatting inside the XML? normal html tagging isn't working of course cause the tags break up t…

---

## [Why won't my text field update in the SWF?](https://forum.kirupa.com/t/why-wont-my-text-field-update-in-the-swf/253043)

<div class="topic-metadata">

**Author:** [@cmwagner](https://forum.kirupa.com/u/cmwagner)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 6:31pm UTC](https://forum.kirupa.com/t/why-wont-my-text-field-update-in-the-swf/253043 "2008-02-26T18:31:07Z")

</div>

Maybe this is an extremely simple question, and I'm just showing myself to be a n00b - but I had to make some kerning changes (space between letters) in one of my dynamic text boxes (it is inside a movie clip on my timel…

---

## [Please help! PHP Forms](https://forum.kirupa.com/t/please-help-php-forms/253040)

<div class="topic-metadata">

**Author:** [@mcwb201](https://forum.kirupa.com/u/mcwb201)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 5:58pm UTC](https://forum.kirupa.com/t/please-help-php-forms/253040 "2008-02-26T17:58:03Z")

</div>

Hi, I am new to web design and although I have grasped html I am having problems using PHP to make forms work. I have used a program called 'Forms To Go' to generate the PHP file to make my forms work but am having t…

---

## [Change Component Skin Font](https://forum.kirupa.com/t/change-component-skin-font/253039)

<div class="topic-metadata">

**Author:** [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Replies:** 0\
**Last updated:** [February 26, 2008, 5:20pm UTC](https://forum.kirupa.com/t/change-component-skin-font/253039 "2008-02-26T17:20:22Z")

</div>

ok, without using any actionscript can anyone tell me how i can change the font of my button component so that any button i place will use that font? there has got to be an easy way to do this, right?

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

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