# programming

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

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

**Page:** 989

---

## [Tooltip Error](https://forum.kirupa.com/t/tooltip-error/277185)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 4:36am UTC](https://forum.kirupa.com/t/tooltip-error/277185 "2008-12-09T04:36:22Z")

</div>

I'm getting an error on some tooltip code I'm playing with: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. When the user clicks on the target, the tooltip appears. And when the …

---

## [Instantiation causing me Problems with actionscript](https://forum.kirupa.com/t/instantiation-causing-me-problems-with-actionscript/277182)

<div class="topic-metadata">

**Author:** [@gessy10](https://forum.kirupa.com/u/gessy10)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 4:15am UTC](https://forum.kirupa.com/t/instantiation-causing-me-problems-with-actionscript/277182 "2008-12-09T04:15:28Z")

</div>

I've been fighting this for two days now on this, my first flash CS4 project with AS 3.0. I've found a lot of things on the net, but nothing that resolved my issue. I have a series of buttons on my stage that get inst…

---

## [Display property explanation plz](https://forum.kirupa.com/t/display-property-explanation-plz/277180)

<div class="topic-metadata">

**Author:** [@Elvyne963](https://forum.kirupa.com/u/Elvyne963)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 4:01am UTC](https://forum.kirupa.com/t/display-property-explanation-plz/277180 "2008-12-09T04:01:54Z")

</div>

Hi, I succeded to use a code I found on a site to display and hide div tag, but I don’t understand how it work exactly though, so I was wondering if someone could explain me why is it so important that the “display:none”…

---

## [Preloader needed for loading External SWF?](https://forum.kirupa.com/t/preloader-needed-for-loading-external-swf/277178)

<div class="topic-metadata">

**Author:** [@Dan008](https://forum.kirupa.com/u/Dan008)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 3:22am UTC](https://forum.kirupa.com/t/preloader-needed-for-loading-external-swf/277178 "2008-12-09T03:22:47Z")

</div>

Hi there, do i need a preloader for my main movie since most of my audio and contents are external swf files? Which are going to load into the main movie only when i click on a button. • If i can do a preloader for …

---

## [Objective C-](https://forum.kirupa.com/t/objective-c/277174)

<div class="topic-metadata">

**Author:** [@Mak\_Valley](https://forum.kirupa.com/u/Mak_Valley)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 2:17am UTC](https://forum.kirupa.com/t/objective-c/277174 "2008-12-09T02:17:31Z")

</div>

The boss suggests I learn this to expand our services... I've checked out the apple dev center which is loaded with tons of info and is super helpful, however I'd like more... You guys know of any good books?

---

## [Changing cursor when click on something](https://forum.kirupa.com/t/changing-cursor-when-click-on-something/277167)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 10:49pm UTC](https://forum.kirupa.com/t/changing-cursor-when-click-on-something/277167 "2008-12-08T22:49:53Z")

</div>

Hello everyone, There is something i would like to do, to change the cursor when i click on a button, if it is possible i would be happy if you could tell me the action script. Please answer soon and thanx

---

## [How do i create this gallery (not sure how to describe please see example)](https://forum.kirupa.com/t/how-do-i-create-this-gallery-not-sure-how-to-describe-please-see-example/277166)

<div class="topic-metadata">

**Author:** [@grafology](https://forum.kirupa.com/u/grafology)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 10:28pm UTC](https://forum.kirupa.com/t/how-do-i-create-this-gallery-not-sure-how-to-describe-please-see-example/277166 "2008-12-08T22:28:02Z")

</div>

Hi, Ive been searching around these forums trying to create a gallery that looks similar to the gallery section that can be found here: http://www.turnstylestudio.com Ive seen it numerous times and i like its simplic…

---

## [\[FCS3\]Clicking button before animation is complete](https://forum.kirupa.com/t/fcs3-clicking-button-before-animation-is-complete/277165)

<div class="topic-metadata">

**Author:** [@nailzfan](https://forum.kirupa.com/u/nailzfan)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 10:15pm UTC](https://forum.kirupa.com/t/fcs3-clicking-button-before-animation-is-complete/277165 "2008-12-08T22:15:19Z")

</div>

Hi everyone, I'm working on a small flash site, and when I click on a menu item it fades into the next page. The problem is when I click on several buttons in rapid succession, not allowing the page animation to compl…

---

## [5000: The class 'gallery' must subclass 'flash.display.SimpleButton' since it is link](https://forum.kirupa.com/t/5000-the-class-gallery-must-subclass-flash-display-simplebutton-since-it-is-link/277164)

<div class="topic-metadata">

**Author:** [@rustyleaf](https://forum.kirupa.com/u/rustyleaf)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 10:03pm UTC](https://forum.kirupa.com/t/5000-the-class-gallery-must-subclass-flash-display-simplebutton-since-it-is-link/277164 "2008-12-08T22:03:13Z")

</div>

I have a class that extends MovieClip and I am receiving this error... 5000: The class 'gallery' must subclass 'flash.display.SimpleButton' since it is linked to a library symbol of that type. If I change the extends…

---

## [Problems with Tutorial "Photo Gallery Using XML and Flash" on Kirupa.com](https://forum.kirupa.com/t/problems-with-tutorial-photo-gallery-using-xml-and-flash-on-kirupa-com/277160)

<div class="topic-metadata">

**Author:** [@Looptroop](https://forum.kirupa.com/u/Looptroop)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 7:52pm UTC](https://forum.kirupa.com/t/problems-with-tutorial-photo-gallery-using-xml-and-flash-on-kirupa-com/277160 "2008-12-08T19:52:34Z")

</div>

Hallo! I was looking for a tutorial exactly like this one on Kirupa.com: http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm My problem is that the images can't be loaded. Flash says that there was a…

---

## [addChild improperly scaling?](https://forum.kirupa.com/t/addchild-improperly-scaling/277159)

<div class="topic-metadata">

**Author:** [@substance](https://forum.kirupa.com/u/substance)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 7:42pm UTC](https://forum.kirupa.com/t/addchild-improperly-scaling/277159 "2008-12-08T19:42:46Z")

</div>

So I have a 'frame' that has a height of 400 and a 'picture' with a height of 400 as well. For some reason when I add the picture as a child of frame some weird scaling happens where it looks like it's shrinking the fr…

---

## [How to make animation loop after intro?](https://forum.kirupa.com/t/how-to-make-animation-loop-after-intro/277158)

<div class="topic-metadata">

**Author:** [@keskin](https://forum.kirupa.com/u/keskin)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 7:25pm UTC](https://forum.kirupa.com/t/how-to-make-animation-loop-after-intro/277158 "2008-12-08T19:25:29Z")

</div>

Let's say my scene has 200 "intro" frames and frames from 201 to 500 are another loop which I would like to play infinitely. So...how to make my flash loop frames from 201 to 500 and not go back to first 200 after they…

---

## [Order issue when displaying pictures loaded from an XML file](https://forum.kirupa.com/t/order-issue-when-displaying-pictures-loaded-from-an-xml-file/277157)

<div class="topic-metadata">

**Author:** [@wazza](https://forum.kirupa.com/u/wazza)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 6:52pm UTC](https://forum.kirupa.com/t/order-issue-when-displaying-pictures-loaded-from-an-xml-file/277157 "2008-12-08T18:52:18Z")

</div>

Hi, Just a little problem a bit painful: - loading pics from paths in an XML file, - once loaded they are positionned one on the right of the other (depending on their specific width) as thumbnails in the bottom of th…

---

## [Stop sound effect on MOUSE\_UP?](https://forum.kirupa.com/t/stop-sound-effect-on-mouse-up/277152)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 6:03pm UTC](https://forum.kirupa.com/t/stop-sound-effect-on-mouse-up/277152 "2008-12-08T18:03:28Z")

</div>

I am trying to get my mp3 to stop once the mouse is released as in the code below. I keep getting this error though: 1061: Call to a possibly undefined method stop through a reference with static type flash.media:Soun…

---

## [Tutorial request: Parralax effect](https://forum.kirupa.com/t/tutorial-request-parralax-effect/277150)

<div class="topic-metadata">

**Author:** [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 5:22pm UTC](https://forum.kirupa.com/t/tutorial-request-parralax-effect/277150 "2008-12-08T17:22:45Z")

</div>

Dear reader, I would like to request a tutorial for a parralax effect. I've spotted a couple months ago a beautiful internetsite (http://www.chromazone-imaging.co.uk/). For my own site I want to sort of duplicate the p…

---

## [InputField select text on click](https://forum.kirupa.com/t/inputfield-select-text-on-click/277149)

<div class="topic-metadata">

**Author:** [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 4:59pm UTC](https://forum.kirupa.com/t/inputfield-select-text-on-click/277149 "2008-12-08T16:59:15Z")

</div>

I have an inputfield which is prefilled with a numbers - in order to change the number currently i have to click inside the field, highlight the number and then replace it with the new one.. i want when i click inside th…

---

## [Loading/ Unloading external swf](https://forum.kirupa.com/t/loading-unloading-external-swf/277147)

<div class="topic-metadata">

**Author:** [@Dan008](https://forum.kirupa.com/u/Dan008)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 4:06pm UTC](https://forum.kirupa.com/t/loading-unloading-external-swf/277147 "2008-12-08T16:06:45Z")

</div>

hi there, anyone could help me on this, I am loading an external swf file into my main swf movie with a button. But I donot know how to unload it. Here are the scripts. on (release) {loadMovie("Main content.swf","Mai…

---

## [Google Ad within flash](https://forum.kirupa.com/t/google-ad-within-flash/277146)

<div class="topic-metadata">

**Author:** [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 3:47pm UTC](https://forum.kirupa.com/t/google-ad-within-flash/277146 "2008-12-08T15:47:58Z")

</div>

my flash file has different pages and on every page flip i want to track the hits using GoogleAd.. this is how i am trying to get it within flash: onClipEvent (load) { getURL("javascript:pageTracker.\_trackPageview('/…

---

## [Buttons inside movie clips....HELP!](https://forum.kirupa.com/t/buttons-inside-movie-clips-help/277144)

<div class="topic-metadata">

**Author:** [@eziduzit](https://forum.kirupa.com/u/eziduzit)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 3:37pm UTC](https://forum.kirupa.com/t/buttons-inside-movie-clips-help/277144 "2008-12-08T15:37:12Z")

</div>

I have two movie clips with buttons inside them. I'm trying to get the two buttons to jump to a frame on the main timeline. I used the following code on the first button: this.onEnterFrame = function() { choose\_st…

---

## [Maintaining button down states during video timecode events?](https://forum.kirupa.com/t/maintaining-button-down-states-during-video-timecode-events/277141)

<div class="topic-metadata">

**Author:** [@catisoutside](https://forum.kirupa.com/u/catisoutside)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 2:58pm UTC](https://forum.kirupa.com/t/maintaining-button-down-states-during-video-timecode-events/277141 "2008-12-08T14:58:01Z")

</div>

Hi all, I was wondering if it is possible to create a function that listens for a certain frame of time to be reached in a streaming video, and then moves a certain button to its down state. I can’t find an example …

---

## [Upgrade from MX2004 to Flash Media Interactive Srvr 3](https://forum.kirupa.com/t/upgrade-from-mx2004-to-flash-media-interactive-srvr-3/277140)

<div class="topic-metadata">

**Author:** [@housej55](https://forum.kirupa.com/u/housej55)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 2:03pm UTC](https://forum.kirupa.com/t/upgrade-from-mx2004-to-flash-media-interactive-srvr-3/277140 "2008-12-08T14:03:32Z")

</div>

Hello, We are currently using Flash MX 2004 server. In order to prepare for an upgrade to Flash Media Interactive Server 3, I cloned this server to make a VMWare image. I am working now in the VMWare server and noticed i…

---

## [Button to close window CS3](https://forum.kirupa.com/t/button-to-close-window-cs3/277139)

<div class="topic-metadata">

**Author:** [@RelaxedGiraffe](https://forum.kirupa.com/u/RelaxedGiraffe)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 1:45pm UTC](https://forum.kirupa.com/t/button-to-close-window-cs3/277139 "2008-12-08T13:45:33Z")

</div>

First time poster, fairly new to flash. Especially ActionScript3. I am finishing off some work and not sure what code is required on CS3 to close the flash player window by the click of a button. Any help is much app…

---

## [Using Form Components to navigate timeline](https://forum.kirupa.com/t/using-form-components-to-navigate-timeline/277138)

<div class="topic-metadata">

**Author:** [@ajflash77](https://forum.kirupa.com/u/ajflash77)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 1:14pm UTC](https://forum.kirupa.com/t/using-form-components-to-navigate-timeline/277138 "2008-12-08T13:14:18Z")

</div>

Hey, I'm trying to use form components like radio buttons and check boxes to navigate through the timeline. I find in Actionscript 2 I can set actions to them: goto and stop (for example) which is exactly what I want. …

---

## [Embed FLV into SWF](https://forum.kirupa.com/t/embed-flv-into-swf/277137)

<div class="topic-metadata">

**Author:** [@OML](https://forum.kirupa.com/u/OML)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 1:13pm UTC](https://forum.kirupa.com/t/embed-flv-into-swf/277137 "2008-12-08T13:13:45Z")

</div>

Hi, I'm trying to embed an FLV into a .SWF file including player controls. Using the import tool only places instances of these files on the stage, while still referencing the files externally. I need 1 SWF that has th…

---

## [Continuous sound loop](https://forum.kirupa.com/t/continuous-sound-loop/277136)

<div class="topic-metadata">

**Author:** [@dataxa](https://forum.kirupa.com/u/dataxa)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 12:55pm UTC](https://forum.kirupa.com/t/continuous-sound-loop/277136 "2008-12-08T12:55:35Z")

</div>

My problem is very simple. Check this tutorial and you can hear a very short paus between every loop. http://www.kirupa.com/developer/actionscript/sound.htm I have noticed that with WAV the break is shorter than wi…

---

## [Internet detection](https://forum.kirupa.com/t/internet-detection/277134)

<div class="topic-metadata">

**Author:** [@Mikecoleman79](https://forum.kirupa.com/u/Mikecoleman79)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 11:57am UTC](https://forum.kirupa.com/t/internet-detection/277134 "2008-12-08T11:57:22Z")

</div>

\[COLOR=black\]Hello all,\[/COLOR\] \[COLOR=black\]Before I start I’ve tried searching the internet and this site for my answer but to no avail. Basically I'm stuck in a project where I have flash files from a DVD which play…

---

## [Flash Stage resize and positioning](https://forum.kirupa.com/t/flash-stage-resize-and-positioning/277131)

<div class="topic-metadata">

**Author:** [@isekream](https://forum.kirupa.com/u/isekream)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 10:04am UTC](https://forum.kirupa.com/t/flash-stage-resize-and-positioning/277131 "2008-12-08T10:04:39Z")

</div>

I have a flash app located at http://www.triniscene.com/tsv7/galleries/?page=flash now I want the flash dimensions to set to any reasonable size dimension in the HTML...while the movie adapts to the Stage dimensions.…

---

## [ComboBox Linkage Identifier Error . Help](https://forum.kirupa.com/t/combobox-linkage-identifier-error-help/277130)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 9:24am UTC](https://forum.kirupa.com/t/combobox-linkage-identifier-error-help/277130 "2008-12-08T09:24:36Z")

</div>

Warning The linkage identifier 'ComboBox' was already assigned to the symbol 'ComboBox', and cannot be assigned to the symbol 'GUI MC/Combo Boxes/abc', since linkage identifiers must be unique. Warning The linkage identi…

---

## [Is it possible to change the F/R from a public static function?](https://forum.kirupa.com/t/is-it-possible-to-change-the-f-r-from-a-public-static-function/277129)

<div class="topic-metadata">

**Author:** [@rustyleaf](https://forum.kirupa.com/u/rustyleaf)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 9:17am UTC](https://forum.kirupa.com/t/is-it-possible-to-change-the-f-r-from-a-public-static-function/277129 "2008-12-08T09:17:09Z")

</div>

I am trying to change the frame-rate inside a public static function but keep getting the error: 1120: Access of undefined property stage. My import statement: import flash.display.Stage; makes no difference. Any…

---

## [How do i aviod jumpy animation on Button Up & Over?](https://forum.kirupa.com/t/how-do-i-aviod-jumpy-animation-on-button-up-over/277126)

<div class="topic-metadata">

**Author:** [@helious](https://forum.kirupa.com/u/helious)\
**Replies:** 0\
**Last updated:** [December 8, 2008, 7:40am UTC](https://forum.kirupa.com/t/how-do-i-aviod-jumpy-animation-on-button-up-over/277126 "2008-12-08T07:40:55Z")

</div>

A question for ya \[smile\] If im making af button, with a Up, and Over animation for Roll over and Roll out, how do i then aviod the animation to be jumpy, if you roll out, before the roll over animation has played? i…

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

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