# programming

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

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

**Page:** 1621

---

## [Working with the 4 corners of the screen/Centering movieclip on the stage](https://forum.kirupa.com/t/working-with-the-4-corners-of-the-screen-centering-movieclip-on-the-stage/233025)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:51pm UTC](https://forum.kirupa.com/t/working-with-the-4-corners-of-the-screen-centering-movieclip-on-the-stage/233025 "2007-07-19T14:51:22Z")

</div>

Hello, \*\*1) Does anyone know how to put 4 movieclips in the 4 corners of the screen? \*\* This is a clear example of what I want to do: http://www.thefwa.com/ As you can see, the "Featured" menu is always at the right …

---

## [attachSound and nested components](https://forum.kirupa.com/t/attachsound-and-nested-components/233023)

<div class="topic-metadata">

**Author:** [@RocketRonz](https://forum.kirupa.com/u/RocketRonz)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:35pm UTC](https://forum.kirupa.com/t/attachsound-and-nested-components/233023 "2007-07-19T14:35:42Z")

</div>

I've noticed a few Threads on this forum where people are having problems with attachSound within nested SWFs, ie. Sounds play within the nested SWF when run standalone but fail when embedded within a main SWF. I'm hav…

---

## [Strung out on a toString](https://forum.kirupa.com/t/strung-out-on-a-tostring/233016)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 1:54pm UTC](https://forum.kirupa.com/t/strung-out-on-a-tostring/233016 "2007-07-19T13:54:46Z")

</div>

Hi all I am wanting to extract a number from this. would i use the to string method. and from there splice?? var \_loc4 = this.toString; (this) reads:level0.thnav.thmb1,level0.thnav.thmb2 etc. what I am wanting to do …

---

## [onEnterFrame - processor question](https://forum.kirupa.com/t/onenterframe-processor-question/233015)

<div class="topic-metadata">

**Author:** [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 1:48pm UTC](https://forum.kirupa.com/t/onenterframe-processor-question/233015 "2007-07-19T13:48:24Z")

</div>

How bad is it to use onEnterFrame? I made a navigation system that has to find the coordinates of the mouse. If the mouse goes over these coordinates then the menu drops down, if it goes out of the coordinates, the men…

---

## [Creating an Elastic Line](https://forum.kirupa.com/t/creating-an-elastic-line/233013)

<div class="topic-metadata">

**Author:** [@SeanEB](https://forum.kirupa.com/u/SeanEB)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 1:38pm UTC](https://forum.kirupa.com/t/creating-an-elastic-line/233013 "2007-07-19T13:38:24Z")

</div>

I've been searching Google and this site for tutorials for this and can't find anything which seems to fit what I'm looking for. I'm trying to divide the screen in 2 and then allow user to rollover the middle of screen …

---

## [Tutorial trouble!](https://forum.kirupa.com/t/tutorial-trouble/233007)

<div class="topic-metadata">

**Author:** [@fault151](https://forum.kirupa.com/u/fault151)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 12:21pm UTC](https://forum.kirupa.com/t/tutorial-trouble/233007 "2007-07-19T12:21:27Z")

</div>

\*\* Hey , i'm just working my way through a tutorial and iv found a problem. The tutorial looks at a \*\*Mouse Trailer. It says that i can type in what ever word i want for it to trail after the mouse, trouble is, i can…

---

## [SWFaddress and external SWF's](https://forum.kirupa.com/t/swfaddress-and-external-swfs/233006)

<div class="topic-metadata">

**Author:** [@Neko\_Neko](https://forum.kirupa.com/u/Neko_Neko)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 12:17pm UTC](https://forum.kirupa.com/t/swfaddress-and-external-swfs/233006 "2007-07-19T12:17:41Z")

</div>

Hello everyone! I'm new here and have recently learned flash to build a website. Just want to say this forum has helped me alot, Thanks! Anyway my site is finished now but i have been trying SEO to get it noticed. I came…

---

## [Difference in speed - Flash 8 IDE vs Browser](https://forum.kirupa.com/t/difference-in-speed-flash-8-ide-vs-browser/233005)

<div class="topic-metadata">

**Author:** [@DSent](https://forum.kirupa.com/u/DSent)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 12:16pm UTC](https://forum.kirupa.com/t/difference-in-speed-flash-8-ide-vs-browser/233005 "2007-07-19T12:16:28Z")

</div>

Recently I wrote my first game in Flash 8 using ActionScript. It's a very simple game where you control the ball trying to pick up all the bonuses. My problem is the difference in speed between Flash IDE and the web brow…

---

## [Timer, adding function parameters](https://forum.kirupa.com/t/timer-adding-function-parameters/233004)

<div class="topic-metadata">

**Author:** [@sumo](https://forum.kirupa.com/u/sumo)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 11:46am UTC](https://forum.kirupa.com/t/timer-adding-function-parameters/233004 "2007-07-19T11:46:03Z")

</div>

Hi. Is there any way to add parameters for a function that I'm calling with Timer? Normally I would this: ActionScript Code: \[FONT=Courier New\]\[LEFT\]createBallsCOLOR=#000000\[/COLOR\]; \[COLOR=#000000\]{\[/COLOR\] …

---

## [Basic but not so basic XML Gallery](https://forum.kirupa.com/t/basic-but-not-so-basic-xml-gallery/233002)

<div class="topic-metadata">

**Author:** [@wvoets](https://forum.kirupa.com/u/wvoets)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 11:22am UTC](https://forum.kirupa.com/t/basic-but-not-so-basic-xml-gallery/233002 "2007-07-19T11:22:30Z")

</div>

Hi Everyone. First of all a big shout out to the Kirupa team for their awsome site/work. I'm looking for a (basic?) XML photo gallery like the one on THIS site. XML driven, thumbnails on the left with different thumb…

---

## [Create a preloader for movie and xml together](https://forum.kirupa.com/t/create-a-preloader-for-movie-and-xml-together/232999)

<div class="topic-metadata">

**Author:** [@aigarinsh](https://forum.kirupa.com/u/aigarinsh)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 10:57am UTC](https://forum.kirupa.com/t/create-a-preloader-for-movie-and-xml-together/232999 "2007-07-19T10:57:19Z")

</div>

Could you please point me in the right direction of what is the best structure and code to create a preloader which shows the loading of all data together. I mean the whole movie and then I have some xml, which I would l…

---

## [Remove objects from Papervision3D scene](https://forum.kirupa.com/t/remove-objects-from-papervision3d-scene/232998)

<div class="topic-metadata">

**Author:** [@sumo](https://forum.kirupa.com/u/sumo)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 10:29am UTC](https://forum.kirupa.com/t/remove-objects-from-papervision3d-scene/232998 "2007-07-19T10:29:57Z")

</div>

Hi! Does anyone know how to remove objects like Plane from Papervision 3D scene? I have tried container.scene.removeChild(plane); but it gives me an error like this: "1119: Access of possibly undefined property scen…

---

## [addChild in for loop](https://forum.kirupa.com/t/addchild-in-for-loop/232996)

<div class="topic-metadata">

**Author:** [@licencjonowany](https://forum.kirupa.com/u/licencjonowany)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 10:03am UTC](https://forum.kirupa.com/t/addchild-in-for-loop/232996 "2007-07-19T10:03:04Z")

</div>

Hi, can someone tell me how to do it: private function init\_mc(\_container){ \_envir = new Enviroiment3D() for (var i=0;i\<3;i++){ var \_newMC:MovieClip = new ball \_…

---

## [Array length in 2d-array](https://forum.kirupa.com/t/array-length-in-2d-array/232993)

<div class="topic-metadata">

**Author:** [@hatu](https://forum.kirupa.com/u/hatu)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 9:23am UTC](https://forum.kirupa.com/t/array-length-in-2d-array/232993 "2007-07-19T09:23:59Z")

</div>

I was wondering can I use the array.length command to somehow find out the length and 'width' of the array? .length shows how many lines there are but can I somehow use it to view how many entries are on each line? va…

---

## [\[help\] Dynamic Photo Gallery](https://forum.kirupa.com/t/help-dynamic-photo-gallery/232990)

<div class="topic-metadata">

**Author:** [@Csj](https://forum.kirupa.com/u/Csj)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 8:56am UTC](https://forum.kirupa.com/t/help-dynamic-photo-gallery/232990 "2007-07-19T08:56:24Z")

</div>

I'm hoping someone can help me with my problem. :ne: Basically what I'm trying to do is the following: I have a flash document that i need to dynamically load thumbnails into. The 'location' and 'what' the thumbnails…

---

## [SOS: Calling JavaScript Function from Flash to return a value](https://forum.kirupa.com/t/sos-calling-javascript-function-from-flash-to-return-a-value/232989)

<div class="topic-metadata">

**Author:** [@connect2nikhil](https://forum.kirupa.com/u/connect2nikhil)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:59am UTC](https://forum.kirupa.com/t/sos-calling-javascript-function-from-flash-to-return-a-value/232989 "2007-07-19T07:59:38Z")

</div>

Hello! I would like to call a JavaScript Function stored in \<head\> tag of HTML from Flash. I would like it to execute the whole function and return the value. I am unable to decipher how to do it. I am putting all …

---

## [\[F8\] How to simulate a button being pressed](https://forum.kirupa.com/t/f8-how-to-simulate-a-button-being-pressed/232984)

<div class="topic-metadata">

**Author:** [@OneMrBean](https://forum.kirupa.com/u/OneMrBean)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:27am UTC](https://forum.kirupa.com/t/f8-how-to-simulate-a-button-being-pressed/232984 "2007-07-19T07:27:43Z")

</div>

Hello, I was wondering if Flash 8 is able to simulate a button being pressed on the keyboard. I know it is able to detect if a button is being pressed by the user, but this is slightly different. For example: // Pre…

---

## [Trigonometry Beginner](https://forum.kirupa.com/t/trigonometry-beginner/232981)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:07am UTC](https://forum.kirupa.com/t/trigonometry-beginner/232981 "2007-07-19T07:07:10Z")

</div>

hope i dont get my head bit off here - but i am totally out of it when it comes to trig, and while searching kirupa has revealed an abundance of threads on the topic, its all quite overwhelming... so i was wondering, i…

---

## [Help with "Introduction to XML in Flash"](https://forum.kirupa.com/t/help-with-introduction-to-xml-in-flash/232980)

<div class="topic-metadata">

**Author:** [@Dr\_Warm](https://forum.kirupa.com/u/Dr_Warm)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 7:04am UTC](https://forum.kirupa.com/t/help-with-introduction-to-xml-in-flash/232980 "2007-07-19T07:04:40Z")

</div>

I'm having some issues with Senocular's very excellent tute. I haven't been able to search and find someone else this has happened to. I'm ok reading in data from XML, but storing it just ain't working. I downloaded hi…

---

## [Swf in IE7 gives "Click to activate control"](https://forum.kirupa.com/t/swf-in-ie7-gives-click-to-activate-control/232975)

<div class="topic-metadata">

**Author:** [@J11](https://forum.kirupa.com/u/J11)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 5:04am UTC](https://forum.kirupa.com/t/swf-in-ie7-gives-click-to-activate-control/232975 "2007-07-19T05:04:17Z")

</div>

Swf in IE7 browser gives "Click to activate control". I want to remove this!! tried out various solutions its not working...

---

## [Embed wma sound in flash cs3](https://forum.kirupa.com/t/embed-wma-sound-in-flash-cs3/232972)

<div class="topic-metadata">

**Author:** [@himanshu\_guru](https://forum.kirupa.com/u/himanshu_guru)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:22am UTC](https://forum.kirupa.com/t/embed-wma-sound-in-flash-cs3/232972 "2007-07-19T04:22:23Z")

</div>

Hello Friends, I need to embed wma sound format in flash file but when i try it an error show that " one or more files were not imported because there were problems reading them". Please suggest me how i can import wma s…

---

## [Flicker Problem in Motion Tween](https://forum.kirupa.com/t/flicker-problem-in-motion-tween/232970)

<div class="topic-metadata">

**Author:** [@wavuti](https://forum.kirupa.com/u/wavuti)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 4:06am UTC](https://forum.kirupa.com/t/flicker-problem-in-motion-tween/232970 "2007-07-19T04:06:32Z")

</div>

Hey all! I am trying to create a simple motion twin of an image I created in flash. Please see the attached FLA here. Now for whatever reason, as soon as I add the picture frame and test out the movie, it flickers as i…

---

## [Saving a Movie Clip](https://forum.kirupa.com/t/saving-a-movie-clip/232968)

<div class="topic-metadata">

**Author:** [@alpharaven](https://forum.kirupa.com/u/alpharaven)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 3:10am UTC](https://forum.kirupa.com/t/saving-a-movie-clip/232968 "2007-07-19T03:10:22Z")

</div>

Is it possible to save a movie clip as a jpg. If so how? I know that the MC can be printed but can it be saved or automatically attached to a flash contact form...:thumb2:

---

## [loadMovie Help!](https://forum.kirupa.com/t/loadmovie-help/232967)

<div class="topic-metadata">

**Author:** [@chevron8653](https://forum.kirupa.com/u/chevron8653)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 3:03am UTC](https://forum.kirupa.com/t/loadmovie-help/232967 "2007-07-19T03:03:17Z")

</div>

Hey there guys. Well im having trouble when i load a movie clip then unload then reload it again the code on the loaded movie clip the second time around gets all messed up like does things in the wrong order. heres …

---

## [Drage & Drop - Dynamic Area!](https://forum.kirupa.com/t/drage-drop-dynamic-area/232966)

<div class="topic-metadata">

**Author:** [@artriste](https://forum.kirupa.com/u/artriste)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 3:00am UTC](https://forum.kirupa.com/t/drage-drop-dynamic-area/232966 "2007-07-19T03:00:00Z")

</div>

Hi, I was working on a website with a draggable menu, when I saw a post about full screen flash website. (See the third code) My menu used to have an area defined like this: menu.onPress = function() { startDrag…

---

## [Flash Video Player... scaled?](https://forum.kirupa.com/t/flash-video-player-scaled/232965)

<div class="topic-metadata">

**Author:** [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:57am UTC](https://forum.kirupa.com/t/flash-video-player-scaled/232965 "2007-07-19T02:57:31Z")

</div>

Hello, Is it possible and realistic to create a video player at say, 320x240, but then be able to click on a "expand" or "large" button and have it show the same video at 640x480? The video would be recorded at 640x4…

---

## [Random letters in random places within and around a string](https://forum.kirupa.com/t/random-letters-in-random-places-within-and-around-a-string/232964)

<div class="topic-metadata">

**Author:** [@fishbulb](https://forum.kirupa.com/u/fishbulb)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:37am UTC](https://forum.kirupa.com/t/random-letters-in-random-places-within-and-around-a-string/232964 "2007-07-19T02:37:23Z")

</div>

This will be very confusing to explain so i will use a few examples along the way to describe what i am trying to do. So first: I saw a game on GSN called "Camouflage". If any of you have seen it, great, that's what i…

---

## [Add Action to animated button help!](https://forum.kirupa.com/t/add-action-to-animated-button-help/232962)

<div class="topic-metadata">

**Author:** [@freezerburned](https://forum.kirupa.com/u/freezerburned)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:34am UTC](https://forum.kirupa.com/t/add-action-to-animated-button-help/232962 "2007-07-19T02:34:43Z")

</div>

I have a button that contains two videos and I need to throw in on(release){ displayText='moo'; } but for some reason, it doesn't work because of the structure I built it with. If I take a static image, make …

---

## [Text resizes when MC resizes?](https://forum.kirupa.com/t/text-resizes-when-mc-resizes/232960)

<div class="topic-metadata">

**Author:** [@tazboy](https://forum.kirupa.com/u/tazboy)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:22am UTC](https://forum.kirupa.com/t/text-resizes-when-mc-resizes/232960 "2007-07-19T02:22:59Z")

</div>

I have a generic MC with a dynamic textfield in it. When I use 2 instances of this MC on the main stage and resize one of them to be longer, that MC's textfield also gets bigger. When I make the MC shorter the text field…

---

## [\[C++\] help with counting # of words in txt](https://forum.kirupa.com/t/c-help-with-counting-of-words-in-txt/232959)

<div class="topic-metadata">

**Author:** [@NANO3](https://forum.kirupa.com/u/NANO3)\
**Replies:** 0\
**Last updated:** [July 19, 2007, 2:12am UTC](https://forum.kirupa.com/t/c-help-with-counting-of-words-in-txt/232959 "2007-07-19T02:12:58Z")

</div>

hello everyone i'm trying to count the number of words from an input stream (text file). i guess you can call it a word counter. Don't worry about the outFile, I just want it to write the number to file so it can be sa…

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

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