# flash

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

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

**Page:** 1258

---

## [Photo Gallery in AS3](https://forum.kirupa.com/t/photo-gallery-in-as3/235783)

<div class="topic-metadata">

**Author:** [@Overshee](https://forum.kirupa.com/u/Overshee)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 6:47pm UTC](https://forum.kirupa.com/t/photo-gallery-in-as3/235783 "2007-08-14T18:47:25Z")

</div>

So I need/want to design a photo gallery for actionscript 3. However, getting it to work is an issue, due to my lack of knowledge and the lack of any tutorials for AS3. I have used a combination of the AS3 XML tutori…

---

## [Scoping Question... Delegate vs. Instance \[as2.0 class\]](https://forum.kirupa.com/t/scoping-question-delegate-vs-instance-as2-0-class/235780)

<div class="topic-metadata">

**Author:** [@wilbur\_b7](https://forum.kirupa.com/u/wilbur_b7)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 6:36pm UTC](https://forum.kirupa.com/t/scoping-question-delegate-vs-instance-as2-0-class/235780 "2007-08-14T18:36:18Z")

</div>

when i'm coding directly on the timeline, i usually create a var like this: var home:MovieClip = this; so i always have something to reference the main timeline's scope. how could i do this in a class? delegate.cre…

---

## [Trouble with nested flv video - what am i missing?](https://forum.kirupa.com/t/trouble-with-nested-flv-video-what-am-i-missing/235779)

<div class="topic-metadata">

**Author:** [@Darth\_Nihilus](https://forum.kirupa.com/u/Darth_Nihilus)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 6:29pm UTC](https://forum.kirupa.com/t/trouble-with-nested-flv-video-what-am-i-missing/235779 "2007-08-14T18:29:53Z")

</div>

I have a slideshow template I have been using for a client that is simple, just audio and slides. However, the client now wants to add a video clip to 3 of the slides. I am able to get the video to play back fine whe…

---

## [Something I would like to share](https://forum.kirupa.com/t/something-i-would-like-to-share/235778)

<div class="topic-metadata">

**Author:** [@theonlycarmire](https://forum.kirupa.com/u/theonlycarmire)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 5:44pm UTC](https://forum.kirupa.com/t/something-i-would-like-to-share/235778 "2007-08-14T17:44:03Z")

</div>

Hey guys, I have here a pretty simple little piece of code, but one that comes in real handy. Ever publish a movie with a lot of button events, only to realize that someone can easily cycle through those using the "tab…

---

## [I could really use a new Library](https://forum.kirupa.com/t/i-could-really-use-a-new-library/235775)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 5:17pm UTC](https://forum.kirupa.com/t/i-could-really-use-a-new-library/235775 "2007-08-14T17:17:14Z")

</div>

I was just wondering, is anyone else in the same boat as myself? The Flash CS3 Library, usually a thin sliver on the side of the screen, mostly contains information that is of no use to me. Out of its five columns- Name,…

---

## [Different Tags in xml file](https://forum.kirupa.com/t/different-tags-in-xml-file/235774)

<div class="topic-metadata">

**Author:** [@wackel\_dackel](https://forum.kirupa.com/u/wackel_dackel)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 5:11pm UTC](https://forum.kirupa.com/t/different-tags-in-xml-file/235774 "2007-08-14T17:11:55Z")

</div>

\[FONT=Arial\] Hello, \[/FONT\] \[FONT=Arial\] short question for a stupid but sucking problem: \[/FONT\] \[FONT=Arial\] Im importing xml to flash. \[/FONT\] \[FONT=Arial\] It works fine as long as i use this kind of T…

---

## [Fade in, Pause, fade out - AS](https://forum.kirupa.com/t/fade-in-pause-fade-out-as/235772)

<div class="topic-metadata">

**Author:** [@yolkSac](https://forum.kirupa.com/u/yolkSac)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 4:40pm UTC](https://forum.kirupa.com/t/fade-in-pause-fade-out-as/235772 "2007-08-14T16:40:13Z")

</div>

Looking for actionscript that will fade in an image - hold for 5 seconds - fade out & fade in another image - hold 5 sec - etc.. etc.. I know there is a fade in the transition classes & i know about the setInterval thi…

---

## [Text formatting pains](https://forum.kirupa.com/t/text-formatting-pains/235762)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 3:00pm UTC](https://forum.kirupa.com/t/text-formatting-pains/235762 "2007-08-14T15:00:48Z")

</div>

parts of this will work. the agentText.leading= 133; does not respond. textColour seems to work fine. any advice??? var fmt:TextFormat = new TextFormat(); agentText.setNewTextFormat(fmt); agentText.leading= 133; age…

---

## [How do I import a psd shape into flash as vector?](https://forum.kirupa.com/t/how-do-i-import-a-psd-shape-into-flash-as-vector/235759)

<div class="topic-metadata">

**Author:** [@Line](https://forum.kirupa.com/u/Line)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 2:48pm UTC](https://forum.kirupa.com/t/how-do-i-import-a-psd-shape-into-flash-as-vector/235759 "2007-08-14T14:48:11Z")

</div>

How do I import a psd shape into flash as vector? I imported with cs3 psd to cs3 flash and clicked on the layer which was the shape layer, chose, keep as editable path, but I imported it and it imported it as a transpa…

---

## [XSPF query?](https://forum.kirupa.com/t/xspf-query/235755)

<div class="topic-metadata">

**Author:** [@Jmezp21](https://forum.kirupa.com/u/Jmezp21)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 2:07pm UTC](https://forum.kirupa.com/t/xspf-query/235755 "2007-08-14T14:07:17Z")

</div>

Hey, I have several playlist files for an XSPF player that i'm using. I want to click an image on my page and it open the relevant playlist file in my player. Would ActionScript be a good method to use? I don't want to u…

---

## [Which is faster? Multi-buffering or double-buffering?](https://forum.kirupa.com/t/which-is-faster-multi-buffering-or-double-buffering/235752)

<div class="topic-metadata">

**Author:** [@Glidias](https://forum.kirupa.com/u/Glidias)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 1:50pm UTC](https://forum.kirupa.com/t/which-is-faster-multi-buffering-or-double-buffering/235752 "2007-08-14T13:50:25Z")

</div>

MULTI-BUFFERING Screen Buffer ---\> To another BmpData via copyPixels Layer1 extends BitmapData (with many this.copyPixels for this layer locally) Layer2 extends BitmapData (with many this.copyPixels for this layer l…

---

## [Getting all children of XML node](https://forum.kirupa.com/t/getting-all-children-of-xml-node/235751)

<div class="topic-metadata">

**Author:** [@Capiright](https://forum.kirupa.com/u/Capiright)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 1:37pm UTC](https://forum.kirupa.com/t/getting-all-children-of-xml-node/235751 "2007-08-14T13:37:53Z")

</div>

hey, I got some old XMLs where the single nodes are not closed with /tag: \<tag attrib="1" /\> as oppose to \<tag attrib="2" \>\</tag\> now i did the little following code \_xmlData = new XML(); \_xmlData = \<test na…

---

## [Pre rendering a perlin Noise animation](https://forum.kirupa.com/t/pre-rendering-a-perlin-noise-animation/235749)

<div class="topic-metadata">

**Author:** [@Glidias](https://forum.kirupa.com/u/Glidias)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 1:02pm UTC](https://forum.kirupa.com/t/pre-rendering-a-perlin-noise-animation/235749 "2007-08-14T13:02:54Z")

</div>

Is there a way to pre-render a BitmapData.perlinNoise moving animation into a seamless loop of 10-12 frames from which copypixels could be used on the resultant sprite strip to produce fast resuilts?

---

## [UIscrollBar - positioning the scroller](https://forum.kirupa.com/t/uiscrollbar-positioning-the-scroller/235748)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 12:58pm UTC](https://forum.kirupa.com/t/uiscrollbar-positioning-the-scroller/235748 "2007-08-14T12:58:29Z")

</div>

Hello hello, Simple problem for anyone that know the bloody keyword I'm supposed to be using here. I'm attempting to get my UIscrollBar to reposition the scroller to the top every time there's new text loaded into the t…

---

## [Round off decimals easily?](https://forum.kirupa.com/t/round-off-decimals-easily/235746)

<div class="topic-metadata">

**Author:** [@flesh](https://forum.kirupa.com/u/flesh)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 12:56pm UTC](https://forum.kirupa.com/t/round-off-decimals-easily/235746 "2007-08-14T12:56:55Z")

</div>

As the title, is there a class method in Flash to limit and round of a number's decimals ? Like : roundToTwoDecimals(1.2362 ) = 1.24 Thanks in advance fellow flashers!

---

## [Gallery code - can it run smoother?](https://forum.kirupa.com/t/gallery-code-can-it-run-smoother/235745)

<div class="topic-metadata">

**Author:** [@AgentOrange](https://forum.kirupa.com/u/AgentOrange)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 12:53pm UTC](https://forum.kirupa.com/t/gallery-code-can-it-run-smoother/235745 "2007-08-14T12:53:18Z")

</div>

Hi all, I'm working on an XML driven picture gallery and by cobbling together odds n' sods from this forum I've managed to get a close approximation of what I'm after. My AS skills are in their infancy at present so I'm …

---

## [Kirupa's adding thumbnail tutorial with easing thumbs](https://forum.kirupa.com/t/kirupas-adding-thumbnail-tutorial-with-easing-thumbs/235741)

<div class="topic-metadata">

**Author:** [@Magdy](https://forum.kirupa.com/u/Magdy)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 12:28pm UTC](https://forum.kirupa.com/t/kirupas-adding-thumbnail-tutorial-with-easing-thumbs/235741 "2007-08-14T12:28:50Z")

</div>

Hi everybody, I’m new to the forum and i would like some help. I was learning how to add thumbnails to a photo slideshow from kirupa’s tutorial: adding thumbnails, but i would like to learn how to add some easing to th…

---

## [Exporting/Publish to QuickTime Problems](https://forum.kirupa.com/t/exporting-publish-to-quicktime-problems/235740)

<div class="topic-metadata">

**Author:** [@joshgreenb1](https://forum.kirupa.com/u/joshgreenb1)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 12:01pm UTC](https://forum.kirupa.com/t/exporting-publish-to-quicktime-problems/235740 "2007-08-14T12:01:47Z")

</div>

Hi Guys, I've created an animation in Flash 8 and it publishes and displays perfectly to .swf. When I publish to QuickTime (I'm running Version 7.2.0) the first half of the animation is not displaying. I've included a .z…

---

## [Passing variables in event listeners](https://forum.kirupa.com/t/passing-variables-in-event-listeners/235739)

<div class="topic-metadata">

**Author:** [@rlowenberg](https://forum.kirupa.com/u/rlowenberg)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 11:53am UTC](https://forum.kirupa.com/t/passing-variables-in-event-listeners/235739 "2007-08-14T11:53:45Z")

</div>

Hey guys, I'm aware that there has been a bunch of discussion on this already here and on other forums, but I just don't see how the custom AS3 events can help me with this one. I'm probably missing something obvious. …

---

## [Problem With Streming Audio And Video](https://forum.kirupa.com/t/problem-with-streming-audio-and-video/235737)

<div class="topic-metadata">

**Author:** [@Saddu](https://forum.kirupa.com/u/Saddu)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 11:40am UTC](https://forum.kirupa.com/t/problem-with-streming-audio-and-video/235737 "2007-08-14T11:40:22Z")

</div>

Hi all ... i was doing a streaming player using flash 8 and RED5, everything is working fine in that , the problem is after some 10 seconds of playing the file , its buffering for 10 seconds and then playing , i want t…

---

## [Making a scolling timeline](https://forum.kirupa.com/t/making-a-scolling-timeline/235736)

<div class="topic-metadata">

**Author:** [@spaghbol](https://forum.kirupa.com/u/spaghbol)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 11:29am UTC](https://forum.kirupa.com/t/making-a-scolling-timeline/235736 "2007-08-14T11:29:48Z")

</div>

Hi all, CS3/AS2, It's been a while I know but I'm back to ask for more help lol. You probably thought you got rid of me but not quite haha! \[beer\] I am working on a timeline (imagine one you would see in a history…

---

## [Sorting XML Category via attributes HELP!](https://forum.kirupa.com/t/sorting-xml-category-via-attributes-help/235734)

<div class="topic-metadata">

**Author:** [@flycom](https://forum.kirupa.com/u/flycom)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 11:06am UTC](https://forum.kirupa.com/t/sorting-xml-category-via-attributes-help/235734 "2007-08-14T11:06:50Z")

</div>

Hello @ll. I have problem with sorting categories via attributes: my Xml file look like that: \<xml\> \<data Default="show all" \> \<item client="client Name" regie="Mike" cat="2007" /\> \<item client="client Name" regie…

---

## [Dynamic Background size - Help please!](https://forum.kirupa.com/t/dynamic-background-size-help-please/235733)

<div class="topic-metadata">

**Author:** [@hxckid](https://forum.kirupa.com/u/hxckid)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 11:00am UTC](https://forum.kirupa.com/t/dynamic-background-size-help-please/235733 "2007-08-14T11:00:06Z")

</div>

Hi everyone, I seemed to find this question asked an awful lot but never any answers, so here goes. What I want to do is have a full browser flash site that uses background images. In time, I want these to be random/chan…

---

## [sendAndLoad and textformat](https://forum.kirupa.com/t/sendandload-and-textformat/235731)

<div class="topic-metadata">

**Author:** [@ari\_widjanarko](https://forum.kirupa.com/u/ari_widjanarko)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 10:38am UTC](https://forum.kirupa.com/t/sendandload-and-textformat/235731 "2007-08-14T10:38:36Z")

</div>

Hi all, I'm a designer trying to do a little scripting, so lease forgive me if my code is sloppy. I'm trying to send an email, something like this: function sendform(){ if (validate()) { my\_lv = new LoadVars (); m…

---

## [sendAndLoad with a local file](https://forum.kirupa.com/t/sendandload-with-a-local-file/235725)

<div class="topic-metadata">

**Author:** [@thegaffer](https://forum.kirupa.com/u/thegaffer)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 9:55am UTC](https://forum.kirupa.com/t/sendandload-with-a-local-file/235725 "2007-08-14T09:55:55Z")

</div>

I'm trying to load a text file from a Local Network Drive rather than from the web. I have the following code which worked with a sendAndLoad web address and adapted it to try and get it from the drive (s:) I have tr…

---

## [Moving Object: Return to base position first!](https://forum.kirupa.com/t/moving-object-return-to-base-position-first/235722)

<div class="topic-metadata">

**Author:** [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 9:07am UTC](https://forum.kirupa.com/t/moving-object-return-to-base-position-first/235722 "2007-08-14T09:07:53Z")

</div>

Hello, I have the following problem: i want to move an object (graphic/movieclip/whatever) to different positions by the use of several buttons. The problem is however that I dont know how to do this..hehe..is there so…

---

## [\[Fx\] DragEvent on Sprite - not working](https://forum.kirupa.com/t/fx-dragevent-on-sprite-not-working/235721)

<div class="topic-metadata">

**Author:** [@pete\_zahut](https://forum.kirupa.com/u/pete_zahut)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 8:54am UTC](https://forum.kirupa.com/t/fx-dragevent-on-sprite-not-working/235721 "2007-08-14T08:54:03Z")

</div>

Is it possible to have the drag/drop area as a Sprite? \[AS\]var spr:Sprite = this.rawChildren.getChildByName(cd.target) as Sprite; spr.addEventListener(DragEvent.DRAG\_DROP,doDragDrop); spr.addEventListener(DragEvent.DRA…

---

## [Add in auto load pic for none xml gallery](https://forum.kirupa.com/t/add-in-auto-load-pic-for-none-xml-gallery/235717)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 6:56am UTC](https://forum.kirupa.com/t/add-in-auto-load-pic-for-none-xml-gallery/235717 "2007-08-14T06:56:47Z")

</div>

I need to add in a code to ask the gallery to auto load in the next pic, but how? // add in the new auto load pic code here delay = 3; function slideshow() { myInterval = setInterval(pause\_slideshow, delay); f…

---

## [Movieclip to mouse click position](https://forum.kirupa.com/t/movieclip-to-mouse-click-position/235710)

<div class="topic-metadata">

**Author:** [@xajin](https://forum.kirupa.com/u/xajin)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 5:27am UTC](https://forum.kirupa.com/t/movieclip-to-mouse-click-position/235710 "2007-08-14T05:27:28Z")

</div>

I was wondering how I would setup a flash movie to animate a movieclip to move to wherever the mouse was clicked, like a person walking to the clicked position BUT I want to be able to make it stop if it encounters a wal…

---

## [On disconnection of camera or microphone](https://forum.kirupa.com/t/on-disconnection-of-camera-or-microphone/235708)

<div class="topic-metadata">

**Author:** [@flexbond](https://forum.kirupa.com/u/flexbond)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 5:13am UTC](https://forum.kirupa.com/t/on-disconnection-of-camera-or-microphone/235708 "2007-08-14T05:13:59Z")

</div>

hi friends, i am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between rec…

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

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