# programming

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

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

**Page:** 568

---

## [Flash Script to make window flash if not in focus?](https://forum.kirupa.com/t/flash-script-to-make-window-flash-if-not-in-focus/304415)

<div class="topic-metadata">

**Author:** [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 4:57pm UTC](https://forum.kirupa.com/t/flash-script-to-make-window-flash-if-not-in-focus/304415 "2010-02-07T16:57:56Z")

</div>

Like my last thread, I have created an IM for my website and I am just wanting to add a few more things to it. Now I am trying to have the window flash when a new message is received. I am currently trying to use the c…

---

## [gotoAndStop is killing me (Flash CS4 AS2)](https://forum.kirupa.com/t/gotoandstop-is-killing-me-flash-cs4-as2/304414)

<div class="topic-metadata">

**Author:** [@Lunde79](https://forum.kirupa.com/u/Lunde79)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 4:47pm UTC](https://forum.kirupa.com/t/gotoandstop-is-killing-me-flash-cs4-as2/304414 "2010-02-07T16:47:54Z")

</div>

Hi every body. plz help me. I have a huge problem. My timeline has just passed 575 frames.....Why!? Each page has its own animation due to different background and content, and because transitions is the thing to me …

---

## [Built my own flash IM now need help setting text colors](https://forum.kirupa.com/t/built-my-own-flash-im-now-need-help-setting-text-colors/304413)

<div class="topic-metadata">

**Author:** [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 4:34pm UTC](https://forum.kirupa.com/t/built-my-own-flash-im-now-need-help-setting-text-colors/304413 "2010-02-07T16:34:13Z")

</div>

I have an IM that I use on my site which I have created from scratch and I need help with a simple feature. What I am trying to do is have each user be able to set their IM color in their user panel so when someone IM's…

---

## [Parent to Child as3](https://forum.kirupa.com/t/parent-to-child-as3/304404)

<div class="topic-metadata">

**Author:** [@dillpickle102](https://forum.kirupa.com/u/dillpickle102)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 1:23pm UTC](https://forum.kirupa.com/t/parent-to-child-as3/304404 "2010-02-07T13:23:34Z")

</div>

Alright this problem is driving me MAD!!! So I'm trying to get a child class to access an array from the parent class. I even told the compiler it's a Movie Clip and it's still being mean. Here's the code package…

---

## [Flash8 Help Needed: Preloader broken. :(](https://forum.kirupa.com/t/flash8-help-needed-preloader-broken/304403)

<div class="topic-metadata">

**Author:** [@themop](https://forum.kirupa.com/u/themop)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 12:23pm UTC](https://forum.kirupa.com/t/flash8-help-needed-preloader-broken/304403 "2010-02-07T12:23:55Z")

</div>

OK In a previous game on the same AS (2), I made a preloader, the code worked fine, all of the code was isolated on one frame so on another game I copied the frame and pasted into my other game. but the only difference i…

---

## [Hittest Help Request](https://forum.kirupa.com/t/hittest-help-request/304402)

<div class="topic-metadata">

**Author:** [@Jumpei](https://forum.kirupa.com/u/Jumpei)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 11:19am UTC](https://forum.kirupa.com/t/hittest-help-request/304402 "2010-02-07T11:19:07Z")

</div>

Hi, I am right in middle of learning flash and trying to create a simple game but I cannot get it to work properly. For example I am trying to make a baseball bat hit the ball. But when I run the hit.test script it hi…

---

## [addEventListener removeEventListener or?](https://forum.kirupa.com/t/addeventlistener-removeeventlistener-or/304399)

<div class="topic-metadata">

**Author:** [@papayrus](https://forum.kirupa.com/u/papayrus)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 8:27am UTC](https://forum.kirupa.com/t/addeventlistener-removeeventlistener-or/304399 "2010-02-07T08:27:39Z")

</div>

I have made the flash file into CS3 and simplified the idea a bit. Basically I want to click the box on the right to start playing the song and the spectrum and then if I click it again it will stop playing the song and …

---

## [Quick noob question - reference null object problem](https://forum.kirupa.com/t/quick-noob-question-reference-null-object-problem/304398)

<div class="topic-metadata">

**Author:** [@sampson](https://forum.kirupa.com/u/sampson)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 8:16am UTC](https://forum.kirupa.com/t/quick-noob-question-reference-null-object-problem/304398 "2010-02-07T08:16:22Z")

</div>

Hi, if i make say a button in my timeline, convert it to a button. and then remove it from the stage (it is still in the library) in my exeternal .as file how can i then place that movieclip on the stage? i know how to d…

---

## [Kirupa xml thumbnail gallery tutorial](https://forum.kirupa.com/t/kirupa-xml-thumbnail-gallery-tutorial/304396)

<div class="topic-metadata">

**Author:** [@wh1012](https://forum.kirupa.com/u/wh1012)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 4:06am UTC](https://forum.kirupa.com/t/kirupa-xml-thumbnail-gallery-tutorial/304396 "2010-02-07T04:06:33Z")

</div>

How would I go about editing the code for this tutorial: http://www.kirupa.com/developer/mx2004/thumbnails.htm so that there are 8 thumbnails displayed at a time and instead of scrolling based on mouse position, the …

---

## [Import XML to List Box and load image on change](https://forum.kirupa.com/t/import-xml-to-list-box-and-load-image-on-change/304395)

<div class="topic-metadata">

**Author:** [@golfman76](https://forum.kirupa.com/u/golfman76)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 3:43am UTC](https://forum.kirupa.com/t/import-xml-to-list-box-and-load-image-on-change/304395 "2010-02-07T03:43:59Z")

</div>

I am trying to use a list box to show a list of items, and load different images as referenced in the XML when the user changes the selection in the list box. I have the list box created, and have written out a text ar…

---

## [Text Scroll loop problem](https://forum.kirupa.com/t/text-scroll-loop-problem/304394)

<div class="topic-metadata">

**Author:** [@TerraAustralia](https://forum.kirupa.com/u/TerraAustralia)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 2:42am UTC](https://forum.kirupa.com/t/text-scroll-loop-problem/304394 "2010-02-07T02:42:33Z")

</div>

I have a long column of text which I want to make into a tween loop with a stop/go toggle in AS. My problem is creating the text loop so that it reads in continuous paragraphs and does not have a big white space between…

---

## [\[AS2\] Cross Domain SharedObject?](https://forum.kirupa.com/t/as2-cross-domain-sharedobject/304392)

<div class="topic-metadata">

**Author:** [@Mental](https://forum.kirupa.com/u/Mental)\
**Replies:** 0\
**Last updated:** [February 7, 2010, 12:53am UTC](https://forum.kirupa.com/t/as2-cross-domain-sharedobject/304392 "2010-02-07T00:53:53Z")

</div>

Hi, Does anyone know if it is possible to access a SharedObject from another domain in AS2? I found a blog entry in how to do it in AS3 at: http://jodieorourke.com/view.php?id=115&blog=news. But I'm too stupid to rep…

---

## [String compare doesn't work](https://forum.kirupa.com/t/string-compare-doesnt-work/304387)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 9:14pm UTC](https://forum.kirupa.com/t/string-compare-doesnt-work/304387 "2010-02-06T21:14:04Z")

</div>

How to compare a string with strings inside an array for a match? I have a file in which each sentence (or word) (generally string) is present in a new line. Opened the file and read the contents to a string. priv…

---

## [scrollRect](https://forum.kirupa.com/t/scrollrect/304384)

<div class="topic-metadata">

**Author:** [@phil7](https://forum.kirupa.com/u/phil7)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 6:10pm UTC](https://forum.kirupa.com/t/scrollrect/304384 "2010-02-06T18:10:34Z")

</div>

Hi I have a large movie clip (2000px \* 2000px) and I was scrolling it over the stage by changing the movieclip.x and moviclip.y and using a mask. This method was ok, but slower cpu's were not handling it. So im using scr…

---

## [Scan line when scrolling image](https://forum.kirupa.com/t/scan-line-when-scrolling-image/304380)

<div class="topic-metadata">

**Author:** [@MartinTremblay](https://forum.kirupa.com/u/MartinTremblay)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 5:33pm UTC](https://forum.kirupa.com/t/scan-line-when-scrolling-image/304380 "2010-02-06T17:33:29Z")

</div>

I am scrolling an image and I can see a horizontal scan line when it move. I tried a lot of thing to solve this (recreated the image as a bitmap data, slicing the image in smaller pieces, making the bitmap at 99% scale…

---

## [PHP & XML problem](https://forum.kirupa.com/t/php-xml-problem/304376)

<div class="topic-metadata">

**Author:** [@prakash\_rc](https://forum.kirupa.com/u/prakash_rc)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 3:49pm UTC](https://forum.kirupa.com/t/php-xml-problem/304376 "2010-02-06T15:49:00Z")

</div>

Hello... I have been trying to fix a problem for the last 2 days...but have been unsuccessful. Here is what I need. I have an XML file:sample content of myxmlfile.xml \<feedstart\> \<mainnode id="1A" offid="X13"\> \<d…

---

## [Creating Text Dynamically](https://forum.kirupa.com/t/creating-text-dynamically/304375)

<div class="topic-metadata">

**Author:** [@goalieguy6](https://forum.kirupa.com/u/goalieguy6)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 3:05pm UTC](https://forum.kirupa.com/t/creating-text-dynamically/304375 "2010-02-06T15:05:26Z")

</div>

I'm currently working on a project where I need to create a grid of dynamic text boxes each displaying my specified number. I won't go into big specifics, since I can assign the values to each text box, but for some rea…

---

## [Customizing Tree Component Nodes](https://forum.kirupa.com/t/customizing-tree-component-nodes/304374)

<div class="topic-metadata">

**Author:** [@Trupti](https://forum.kirupa.com/u/Trupti)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 2:42pm UTC](https://forum.kirupa.com/t/customizing-tree-component-nodes/304374 "2010-02-06T14:42:46Z")

</div>

Hello everyone, Is there any way to access individual nodes of the tree component and change its font style or background color? I have tried using 'setPropertiesAt()' method but its not working. Any help??? Thanks…

---

## [Animating buttons on rollout...help please :)](https://forum.kirupa.com/t/animating-buttons-on-rollout-help-please/304366)

<div class="topic-metadata">

**Author:** [@MattyFlashNoob](https://forum.kirupa.com/u/MattyFlashNoob)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 10:10am UTC](https://forum.kirupa.com/t/animating-buttons-on-rollout-help-please/304366 "2010-02-06T10:10:00Z")

</div>

I would like to have a button animate on roll out, so if it fades to a color on mouse over it fades back on roll out. I understand you cant achieve this by putting action script on the button (well maybe you can) but is …

---

## [Continuous loop forward and backward](https://forum.kirupa.com/t/continuous-loop-forward-and-backward/304362)

<div class="topic-metadata">

**Author:** [@kittykittycat](https://forum.kirupa.com/u/kittykittycat)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 7:06am UTC](https://forum.kirupa.com/t/continuous-loop-forward-and-backward/304362 "2010-02-06T07:06:14Z")

</div>

Anyone have any clue how to make a Flash movie like this one? http://tmagazine.blogs.nytimes.com/2010/02/02/mens-fashion-the-joy-of-sets-2/ I could script a back button to go to a previous frame but how do I get that…

---

## [Jagged rotated lines](https://forum.kirupa.com/t/jagged-rotated-lines/304360)

<div class="topic-metadata">

**Author:** [@Mohit](https://forum.kirupa.com/u/Mohit)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 5:15am UTC](https://forum.kirupa.com/t/jagged-rotated-lines/304360 "2010-02-06T05:15:18Z")

</div>

Hi, I am facing a curious issue. Generally when we draw lines in Flash either vertically or horizontally or through exact 45 degrees on either of the sides, they come out as straight and anti-aliased. While if they ar…

---

## [Help with importing type. Flash 8](https://forum.kirupa.com/t/help-with-importing-type-flash-8/304359)

<div class="topic-metadata">

**Author:** [@TerraAustralia](https://forum.kirupa.com/u/TerraAustralia)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 1:59am UTC](https://forum.kirupa.com/t/help-with-importing-type-flash-8/304359 "2010-02-06T01:59:47Z")

</div>

I have a long column of text set Roman and Bold originally in InDesign CS2. I intend to use the type as a dynamic vertical scroll within Flash. But I cannot retain the type styles! I have: 1. saved the original ID text…

---

## [Accessing functions in separate AS file](https://forum.kirupa.com/t/accessing-functions-in-separate-as-file/304358)

<div class="topic-metadata">

**Author:** [@SarasotaTheBand](https://forum.kirupa.com/u/SarasotaTheBand)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 1:36am UTC](https://forum.kirupa.com/t/accessing-functions-in-separate-as-file/304358 "2010-02-06T01:36:00Z")

</div>

I'm working on an mp3 player. It makes use of a custom scrollbar I found here: http://www.flashscaper.com/blog/?p=3. I've gotten it to work so far, but there is one bit I would like to add. I would like it to scroll…

---

## [Sound in MovieClip Causing Frame Stutter](https://forum.kirupa.com/t/sound-in-movieclip-causing-frame-stutter/304357)

<div class="topic-metadata">

**Author:** [@bmarrant](https://forum.kirupa.com/u/bmarrant)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 1:27am UTC](https://forum.kirupa.com/t/sound-in-movieclip-causing-frame-stutter/304357 "2010-02-06T01:27:10Z")

</div>

Has anyone seen this issue or know how to solve it? I have a main MovieClip playing at 30 fps. At different points in the movie, I need to play a second MovieClip on top of the first as an effect. This effect has a s…

---

## [Import needed](https://forum.kirupa.com/t/import-needed/304356)

<div class="topic-metadata">

**Author:** [@Ghettobird](https://forum.kirupa.com/u/Ghettobird)\
**Replies:** 0\
**Last updated:** [February 6, 2010, 12:03am UTC](https://forum.kirupa.com/t/import-needed/304356 "2010-02-06T00:03:12Z")

</div>

Dear Kirupa, I'm trying to import the embed flash window on (www.blogTV.com) theres a flash thing that shows a live show. i need to import this in either another flash application or in a html document, the purpose i…

---

## [AS2 coverflow looping?](https://forum.kirupa.com/t/as2-coverflow-looping/304352)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 10:53pm UTC](https://forum.kirupa.com/t/as2-coverflow-looping/304352 "2010-02-05T22:53:37Z")

</div>

I have an AS2 coverflow image gallery project I've been working on and it works great! I actually got it from here: http://www.weberdesignlabs.com/blog/2009/12/flash-10-coverflow/ What I want to do is tweak it so that…

---

## [Preloader only appear after image finish loaded](https://forum.kirupa.com/t/preloader-only-appear-after-image-finish-loaded/304351)

<div class="topic-metadata">

**Author:** [@Evael](https://forum.kirupa.com/u/Evael)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 10:38pm UTC](https://forum.kirupa.com/t/preloader-only-appear-after-image-finish-loaded/304351 "2010-02-05T22:38:33Z")

</div>

Hi, Thanks for reading this thread. Am pretty new to AS3, so i might be asking silly question here… I seriously have no idea if i wrote my script wrongly cause the preloader only appear after the image is loaded. so wo…

---

## [htmlText Anchor tags do not support Title attribute for tooltips?](https://forum.kirupa.com/t/htmltext-anchor-tags-do-not-support-title-attribute-for-tooltips/304350)

<div class="topic-metadata">

**Author:** [@bhjodokast](https://forum.kirupa.com/u/bhjodokast)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 9:55pm UTC](https://forum.kirupa.com/t/htmltext-anchor-tags-do-not-support-title-attribute-for-tooltips/304350 "2010-02-05T21:55:43Z")

</div>

I'm working on a project and I'm encountering an issue with Flash's sporadic support of HTML 1.01 for textboxes that use .htmlText. The "Title" attribute is not supported for showing tooltips when you hover over the li…

---

## [Using storyboards to trigger different pages](https://forum.kirupa.com/t/using-storyboards-to-trigger-different-pages/304348)

<div class="topic-metadata">

**Author:** [@Shinfate](https://forum.kirupa.com/u/Shinfate)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 8:43pm UTC](https://forum.kirupa.com/t/using-storyboards-to-trigger-different-pages/304348 "2010-02-05T20:43:11Z")

</div>

Hello everybody, I'm new here. So am I new to silverlight. I am very determined to create cool apps with Silverlight, but as you could guess... I don't know where to start and how to start. I have purchased Expressio…

---

## [Flash lagging on slower machines...why?](https://forum.kirupa.com/t/flash-lagging-on-slower-machines-why/304347)

<div class="topic-metadata">

**Author:** [@alexnl](https://forum.kirupa.com/u/alexnl)\
**Replies:** 0\
**Last updated:** [February 5, 2010, 8:30pm UTC](https://forum.kirupa.com/t/flash-lagging-on-slower-machines-why/304347 "2010-02-05T20:30:03Z")

</div>

I created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using …

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

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