# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=658

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

**Page:** 659

---

## [Alpha keeps gradually increasing](https://forum.kirupa.com/t/alpha-keeps-gradually-increasing/285511)

<div class="topic-metadata">

**Author:** [@redelite](https://forum.kirupa.com/u/redelite)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 6:49pm UTC](https://forum.kirupa.com/t/alpha-keeps-gradually-increasing/285511 "2009-04-01T18:49:10Z")

</div>

Okay, the set up. I have a MovieClip, "my\_mc", that is hidden and shown when you MouseOver a grey block that is on the stage, similar to a tool tip. Inside of this MovieClip is a TextField, "my\_textbox", and another Movi…

---

## [Adding objects to an array Problem](https://forum.kirupa.com/t/adding-objects-to-an-array-problem/285507)

<div class="topic-metadata">

**Author:** [@justinf](https://forum.kirupa.com/u/justinf)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:38pm UTC](https://forum.kirupa.com/t/adding-objects-to-an-array-problem/285507 "2009-04-01T17:38:10Z")

</div>

I'm having trouble with my code. I keep getting this error TypeError: Error #1009: Cannot access a property or method of a null object reference. at Test\_fla::MainTimeline/frame1() I believe it has something to do w…

---

## [FLA Policy?](https://forum.kirupa.com/t/fla-policy/285506)

<div class="topic-metadata">

**Author:** [@yolkSac](https://forum.kirupa.com/u/yolkSac)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:37pm UTC](https://forum.kirupa.com/t/fla-policy/285506 "2009-04-01T17:37:54Z")

</div>

Hey All.. This may be a stupid question but... Is it common practice to give your clients the finished FLA with your projects? I do not do much flash work so I am unsure of the legitimacy of the clients request and…

---

## [A better way of writing multi Movieclips](https://forum.kirupa.com/t/a-better-way-of-writing-multi-movieclips/285504)

<div class="topic-metadata">

**Author:** [@rypp77](https://forum.kirupa.com/u/rypp77)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:23pm UTC](https://forum.kirupa.com/t/a-better-way-of-writing-multi-movieclips/285504 "2009-04-01T17:23:47Z")

</div>

What is a better way of writing this. function fade() { root.mcBlue1.alpha = 50; root.mcBlue12.alpha = 50; root.mcBlue13.alpha = 50; root.mcBlue14.alpha = 50; root.mcBlue15.alpha = 50; root.mcBlue16.alpha = 50; root.mc…

---

## [Putting an object into an array problem](https://forum.kirupa.com/t/putting-an-object-into-an-array-problem/285503)

<div class="topic-metadata">

**Author:** [@justinf](https://forum.kirupa.com/u/justinf)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:18pm UTC](https://forum.kirupa.com/t/putting-an-object-into-an-array-problem/285503 "2009-04-01T17:18:13Z")

</div>

Wrong section, moved to actionscript 3 I'm having trouble with my code. I keep getting this error TypeError: Error #1009: Cannot access a property or method of a null object reference. at Test\_fla::MainTimeline/fram…

---

## [Adding Loaded Asset to Display Hierarchy Issue](https://forum.kirupa.com/t/adding-loaded-asset-to-display-hierarchy-issue/285499)

<div class="topic-metadata">

**Author:** [@fatPluto](https://forum.kirupa.com/u/fatPluto)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 4:25pm UTC](https://forum.kirupa.com/t/adding-loaded-asset-to-display-hierarchy-issue/285499 "2009-04-01T16:25:47Z")

</div>

I'm trying to load a jpg and display it, but it won't display. I have a class called Bike.as, linked to a movieClip in the library. The class essentially tweens a bike graphic across the stage. At the end of the tween, I…

---

## [Optimize a function](https://forum.kirupa.com/t/optimize-a-function/285496)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 3:54pm UTC](https://forum.kirupa.com/t/optimize-a-function/285496 "2009-04-01T15:54:20Z")

</div>

I composed this function to convert a number to a time format (HH:MM:SS.T): function convert\_sec\_HHMMSST(\_arg:Number):String { var hr:int; var hrText:String; var min:int; var minText:String; var sec:int; var sec…

---

## [Movieclip constantly over another Movieclip](https://forum.kirupa.com/t/movieclip-constantly-over-another-movieclip/285491)

<div class="topic-metadata">

**Author:** [@Ramzah](https://forum.kirupa.com/u/Ramzah)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 2:46pm UTC](https://forum.kirupa.com/t/movieclip-constantly-over-another-movieclip/285491 "2009-04-01T14:46:31Z")

</div>

Hi, I'm not to experienced with flash. However I believe I have found a solution to my problem, however I lack the AS know how to carry it through. I want to have one MC (which happens to be a camera function) to be on…

---

## [Upload ioError 2038](https://forum.kirupa.com/t/upload-ioerror-2038/285485)

<div class="topic-metadata">

**Author:** [@orin999](https://forum.kirupa.com/u/orin999)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 1:22pm UTC](https://forum.kirupa.com/t/upload-ioerror-2038/285485 "2009-04-01T13:22:37Z")

</div>

I have a project where a user can upload an image and it moved to the server via php. All worked fine when the file was flash 9 but I had to convert it to flash 10 for the extra BitmapData functionality. But now regard…

---

## [Play selected frames from a movie](https://forum.kirupa.com/t/play-selected-frames-from-a-movie/285484)

<div class="topic-metadata">

**Author:** [@polishdude](https://forum.kirupa.com/u/polishdude)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 1:05pm UTC](https://forum.kirupa.com/t/play-selected-frames-from-a-movie/285484 "2009-04-01T13:05:24Z")

</div>

Hi, Pologies for asking simple questions, i'm just starting flash... I made a movie button, with lots of animations and frames. The idea was to play part of that animation (frame 0 to 36) for MOUSE\_OVER and 36-end fr…

---

## [Get "node name" from XML using as3](https://forum.kirupa.com/t/get-node-name-from-xml-using-as3/285479)

<div class="topic-metadata">

**Author:** [@richarddd](https://forum.kirupa.com/u/richarddd)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 12:04pm UTC](https://forum.kirupa.com/t/get-node-name-from-xml-using-as3/285479 "2009-04-01T12:04:35Z")

</div>

Hi, I have this project where people load in diffrent .xml files. Since i don't know the structure of the xml (because the xml file is diffrent all the time), i need to be able to "get" the "node name". For example…

---

## [Adding a tweening class help](https://forum.kirupa.com/t/adding-a-tweening-class-help/285472)

<div class="topic-metadata">

**Author:** [@MrT](https://forum.kirupa.com/u/MrT)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:59am UTC](https://forum.kirupa.com/t/adding-a-tweening-class-help/285472 "2009-04-01T09:59:32Z")

</div>

Hello, hopefully someone can help me integrate a tweening class into my old method of making objects do stuff. I am a designer so its a pretty useful way of making things happen quickly but would really like more options…

---

## [Clear text field when clicked](https://forum.kirupa.com/t/clear-text-field-when-clicked/285471)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:37am UTC](https://forum.kirupa.com/t/clear-text-field-when-clicked/285471 "2009-04-01T09:37:09Z")

</div>

Hi I have a code that clear textfield when you click inside. My problem is that I have to many text fields so i am trying to write some function that can be used for all the text fields. What I can't do is to add so…

---

## [On load?](https://forum.kirupa.com/t/on-load/285470)

<div class="topic-metadata">

**Author:** [@RossKidd](https://forum.kirupa.com/u/RossKidd)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:27am UTC](https://forum.kirupa.com/t/on-load/285470 "2009-04-01T09:27:52Z")

</div>

is there an event listener that triggers only once when the movie loads? If not how can I simulate this? thanks.

---

## [Random movement in as3](https://forum.kirupa.com/t/random-movement-in-as3/285469)

<div class="topic-metadata">

**Author:** [@dilpreet](https://forum.kirupa.com/u/dilpreet)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 9:21am UTC](https://forum.kirupa.com/t/random-movement-in-as3/285469 "2009-04-01T09:21:41Z")

</div>

hey i am really a beginner in actionscript 3 i need to make an object move randomly around the stage on the click of a button and then stop the object using a different button thanx if anyone can help

---

## [AS2 - tutorial trouble](https://forum.kirupa.com/t/as2-tutorial-trouble/285467)

<div class="topic-metadata">

**Author:** [@jhf80](https://forum.kirupa.com/u/jhf80)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 7:23am UTC](https://forum.kirupa.com/t/as2-tutorial-trouble/285467 "2009-04-01T07:23:43Z")

</div>

Hi iwe been following a tutorial on how to make a vertical shooter in AS2 on:http://www.mrsunstudios.com/2009/01/tutorial-make-a-vertical-shooter-in-as2-part-2/ Annoying thing is, I cant get the final step on part two to…

---

## [I need to access/pass variables'(s) of an .swf file into another .swf file.But,How?](https://forum.kirupa.com/t/i-need-to-access-pass-variables-s-of-an-swf-file-into-another-swf-file-but-how/285466)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 7:05am UTC](https://forum.kirupa.com/t/i-need-to-access-pass-variables-s-of-an-swf-file-into-another-swf-file-but-how/285466 "2009-04-01T07:05:41Z")

</div>

Hi all, I have basic knowledge of Flash and AS3.0. Suppose i have a flash swf file(main.swf). In this main.swf file, i loaded another swf file(sub.swf) by writing the following code snippet…

---

## [Horizontal scroll bar](https://forum.kirupa.com/t/horizontal-scroll-bar/285465)

<div class="topic-metadata">

**Author:** [@saik](https://forum.kirupa.com/u/saik)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 7:00am UTC](https://forum.kirupa.com/t/horizontal-scroll-bar/285465 "2009-04-01T07:00:45Z")

</div>

I have made a horizontal scroll bar with the help of the tutorial(AS2) in this website.I want to know how to make it function like it does in the www.jwt.com website.The scroll face animates by itself according to the sc…

---

## [Need help in making Flash XML Photo Slideshow in Flash 8](https://forum.kirupa.com/t/need-help-in-making-flash-xml-photo-slideshow-in-flash-8/285461)

<div class="topic-metadata">

**Author:** [@adnandx](https://forum.kirupa.com/u/adnandx)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 6:06am UTC](https://forum.kirupa.com/t/need-help-in-making-flash-xml-photo-slideshow-in-flash-8/285461 "2009-04-01T06:06:32Z")

</div>

Need to make a slide show like the attached example. Need urgent help in details. It would be very helpful if anyone has source file to review. Thank you very much \[smile\]

---

## [Problem with visible = true & visible = false](https://forum.kirupa.com/t/problem-with-visible-true-visible-false/285458)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 4:49am UTC](https://forum.kirupa.com/t/problem-with-visible-true-visible-false/285458 "2009-04-01T04:49:01Z")

</div>

my\_Dyn\_Txt1.\_visible = false cb1.onRelease=function() { if(this.\_currentframe==1) { \_root.my\_Dyn\_Txt1.\_visible = true this.nextFrame() } else { \_root.my\_Dyn\_Txt1.\_visible = false this.prevFrame() } } Wh…

---

## [AS2 - Is there a way for flash to recognize color data in an image?](https://forum.kirupa.com/t/as2-is-there-a-way-for-flash-to-recognize-color-data-in-an-image/285455)

<div class="topic-metadata">

**Author:** [@mobhit101](https://forum.kirupa.com/u/mobhit101)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 2:06am UTC](https://forum.kirupa.com/t/as2-is-there-a-way-for-flash-to-recognize-color-data-in-an-image/285455 "2009-04-01T02:06:26Z")

</div>

Hello, First time posting but I've been frequenting these forums for some time now. I know there's a lot of smart people around here and hopefully there's a solution to this... Basically I have created a game that ra…

---

## [How do you get width at a given hieght?](https://forum.kirupa.com/t/how-do-you-get-width-at-a-given-hieght/285454)

<div class="topic-metadata">

**Author:** [@weavermount](https://forum.kirupa.com/u/weavermount)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 1:30am UTC](https://forum.kirupa.com/t/how-do-you-get-width-at-a-given-hieght/285454 "2009-04-01T01:30:33Z")

</div>

The best idea I had was getting the bounding box width, looping through that with point tests, and returning the number of hits. Can you think of a better idea?

---

## [Flash banner not an active link - why?](https://forum.kirupa.com/t/flash-banner-not-an-active-link-why/285453)

<div class="topic-metadata">

**Author:** [@heavythinker](https://forum.kirupa.com/u/heavythinker)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 12:18am UTC](https://forum.kirupa.com/t/flash-banner-not-an-active-link-why/285453 "2009-04-01T00:18:46Z")

</div>

Hi guys, I am having an issue with making a flash banner clickable. I cant figure out why. I had this site developed by a programmer and he has the site in php with includes files (so the header is in an "includes" folde…

---

## [Mouse Events and Button Mode in externally loaded swfs](https://forum.kirupa.com/t/mouse-events-and-button-mode-in-externally-loaded-swfs/285452)

<div class="topic-metadata">

**Author:** [@Tsukiyomi](https://forum.kirupa.com/u/Tsukiyomi)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:46pm UTC](https://forum.kirupa.com/t/mouse-events-and-button-mode-in-externally-loaded-swfs/285452 "2009-03-31T23:46:34Z")

</div>

I've looked around on this forum and others looking for an answer to this and I haven't found anything thats worked. If I missed the answer on here I apologize for the repeating topic. I have an external swf I created…

---

## [Problems with videos on the website](https://forum.kirupa.com/t/problems-with-videos-on-the-website/285450)

<div class="topic-metadata">

**Author:** [@deathz](https://forum.kirupa.com/u/deathz)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:42pm UTC](https://forum.kirupa.com/t/problems-with-videos-on-the-website/285450 "2009-03-31T23:42:17Z")

</div>

Hi guys, I'm having a problem trying to build a Video Portfolio for a client. Basically I have a portfolio.swf which has the main stage with a load\_videos MovieClip inside and a list of videos to select. When the us…

---

## [Help with loadmovie overlap!](https://forum.kirupa.com/t/help-with-loadmovie-overlap/285449)

<div class="topic-metadata">

**Author:** [@lorelei](https://forum.kirupa.com/u/lorelei)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:24pm UTC](https://forum.kirupa.com/t/help-with-loadmovie-overlap/285449 "2009-03-31T23:24:38Z")

</div>

Hola, I have several mcs that load with the following command: mc1.onRelease = function() { loadMovie ("movie.swf", "base\_mc"); } Base mc is my empty container movieclip. Basically I have a gallery with thu…

---

## [Loading multiple swf's in background?](https://forum.kirupa.com/t/loading-multiple-swfs-in-background/285444)

<div class="topic-metadata">

**Author:** [@pharcyde](https://forum.kirupa.com/u/pharcyde)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 9:40pm UTC](https://forum.kirupa.com/t/loading-multiple-swfs-in-background/285444 "2009-03-31T21:40:07Z")

</div>

Hi, I have tried a lot of different google searches to find an answer to my problem, but have come away more confused than anything! Also i'm working in AS2 (using Flash CS3). I have main.swf loaded first, and all I wa…

---

## [SetChildIndex Question](https://forum.kirupa.com/t/setchildindex-question/285442)

<div class="topic-metadata">

**Author:** [@skelebunny](https://forum.kirupa.com/u/skelebunny)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 8:51pm UTC](https://forum.kirupa.com/t/setchildindex-question/285442 "2009-03-31T20:51:46Z")

</div>

Hi, I have a movieclip that I bring forward to the top layer and have it play when you click a nav button. I want the same movie clip that is triggered to go back to it's original position once it's done playing. It's …

---

## [Adding a clip from the library](https://forum.kirupa.com/t/adding-a-clip-from-the-library/285438)

<div class="topic-metadata">

**Author:** [@mrbelv](https://forum.kirupa.com/u/mrbelv)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 8:06pm UTC](https://forum.kirupa.com/t/adding-a-clip-from-the-library/285438 "2009-03-31T20:06:20Z")

</div>

Is there any way to test if a clip exists in the library before you add it to the stage?

---

## ["Stream Not found" when go live](https://forum.kirupa.com/t/stream-not-found-when-go-live/285437)

<div class="topic-metadata">

**Author:** [@yunling](https://forum.kirupa.com/u/yunling)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 7:11pm UTC](https://forum.kirupa.com/t/stream-not-found-when-go-live/285437 "2009-03-31T19:11:25Z")

</div>

I was creating some kind of flv player. like this: http://yunling.public.cooliris.com/ndsi/test-video.html What I did was: (1) play a default flv first (2) when it gets the url from an external rss file, play the firs…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=657)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=659)
