# programming

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

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

**Page:** 1583

---

## [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…

---

## [Relational Database Inserts](https://forum.kirupa.com/t/relational-database-inserts/235777)

<div class="topic-metadata">

**Author:** [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 5:39pm UTC](https://forum.kirupa.com/t/relational-database-inserts/235777 "2007-08-14T17:39:31Z")

</div>

For a new project of mine I have used two tables that are tightly linked (sadly I can't show you the tables as its confidential \[even column titles\]) Any way my queries for getting stuff look like this: SELECT b.colum…

---

## [phpBB forum question?](https://forum.kirupa.com/t/phpbb-forum-question/235776)

<div class="topic-metadata">

**Author:** [@notsocoolxp](https://forum.kirupa.com/u/notsocoolxp)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 5:36pm UTC](https://forum.kirupa.com/t/phpbb-forum-question/235776 "2007-08-14T17:36:53Z")

</div>

On my phpBB forum when a user logs in I want the register link in the navigation to dissear. But I still want it to be visible when a user isnt logged in. How would I go about doing this. Thanks in advanced

---

## [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…

---

## [Flyout Broken in IE6](https://forum.kirupa.com/t/flyout-broken-in-ie6/235757)

<div class="topic-metadata">

**Author:** [@MaggieBroon](https://forum.kirupa.com/u/MaggieBroon)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 2:34pm UTC](https://forum.kirupa.com/t/flyout-broken-in-ie6/235757 "2007-08-14T14:34:16Z")

</div>

Can anyone give me any tips on why the flyout menu on this site wont play nice in IE6. It makes me wanna cry!! The rollover seems to be shorter in height than the button and the flyout doesnt appear!!

---

## [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…

---

## [Help with css table cell hover](https://forum.kirupa.com/t/help-with-css-table-cell-hover/235735)

<div class="topic-metadata">

**Author:** [@ht56y](https://forum.kirupa.com/u/ht56y)\
**Replies:** 0\
**Last updated:** [August 14, 2007, 11:16am UTC](https://forum.kirupa.com/t/help-with-css-table-cell-hover/235735 "2007-08-14T11:16:43Z")

</div>

I'm in the process of creating a new website, but ran into a problem with the menu: http://andalusiskforbegyndere.dk/Balkanfestudvalget/site\_skabelon.html The menu moves a little bit everytime you hover on a menu ite…

---

## [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…

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

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