# programming

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

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

**Page:** 664

---

## [Preloader not showing until it is not needed](https://forum.kirupa.com/t/preloader-not-showing-until-it-is-not-needed/298304)

<div class="topic-metadata">

**Author:** [@Ashlev](https://forum.kirupa.com/u/Ashlev)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 8:44am UTC](https://forum.kirupa.com/t/preloader-not-showing-until-it-is-not-needed/298304 "2009-10-16T08:44:42Z")

</div>

Hi All I have a preloader that is not appearing until the movie has loaded 80% of its size. Until then all I get is a white screen. I have heard that it may have something to do classes and objects being exported/loade…

---

## [Replacing Components with MovieClips](https://forum.kirupa.com/t/replacing-components-with-movieclips/298302)

<div class="topic-metadata">

**Author:** [@nikneven](https://forum.kirupa.com/u/nikneven)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 7:30am UTC](https://forum.kirupa.com/t/replacing-components-with-movieclips/298302 "2009-10-16T07:30:42Z")

</div>

Ok, so I have a guest book that I am working off of, found here. But it uses the button component, which is just too large and unpretty for my tastes. How do I replace the button component with the myButton movieClip.…

---

## [Image gallery with scroller](https://forum.kirupa.com/t/image-gallery-with-scroller/298301)

<div class="topic-metadata">

**Author:** [@scottmac2009](https://forum.kirupa.com/u/scottmac2009)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 7:01am UTC](https://forum.kirupa.com/t/image-gallery-with-scroller/298301 "2009-10-16T07:01:58Z")

</div>

Hi there am after an image gallery with scroller that displays thumbnails only. I'd also like to have lightbox used in this as well instead of displaying the larger image in a window. Any help would be appreciated. …

---

## [AS2 problem with dynamic masks... again!](https://forum.kirupa.com/t/as2-problem-with-dynamic-masks-again/298300)

<div class="topic-metadata">

**Author:** [@charco](https://forum.kirupa.com/u/charco)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 6:42am UTC](https://forum.kirupa.com/t/as2-problem-with-dynamic-masks-again/298300 "2009-10-16T06:42:41Z")

</div>

Hello it's me again still struggling with a project. I decided to try to use setInterval for myanimation, which is just a mouse trail. However, I'm trying to get teh mouse trail to be a dynamic mask. In my previous swf t…

---

## [Using Proxy to foreach over a custom collection, using a Dictionary as storage](https://forum.kirupa.com/t/using-proxy-to-foreach-over-a-custom-collection-using-a-dictionary-as-storage/298297)

<div class="topic-metadata">

**Author:** [@secoif](https://forum.kirupa.com/u/secoif)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 5:34am UTC](https://forum.kirupa.com/t/using-proxy-to-foreach-over-a-custom-collection-using-a-dictionary-as-storage/298297 "2009-10-16T05:34:14Z")

</div>

Hi. So I want to be able to implement some kind of interface that allows me to abstract the specific implementation of the storage I'm using. I'm having it store 'Pin' Objects (which have a name property among other th…

---

## [One button stops working](https://forum.kirupa.com/t/one-button-stops-working/298296)

<div class="topic-metadata">

**Author:** [@n01d3a](https://forum.kirupa.com/u/n01d3a)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 5:11am UTC](https://forum.kirupa.com/t/one-button-stops-working/298296 "2009-10-16T05:11:12Z")

</div>

I am creating a flash website, I have some movie clips that hold the contents. (ie I have a movie clip to hold my navigation buttons and another to hold the actual content.) I wrote some action script on a separate layer…

---

## [Beginner: changing frame from within HTML rendered content](https://forum.kirupa.com/t/beginner-changing-frame-from-within-html-rendered-content/298295)

<div class="topic-metadata">

**Author:** [@bjitt](https://forum.kirupa.com/u/bjitt)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 4:58am UTC](https://forum.kirupa.com/t/beginner-changing-frame-from-within-html-rendered-content/298295 "2009-10-16T04:58:42Z")

</div>

Beginner question here to which I haven't found an answer to: I have an external XML document loading within flash and was wondering if it it's possible to change a frame/label from withing HTML rendered content using ge…

---

## [Getting parent MC properties, named by XML attribute](https://forum.kirupa.com/t/getting-parent-mc-properties-named-by-xml-attribute/298293)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 3:33am UTC](https://forum.kirupa.com/t/getting-parent-mc-properties-named-by-xml-attribute/298293 "2009-10-16T03:33:54Z")

</div>

I've created an amount of MC based on my XMLlist, and each assign with an attribute/ID stated in the XML. I'm now trying to trace back the parent of the assigned MC properties, how could I do that? \[COLOR=#000080\]\<MEM…

---

## [New linked MC's not looking like original ones](https://forum.kirupa.com/t/new-linked-mcs-not-looking-like-original-ones/298292)

<div class="topic-metadata">

**Author:** [@smidge](https://forum.kirupa.com/u/smidge)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 3:05am UTC](https://forum.kirupa.com/t/new-linked-mcs-not-looking-like-original-ones/298292 "2009-10-16T03:05:08Z")

</div>

Hi all, trying to make a very small change to an animation i need to edit. I'm simply adding an extra button which links externally. The problem is, the code below makes the buttons change size and colour when hovered …

---

## [Desperately need some help! Flash Projector wont open PDF's on Mac from CD](https://forum.kirupa.com/t/desperately-need-some-help-flash-projector-wont-open-pdfs-on-mac-from-cd/298291)

<div class="topic-metadata">

**Author:** [@Solidus](https://forum.kirupa.com/u/Solidus)\
**Replies:** 0\
**Last updated:** [October 16, 2009, 12:40am UTC](https://forum.kirupa.com/t/desperately-need-some-help-flash-projector-wont-open-pdfs-on-mac-from-cd/298291 "2009-10-16T00:40:53Z")

</div>

Hey guys, I have made a ton of cd's in the past that have a presentation and using the following kind of code: on (release) { getURL("YonderMediaBusPlan.pdf","blank"); } have links that when clicked open a brows…

---

## [SOUND\_COMPLETE fires too early](https://forum.kirupa.com/t/sound-complete-fires-too-early/298289)

<div class="topic-metadata">

**Author:** [@frazzle](https://forum.kirupa.com/u/frazzle)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 11:29pm UTC](https://forum.kirupa.com/t/sound-complete-fires-too-early/298289 "2009-10-15T23:29:59Z")

</div>

Please help me, I've been tearing my hair out over this for a week now! I am building an MP3 player and for some reason the SOUND\_COMPLETE event is firing too early. If I play the sound from the beginning then all seem…

---

## [Embedding Somthing in FlashDevelop](https://forum.kirupa.com/t/embedding-somthing-in-flashdevelop/298279)

<div class="topic-metadata">

**Author:** [@nvidia](https://forum.kirupa.com/u/nvidia)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 8:22pm UTC](https://forum.kirupa.com/t/embedding-somthing-in-flashdevelop/298279 "2009-10-15T20:22:53Z")

</div>

Hi, i wanted to ask, when using FlashDevelop to embed images in a class, the code lines, public class MyClass extends Sprite { \[Embed(source='../lib/lancer\_evo\_bitmaps.jpg')\] private var \_imgClass:Class; private var …

---

## [Adjust Tone of Hex Color](https://forum.kirupa.com/t/adjust-tone-of-hex-color/298278)

<div class="topic-metadata">

**Author:** [@pardoner](https://forum.kirupa.com/u/pardoner)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 8:19pm UTC](https://forum.kirupa.com/t/adjust-tone-of-hex-color/298278 "2009-10-15T20:19:55Z")

</div>

I'm starting off with two colors ( 0xa0b1cf, 0x000000 ) and 10 Shapes and I want to blend the colors from 0xa0b1cf to 0x000000 across all 10 Shapes. Is there a way to pragmatically increase the tone of a hex color? som…

---

## [EventObject: Object Oriented Events in AS3](https://forum.kirupa.com/t/eventobject-object-oriented-events-in-as3/298277)

<div class="topic-metadata">

**Author:** [@DoomGoober](https://forum.kirupa.com/u/DoomGoober)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 8:16pm UTC](https://forum.kirupa.com/t/eventobject-object-oriented-events-in-as3/298277 "2009-10-15T20:16:06Z")

</div>

This forum has been very useful to me, so I thought I'd share some code and return the favor. Do you ever find yourself staring at a class asking "What events does this thing raise?" The only way to find out is to look…

---

## [Custom Scroller help](https://forum.kirupa.com/t/custom-scroller-help/298276)

<div class="topic-metadata">

**Author:** [@pbfro](https://forum.kirupa.com/u/pbfro)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 7:54pm UTC](https://forum.kirupa.com/t/custom-scroller-help/298276 "2009-10-15T19:54:38Z")

</div>

Hi all, For some reason I've hit a wall on this. Trying to make a custom scroller which works but the odd thing is that when i drag the scroller to the bottom, the content scrolls the opposite way. So when the scroller…

---

## [Paste bitmap](https://forum.kirupa.com/t/paste-bitmap/298274)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 7:16pm UTC](https://forum.kirupa.com/t/paste-bitmap/298274 "2009-10-15T19:16:32Z")

</div>

I'm looking for a technique that allows user to paste a bitmap (like print screen) into a flash application (browser). It can't be done with only flash but maybe in combination with javascript, php, or something else? A…

---

## [HitTest with circle](https://forum.kirupa.com/t/hittest-with-circle/298273)

<div class="topic-metadata">

**Author:** [@iCon1980](https://forum.kirupa.com/u/iCon1980)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 7:06pm UTC](https://forum.kirupa.com/t/hittest-with-circle/298273 "2009-10-15T19:06:19Z")

</div>

Hi, I would like to know when a circle hits a square. Following code returns true when the rectangle of the MovieClip (blue) hits the square and not the circle itself: circle.hitTestObject(square); In as2 you had…

---

## [Easy Programming Question](https://forum.kirupa.com/t/easy-programming-question/298267)

<div class="topic-metadata">

**Author:** [@marcelomdsc](https://forum.kirupa.com/u/marcelomdsc)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 6:28pm UTC](https://forum.kirupa.com/t/easy-programming-question/298267 "2009-10-15T18:28:08Z")

</div>

Hello, I know very little programming and I have a doubt. If I have for example a simple timeline with 2 labels. The first one is called "Intro" and the second one is called "Loop". So I would like to make the playhe…

---

## [Using an object's parent](https://forum.kirupa.com/t/using-an-objects-parent/298266)

<div class="topic-metadata">

**Author:** [@jik\_ff](https://forum.kirupa.com/u/jik_ff)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 6:21pm UTC](https://forum.kirupa.com/t/using-an-objects-parent/298266 "2009-10-15T18:21:32Z")

</div>

I currently move an object from one container to another in a function of said obect. In the same function I wish to move it back to the initial container which is an extension of Sprite. how do I reference it? Example,…

---

## [Sound : manage loading problem](https://forum.kirupa.com/t/sound-manage-loading-problem/298264)

<div class="topic-metadata">

**Author:** [@scoch](https://forum.kirupa.com/u/scoch)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:46pm UTC](https://forum.kirupa.com/t/sound-manage-loading-problem/298264 "2009-10-15T17:46:08Z")

</div>

Hello, I've made an audio player loading a xml playlist and then external mp3s. It works fine. But the server seems to be slow and sometimes loading an mp3 does not complete, loading stops (at 60% for example) and n…

---

## [Flash video export pixelated?](https://forum.kirupa.com/t/flash-video-export-pixelated/298263)

<div class="topic-metadata">

**Author:** [@Mark2000](https://forum.kirupa.com/u/Mark2000)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:41pm UTC](https://forum.kirupa.com/t/flash-video-export-pixelated/298263 "2009-10-15T17:41:59Z")

</div>

I'm exporting some 1280x720 HD vid from a typical vector cartoon made in flash. I've used PNG, Animation, and 8bit Uncompressed and still my vid looks pixelated in the fine details. Exporting a still the same size gives …

---

## [Playing until Certain Frame](https://forum.kirupa.com/t/playing-until-certain-frame/298262)

<div class="topic-metadata">

**Author:** [@snobdr8](https://forum.kirupa.com/u/snobdr8)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:38pm UTC](https://forum.kirupa.com/t/playing-until-certain-frame/298262 "2009-10-15T17:38:00Z")

</div>

Hey everyone, I was wondering if it's possible to set up a listener that is triggered when a movieclip hits a certain frame number. I was thinking it would go something like this: myClip.addEventListener(Event.ENTE…

---

## [How to effectively separte content from graphics?](https://forum.kirupa.com/t/how-to-effectively-separte-content-from-graphics/298261)

<div class="topic-metadata">

**Author:** [@substorm](https://forum.kirupa.com/u/substorm)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:23pm UTC](https://forum.kirupa.com/t/how-to-effectively-separte-content-from-graphics/298261 "2009-10-15T17:23:45Z")

</div>

I am pretty new to flash but I've taken on a bigger project where there will be constant updates to the website's content. I would like to completely separate the content (text, image gallery, audio/video files, etc) fr…

---

## [PHP Google Search Result script](https://forum.kirupa.com/t/php-google-search-result-script/298259)

<div class="topic-metadata">

**Author:** [@ashadweb](https://forum.kirupa.com/u/ashadweb)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 5:01pm UTC](https://forum.kirupa.com/t/php-google-search-result-script/298259 "2009-10-15T17:01:18Z")

</div>

I want to make a script which will do the below: VisitGoogle.co.uk (pages from UK) And enter a keyword Ex: “web hosting” Get all the search results from page 2-7 for example, or page 4-15, will vary. Need to c…

---

## [SwapDepths and gotoAndPlay Movie problems](https://forum.kirupa.com/t/swapdepths-and-gotoandplay-movie-problems/298258)

<div class="topic-metadata">

**Author:** [@Sptnkk](https://forum.kirupa.com/u/Sptnkk)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 4:09pm UTC](https://forum.kirupa.com/t/swapdepths-and-gotoandplay-movie-problems/298258 "2009-10-15T16:09:02Z")

</div>

I am trying to get a FLA to work correctly. I have 4 movies that I want to play with a navigation swapping the movies to the front as clicked. When I use the navigation, the first few movies work great, but as I click th…

---

## [Using dynamic text box variables in email script](https://forum.kirupa.com/t/using-dynamic-text-box-variables-in-email-script/298257)

<div class="topic-metadata">

**Author:** [@matlock](https://forum.kirupa.com/u/matlock)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 3:49pm UTC](https://forum.kirupa.com/t/using-dynamic-text-box-variables-in-email-script/298257 "2009-10-15T15:49:41Z")

</div>

I could really use some help! Here's my question. If a user makes a number of selections from visual indicators on frame 1 of a Flash 8 file and textual descriptions of those selections are then actionscripted into dynam…

---

## [FLV funky in FF - works but doesn't](https://forum.kirupa.com/t/flv-funky-in-ff-works-but-doesnt/298256)

<div class="topic-metadata">

**Author:** [@dude9er](https://forum.kirupa.com/u/dude9er)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 3:27pm UTC](https://forum.kirupa.com/t/flv-funky-in-ff-works-but-doesnt/298256 "2009-10-15T15:27:45Z")

</div>

I have used the FLV component in Flash and am having some problems with it working in FF. It does not play when the direct URL is: http://www.somesite.com However, it does work when the direct URL is: http://somesite…

---

## [mc\_tween2 to zigoEngine help!](https://forum.kirupa.com/t/mc-tween2-to-zigoengine-help/298255)

<div class="topic-metadata">

**Author:** [@tdcsurf](https://forum.kirupa.com/u/tdcsurf)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 3:09pm UTC](https://forum.kirupa.com/t/mc-tween2-to-zigoengine-help/298255 "2009-10-15T15:09:33Z")

</div>

Please, I need help. I'm so frustrated... I know that it's easier then I'm making it out to be but: The first line of code: transBG\_mc.mask\_mc.alphaTo(100,0.7,undefined,0,function () I cant seem to convert to zig…

---

## [Cleaning Embed Code](https://forum.kirupa.com/t/cleaning-embed-code/298253)

<div class="topic-metadata">

**Author:** [@smoke10010](https://forum.kirupa.com/u/smoke10010)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 2:59pm UTC](https://forum.kirupa.com/t/cleaning-embed-code/298253 "2009-10-15T14:59:42Z")

</div>

Hello, I have embedded videos on my site but a lot of forums are having trouble with it. I need to clean up the embed code if that's possible. Here's an example: \<embed width="640" height="480" quality="high" wmode="…

---

## [Pausing & Resume Sound](https://forum.kirupa.com/t/pausing-resume-sound/298251)

<div class="topic-metadata">

**Author:** [@mild7lites](https://forum.kirupa.com/u/mild7lites)\
**Replies:** 0\
**Last updated:** [October 15, 2009, 2:23pm UTC](https://forum.kirupa.com/t/pausing-resume-sound/298251 "2009-10-15T14:23:09Z")

</div>

Hello all, I'm trying to pause and resume play a background sound loop and tweens with the same button. The animation pauses and resumes fine. But when the music resumes, it gets cut-off early, and it doesn't loop anym…

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

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