# programming

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

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

**Page:** 1243

---

## [How can I flatten all the layers of a flash animation?](https://forum.kirupa.com/t/how-can-i-flatten-all-the-layers-of-a-flash-animation/260153)

<div class="topic-metadata">

**Author:** [@hypeforlife91](https://forum.kirupa.com/u/hypeforlife91)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 1:02am UTC](https://forum.kirupa.com/t/how-can-i-flatten-all-the-layers-of-a-flash-animation/260153 "2008-05-13T01:02:50Z")

</div>

Hi, I've seen in this tutorial: http://www.kirupa.com/developer/mx/cartoon.htm and downloaded the .fla file and I've seen that it's all flattened into one layer and the frames of that layer are also all flattened. How ca…

---

## [Add stop and resume for my clock](https://forum.kirupa.com/t/add-stop-and-resume-for-my-clock/260155)

<div class="topic-metadata">

**Author:** [@bilberry](https://forum.kirupa.com/u/bilberry)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 12:50am UTC](https://forum.kirupa.com/t/add-stop-and-resume-for-my-clock/260155 "2008-05-13T00:50:16Z")

</div>

// loon põhiobjektile uue objekti nimega " kell " \_root.createEmptyMovieClip("kell", 10); //loon tekstivälja jaoks kujunduse tekstivorm = new TextFormat(); tekstivorm.bold=false; tekstivorm.color=(0xAA00000); tekstivor…

---

## [31, 41, 61 Fps?](https://forum.kirupa.com/t/31-41-61-fps/260150)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 12:41am UTC](https://forum.kirupa.com/t/31-41-61-fps/260150 "2008-05-13T00:41:39Z")

</div>

Hey, I downloaded a few bits of code from here in the last week, and although I can't recall precisely which ones, some of them add a 1 on to the target frames per second. Could you tell me why this is? I always just…

---

## [Enemy walking / take away health & lives](https://forum.kirupa.com/t/enemy-walking-take-away-health-lives/260146)

<div class="topic-metadata">

**Author:** [@Amymation](https://forum.kirupa.com/u/Amymation)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 12:31am UTC](https://forum.kirupa.com/t/enemy-walking-take-away-health-lives/260146 "2008-05-13T00:31:48Z")

</div>

Ok so I have a platform game and I have two types of enemies. Type 1 = Takes away 1 life if collides with character Type 2 = Takes away 5hp (health points) if collides with character. I know this sounds nooby but I was…

---

## [String to MovieClip?](https://forum.kirupa.com/t/string-to-movieclip/254375)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 12:01am UTC](https://forum.kirupa.com/t/string-to-movieclip/254375 "2008-05-13T00:01:48Z")

</div>

I have some MovieClips in my library, each with a class name and exported for actionscript. What I want to do is add the movieclips to my stage by having the user click on a relevant button. To keep things simple, I have…

---

## [Edit fla file](https://forum.kirupa.com/t/edit-fla-file/260145)

<div class="topic-metadata">

**Author:** [@ofi](https://forum.kirupa.com/u/ofi)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 11:33pm UTC](https://forum.kirupa.com/t/edit-fla-file/260145 "2008-05-12T23:33:44Z")

</div>

Hi I am new in this and trying to learn flash, how can i edit fla file, i have the orginal file

---

## [PV3D - Mac Click of Browser Bug](https://forum.kirupa.com/t/pv3d-mac-click-of-browser-bug/259786)

<div class="topic-metadata">

**Author:** [@BrAnDX105](https://forum.kirupa.com/u/BrAnDX105)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 10:56pm UTC](https://forum.kirupa.com/t/pv3d-mac-click-of-browser-bug/259786 "2008-05-12T22:56:22Z")

</div>

The only time I have ran into this bug is on a Mac leading me to believe that it's the Mac version of the Flash player that has the bug and not the browsers them self. I started playing around with PaperVision3d a week …

---

## [CS3 AS2 playtoAndStop](https://forum.kirupa.com/t/cs3-as2-playtoandstop/260140)

<div class="topic-metadata">

**Author:** [@ericvecchi](https://forum.kirupa.com/u/ericvecchi)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 10:35pm UTC](https://forum.kirupa.com/t/cs3-as2-playtoandstop/260140 "2008-05-12T22:35:47Z")

</div>

Hello everyone. I am hoping some genius flash guru can help me out. I am trying to get a movie clip to play to a certain frame and stop at that frame. I have multiple buttons that I am using to stop along different frame…

---

## [Going through random frames](https://forum.kirupa.com/t/going-through-random-frames/260113)

<div class="topic-metadata">

**Author:** [@inukai](https://forum.kirupa.com/u/inukai)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 10:10pm UTC](https://forum.kirupa.com/t/going-through-random-frames/260113 "2008-05-12T22:10:35Z")

</div>

In my movie I have a movie clip that I want to circulate between a random selection of 12 frames automatically. Basically I want the movie clip to load like this. Frame 3 Frame 5 Frame 2 Frame 3 Frame 10 ... I don't …

---

## [Any HTML event that could lend itself to an onscreen keyboard in AIR?](https://forum.kirupa.com/t/any-html-event-that-could-lend-itself-to-an-onscreen-keyboard-in-air/260139)

<div class="topic-metadata">

**Author:** [@mweier](https://forum.kirupa.com/u/mweier)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 9:54pm UTC](https://forum.kirupa.com/t/any-html-event-that-could-lend-itself-to-an-onscreen-keyboard-in-air/260139 "2008-05-12T21:54:15Z")

</div>

Still tinkering with AIR & have a rough proof of concept of a custom web-browser (using HTML objects to display internet-based HTML websites). This works fine but we're now looking into bringing a touch-screen keyboard …

---

## [Getting varibale into flash cross-server using FlashVars/Query string](https://forum.kirupa.com/t/getting-varibale-into-flash-cross-server-using-flashvars-query-string/260051)

<div class="topic-metadata">

**Author:** [@StuartLeigh](https://forum.kirupa.com/u/StuartLeigh)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 9:38pm UTC](https://forum.kirupa.com/t/getting-varibale-into-flash-cross-server-using-flashvars-query-string/260051 "2008-05-12T21:38:29Z")

</div>

Ok I have a problem, in that my flash wont do what I want it to. I would like to host a swf file on my server, and have my users able to embed it in their web pages (on their own servers). I would like a variable to be…

---

## [Organizing Data](https://forum.kirupa.com/t/organizing-data/259707)

<div class="topic-metadata">

**Author:** [@dreamerp](https://forum.kirupa.com/u/dreamerp)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 9:34pm UTC](https://forum.kirupa.com/t/organizing-data/259707 "2008-05-12T21:34:43Z")

</div>

Hey, I am using PHP and MySQL to allow a visitor to my web site enter in their specific intentions when recording using a camcorder, entering in their budget, and then it will search for camcorders that fit the budget …

---

## [XML displaying data](https://forum.kirupa.com/t/xml-displaying-data/260115)

<div class="topic-metadata">

**Author:** [@geminione](https://forum.kirupa.com/u/geminione)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 8:43pm UTC](https://forum.kirupa.com/t/xml-displaying-data/260115 "2008-05-12T20:43:18Z")

</div>

I'm trying to set up a simple document. Loads portfolio info from an XML file and generates buttons based on the number of projects in the file. My frustration is I can't figure out how to associate the record number of …

---

## [Tutorial: Spinning Preloader in Pure AS3](https://forum.kirupa.com/t/tutorial-spinning-preloader-in-pure-as3/260095)

<div class="topic-metadata">

**Author:** [@log2e](https://forum.kirupa.com/u/log2e)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 8:06pm UTC](https://forum.kirupa.com/t/tutorial-spinning-preloader-in-pure-as3/260095 "2008-05-12T20:06:12Z")

</div>

I just finished a tutorial on an all-time classic, the spinning preloader. -\> Link I hope you find the tutorial useful.

---

## [swfObject 2 - Not working in IE](https://forum.kirupa.com/t/swfobject-2-not-working-in-ie/260031)

<div class="topic-metadata">

**Author:** [@pablo\_2006](https://forum.kirupa.com/u/pablo_2006)\
**Replies:** 4\
**Last updated:** [May 12, 2008, 7:52pm UTC](https://forum.kirupa.com/t/swfobject-2-not-working-in-ie/260031 "2008-05-12T19:52:42Z")

</div>

I used the 'generator' to create the 'embed' code... works fine in FF, but not in IE. http://code.google.com/p/swfobject/ According to the waffle on the site, you don't need to use both \*\*embed \*\*and \*\*object \*\*tags …

---

## [XML Conundrum](https://forum.kirupa.com/t/xml-conundrum/250500)

<div class="topic-metadata">

**Author:** [@Mr\_Entropy](https://forum.kirupa.com/u/Mr_Entropy)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 7:51pm UTC](https://forum.kirupa.com/t/xml-conundrum/250500 "2008-05-12T19:51:54Z")

</div>

Hi all, I'm still a novice at ActionScript 3 and I was hoping to enlist your collective wisdom: I am trying to load an XML file into Flash CS3. I know there is already an excellent tutorial on this site (which I've rea…

---

## [Datefield UI Component](https://forum.kirupa.com/t/datefield-ui-component/260126)

<div class="topic-metadata">

**Author:** [@haimk63](https://forum.kirupa.com/u/haimk63)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 7:51pm UTC](https://forum.kirupa.com/t/datefield-ui-component/260126 "2008-05-12T19:51:47Z")

</div>

Hi! I am new to Flash 8 and I'm trying to use a datefield. I've seen it used in many sites and I've seen you can quickly scroll through months and years to arrive at the date you desire. However, when I put my datefie…

---

## [Tips for Tweening large movieclips for smooth movement?](https://forum.kirupa.com/t/tips-for-tweening-large-movieclips-for-smooth-movement/260124)

<div class="topic-metadata">

**Author:** [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 7:45pm UTC](https://forum.kirupa.com/t/tips-for-tweening-large-movieclips-for-smooth-movement/260124 "2008-05-12T19:45:19Z")

</div>

Hi there! Ive always had problems tweening big movieclips, motion isnt as smooth as I would like. I usually work in video so I am used to seeing everything precomposed! Are there any tips or best practices I can employ…

---

## [Small doubt for creating a Flash web](https://forum.kirupa.com/t/small-doubt-for-creating-a-flash-web/260117)

<div class="topic-metadata">

**Author:** [@troshan](https://forum.kirupa.com/u/troshan)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 7:05pm UTC](https://forum.kirupa.com/t/small-doubt-for-creating-a-flash-web/260117 "2008-05-12T19:05:00Z")

</div>

Hai friends, i have a small doubt How can i get the disappear(i used zoom out)Effect when i click another link i mean i want to get the zoom out effects for the previous movie clip when i click the next movie link. (I …

---

## [How do I create a flash music player in actionscript 1](https://forum.kirupa.com/t/how-do-i-create-a-flash-music-player-in-actionscript-1/260099)

<div class="topic-metadata">

**Author:** [@bloomc02](https://forum.kirupa.com/u/bloomc02)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 6:55pm UTC](https://forum.kirupa.com/t/how-do-i-create-a-flash-music-player-in-actionscript-1/260099 "2008-05-12T18:55:47Z")

</div>

Hi guys, the player needs to have a play, pause, stop, volume and also needs to show the track I'm currently listening to (play list). If you know any tutorials then I would much appreciate it:|

---

## [How to get dimensions of the SimpleButton implemented in as2 component](https://forum.kirupa.com/t/how-to-get-dimensions-of-the-simplebutton-implemented-in-as2-component/260110)

<div class="topic-metadata">

**Author:** [@sunny\_luthra](https://forum.kirupa.com/u/sunny_luthra)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 6:42pm UTC](https://forum.kirupa.com/t/how-to-get-dimensions-of-the-simplebutton-implemented-in-as2-component/260110 "2008-05-12T18:42:45Z")

</div>

Hi all, Need urgent help. Writing as2 component which uses SimpleButton \*\*class as an external class from component where I pass \*\*skin elements references, everything is fine. Now problem is:- When I call the i…

---

## [Search a string for html links](https://forum.kirupa.com/t/search-a-string-for-html-links/255651)

<div class="topic-metadata">

**Author:** [@bobcooper](https://forum.kirupa.com/u/bobcooper)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 6:39pm UTC](https://forum.kirupa.com/t/search-a-string-for-html-links/255651 "2008-05-12T18:39:54Z")

</div>

Hi There, Just wondering if anyone knows of a way to search a string for html links, the reason i ask is so that when my clients update their sites using external text files, all they have to do is type in www.somewher…

---

## [Displaying Text](https://forum.kirupa.com/t/displaying-text/260089)

<div class="topic-metadata">

**Author:** [@vivaretro](https://forum.kirupa.com/u/vivaretro)\
**Replies:** 5\
**Last updated:** [May 12, 2008, 6:26pm UTC](https://forum.kirupa.com/t/displaying-text/260089 "2008-05-12T18:26:48Z")

</div>

Hi, I swear I've gotten this to work when I just did it on the main timeline but as part of a package I can't seem to get my text to appear... package { import flash.text.\*; import flash.display.\*; import fl.transiti…

---

## [Use a class for similar but different buttons](https://forum.kirupa.com/t/use-a-class-for-similar-but-different-buttons/260054)

<div class="topic-metadata">

**Author:** [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 6:14pm UTC](https://forum.kirupa.com/t/use-a-class-for-similar-but-different-buttons/260054 "2008-05-12T18:14:05Z")

</div>

Hi, I want to create a class for a load of buttons, submit, reset, and some others. I need to know how to setup my class so certain functions only apply to certain buttons. The problem is I cannot refer to my buttons b…

---

## [Accessing a MovieClip inside of a Sprite?](https://forum.kirupa.com/t/accessing-a-movieclip-inside-of-a-sprite/260102)

<div class="topic-metadata">

**Author:** [@BahamutZaero](https://forum.kirupa.com/u/BahamutZaero)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 5:06pm UTC](https://forum.kirupa.com/t/accessing-a-movieclip-inside-of-a-sprite/260102 "2008-05-12T17:06:01Z")

</div>

I have a game where the user can drag objects around. However, these objects need to be clamped to certain areas, and are unable to move past other moveable objects. To achieve this clamping, I have placed a 25x25 pixe…

---

## [Multiple Collada loading](https://forum.kirupa.com/t/multiple-collada-loading/259988)

<div class="topic-metadata">

**Author:** [@BeechyBoy](https://forum.kirupa.com/u/BeechyBoy)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 4:47pm UTC](https://forum.kirupa.com/t/multiple-collada-loading/259988 "2008-05-12T16:47:11Z")

</div>

I have to display multiple Collada objects in a scene whos' individual information is listed in an XML document as nodes. Heres what needs to happen: Store item 'titles' and 'ids' inside an array from an XML document.…

---

## [Dynamic text input from generated text file](https://forum.kirupa.com/t/dynamic-text-input-from-generated-text-file/259929)

<div class="topic-metadata">

**Author:** [@SQuRIlLe](https://forum.kirupa.com/u/SQuRIlLe)\
**Replies:** 4\
**Last updated:** [May 12, 2008, 4:40pm UTC](https://forum.kirupa.com/t/dynamic-text-input-from-generated-text-file/259929 "2008-05-12T16:40:32Z")

</div>

Hello all, I’m currently doing work for a local cinema that wants session times to be displayed as .swf's on a few monitors in the foyer, but I’m having difficulties writing the script for it, here's the situation: The…

---

## [Website Counter](https://forum.kirupa.com/t/website-counter/260072)

<div class="topic-metadata">

**Author:** [@Still\_Learning](https://forum.kirupa.com/u/Still_Learning)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 4:20pm UTC](https://forum.kirupa.com/t/website-counter/260072 "2008-05-12T16:20:54Z")

</div>

Hi all, This is possibly soo simple, but how do I insert a web counter in flash?

---

## [Maximise components](https://forum.kirupa.com/t/maximise-components/260056)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 4:19pm UTC](https://forum.kirupa.com/t/maximise-components/260056 "2008-05-12T16:19:29Z")

</div>

Hi all, I've got a flex project made up of muliple components! What I want to do is give the user the option of maximising certain components so that all of the other components black out and the selected component tak…

---

## [System for Job Posting... Please help!](https://forum.kirupa.com/t/system-for-job-posting-please-help/260013)

<div class="topic-metadata">

**Author:** [@Dave321](https://forum.kirupa.com/u/Dave321)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 4:17pm UTC](https://forum.kirupa.com/t/system-for-job-posting-please-help/260013 "2008-05-12T16:17:24Z")

</div>

I'm trying to determine what would be the easiest/best way to have a site where users can post jobs. Basically, they would have to fill out a form with the basic information, and the info would be posted on the site's l…

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

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