# programming

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

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

**Page:** 515

---

## [Create slideshow on the fly](https://forum.kirupa.com/t/create-slideshow-on-the-fly/307869)

<div class="topic-metadata">

**Author:** [@limazita](https://forum.kirupa.com/u/limazita)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 2:06pm UTC](https://forum.kirupa.com/t/create-slideshow-on-the-fly/307869 "2010-04-12T14:06:06Z")

</div>

Hi, I am trying to create a flash program that will create a slideshow on the fly. I have a collection of music and images that I want to put in the show. The program will pick a piece to play randomly and the next i…

---

## [Cannot Call Same Function Twice (or more)](https://forum.kirupa.com/t/cannot-call-same-function-twice-or-more/307868)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 1:47pm UTC](https://forum.kirupa.com/t/cannot-call-same-function-twice-or-more/307868 "2010-04-12T13:47:44Z")

</div>

Hey everyone, I don't know if I'm coding things wrong or if this is just a flash bug because I can't call the same function more then once in a switch statement. The function itself is coded to attach a movieclip and …

---

## [Visual Studio 2008 help](https://forum.kirupa.com/t/visual-studio-2008-help/307866)

<div class="topic-metadata">

**Author:** [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 1:21pm UTC](https://forum.kirupa.com/t/visual-studio-2008-help/307866 "2010-04-12T13:21:04Z")

</div>

I am using Visual Studio 2008 and I have some html include files in a directory called includes in my project folder. When I view my web page with the View in Browser option the include files don't show up. Is there away…

---

## [Help with flash, php and cyrillic](https://forum.kirupa.com/t/help-with-flash-php-and-cyrillic/307865)

<div class="topic-metadata">

**Author:** [@ts87](https://forum.kirupa.com/u/ts87)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 1:20pm UTC](https://forum.kirupa.com/t/help-with-flash-php-and-cyrillic/307865 "2010-04-12T13:20:41Z")

</div>

Hello! I am making one flash project for online shopping. Everything is working great and i'm very pleased with the result for now. When the "Order" button is pressed the info is send to php file which sends info to the …

---

## [Enquiry Form – fullscreen problem](https://forum.kirupa.com/t/enquiry-form-fullscreen-problem/307860)

<div class="topic-metadata">

**Author:** [@stacy101](https://forum.kirupa.com/u/stacy101)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 11:56am UTC](https://forum.kirupa.com/t/enquiry-form-fullscreen-problem/307860 "2010-04-12T11:56:13Z")

</div>

Hi all, apologies if this has been covered in another thread but a quick search hasn't come up with the specific problem I'm encountering. I am having some problems with a simple enquiry form I've created. Basically …

---

## [Move Dynamic Sprites with scrollbar](https://forum.kirupa.com/t/move-dynamic-sprites-with-scrollbar/307853)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 4:25am UTC](https://forum.kirupa.com/t/move-dynamic-sprites-with-scrollbar/307853 "2010-04-12T04:25:37Z")

</div>

I created a bunch of sprites with drawRect(). These are superimposed on some key words in a textField for rollover effect. When I move the text up or down with the scrollbar, the sprites stay in place and are dislodged f…

---

## [Send to a friend form, want to pass additional text](https://forum.kirupa.com/t/send-to-a-friend-form-want-to-pass-additional-text/307851)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 2:04am UTC](https://forum.kirupa.com/t/send-to-a-friend-form-want-to-pass-additional-text/307851 "2010-04-12T02:04:12Z")

</div>

I have a Send to a Friend form I modified from lewip's awesome xml newsreader slideshow. http://www.kirupa.com/forum/showthread.php?t=258493 I have everything in the text inputs being passed correctly, but I would al…

---

## [setInterval with frames in AS3?](https://forum.kirupa.com/t/setinterval-with-frames-in-as3/307850)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 1:51am UTC](https://forum.kirupa.com/t/setinterval-with-frames-in-as3/307850 "2010-04-12T01:51:03Z")

</div>

if my memory's correct (sadly it's rarely correct) in AS2 you could choose to count the time either with frames or with milliseconds with setInterval? I just checked the AS3 version of it and it seems that it only allows…

---

## [Complex buttons assistance needed](https://forum.kirupa.com/t/complex-buttons-assistance-needed/307848)

<div class="topic-metadata">

**Author:** [@Spielmeister](https://forum.kirupa.com/u/Spielmeister)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 1:06am UTC](https://forum.kirupa.com/t/complex-buttons-assistance-needed/307848 "2010-04-12T01:06:10Z")

</div>

Hello. I'm working on a flash-based website for a future recording studio. Since yesterday I'm struggling to pull off some complex buttons with animation but in the end I end up having a problem. I did a website with c…

---

## [Socket](https://forum.kirupa.com/t/socket/307846)

<div class="topic-metadata">

**Author:** [@theBond](https://forum.kirupa.com/u/theBond)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 12:26am UTC](https://forum.kirupa.com/t/socket/307846 "2010-04-12T00:26:18Z")

</div>

Hello, Below is the code for socket server in PHP while(true) { $socketInput=socket\_read($comSocket, 1024); $socketOutput = strtoupper($socketInput); socket\_write($comSoc…

---

## [Finding a Variable Name in an Array ? (AS3)](https://forum.kirupa.com/t/finding-a-variable-name-in-an-array-as3/307845)

<div class="topic-metadata">

**Author:** [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Replies:** 0\
**Last updated:** [April 12, 2010, 12:19am UTC](https://forum.kirupa.com/t/finding-a-variable-name-in-an-array-as3/307845 "2010-04-12T00:19:49Z")

</div>

Hi, I have an array with about 80 variables in it and everything is working fine, but I can't seem to figure out how to produce a variable name from the array. Example: I sort my array to get the highest value, then I…

---

## [Playing Long Swf & Sync Audio/Video](https://forum.kirupa.com/t/playing-long-swf-sync-audio-video/307844)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 11:23pm UTC](https://forum.kirupa.com/t/playing-long-swf-sync-audio-video/307844 "2010-04-11T23:23:29Z")

</div>

Hi all, I have been wrestling with this for a while now. I have a long swf file that loads great, but the audio and video get off. If there any way to fix this? Thanks, Brandon

---

## [Caurina Tweener in AS3](https://forum.kirupa.com/t/caurina-tweener-in-as3/307843)

<div class="topic-metadata">

**Author:** [@nate51](https://forum.kirupa.com/u/nate51)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 11:23pm UTC](https://forum.kirupa.com/t/caurina-tweener-in-as3/307843 "2010-04-11T23:23:01Z")

</div>

I made a site using the Caurina Tweener class with AS3 and it works great in IE and Chrome, but for some reason in FireFox it loads really choppy and some of the color tweens dont work properly. I looked up the FAQ and…

---

## [DisplayObject error, Help!](https://forum.kirupa.com/t/displayobject-error-help/307842)

<div class="topic-metadata">

**Author:** [@brandonW](https://forum.kirupa.com/u/brandonW)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 10:13pm UTC](https://forum.kirupa.com/t/displayobject-error-help/307842 "2010-04-11T22:13:09Z")

</div>

I am loading multiple swf files and I get an error. All files do load. Error #2025: The supplied DisplayObject must be a child of the caller Below is a snippet of my code. Any help or advice would be greatly appreciat…

---

## [Users Currently Online (AS3/XML/PHP)](https://forum.kirupa.com/t/users-currently-online-as3-xml-php/307839)

<div class="topic-metadata">

**Author:** [@noahssite](https://forum.kirupa.com/u/noahssite)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 7:02pm UTC](https://forum.kirupa.com/t/users-currently-online-as3-xml-php/307839 "2010-04-11T19:02:41Z")

</div>

Hello, I recently made a chat room using Flash/AS3 as the interface and client, XML as the database and PHP to edit the XML file. While searching for similar chat clients over the internet I noticed that most of them h…

---

## [Problems closing netstream object](https://forum.kirupa.com/t/problems-closing-netstream-object/307836)

<div class="topic-metadata">

**Author:** [@m\_h\_w](https://forum.kirupa.com/u/m_h_w)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 5:57pm UTC](https://forum.kirupa.com/t/problems-closing-netstream-object/307836 "2010-04-11T17:57:14Z")

</div>

I am having trouble closing the netstream object. when i unload a videoclipthe video stream remains open. Im am fetching the external files like this: function contactClick(event:MouseEvent=null):void { nextCont…

---

## [Simple event handler for MC (AS3)](https://forum.kirupa.com/t/simple-event-handler-for-mc-as3/307835)

<div class="topic-metadata">

**Author:** [@ggatlanta](https://forum.kirupa.com/u/ggatlanta)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 5:39pm UTC](https://forum.kirupa.com/t/simple-event-handler-for-mc-as3/307835 "2010-04-11T17:39:04Z")

</div>

This should be easy, but I am unable to make it work. I am simply trying to start a timer when a dynamic movieclip ("mySlide") has finished playing. Here's my code: mySlide.addEventListener(Event.COMPLETE, startTimer)…

---

## [Accessing a movies library through SWFLoader](https://forum.kirupa.com/t/accessing-a-movies-library-through-swfloader/307834)

<div class="topic-metadata">

**Author:** [@Sammo](https://forum.kirupa.com/u/Sammo)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 4:52pm UTC](https://forum.kirupa.com/t/accessing-a-movies-library-through-swfloader/307834 "2010-04-11T16:52:20Z")

</div>

I'm looking into using Flex as a level editor for a flash game project I'm doing for my degree. However I would like to load the actual game.swf (where all the artwork is done) into the Flex editor, populating a tree/l…

---

## [Question answer game where answer revealed after 3 attempts](https://forum.kirupa.com/t/question-answer-game-where-answer-revealed-after-3-attempts/307833)

<div class="topic-metadata">

**Author:** [@nade93](https://forum.kirupa.com/u/nade93)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 4:33pm UTC](https://forum.kirupa.com/t/question-answer-game-where-answer-revealed-after-3-attempts/307833 "2010-04-11T16:33:08Z")

</div>

Hi All searched high and low and cannot find this answer. Basically I want to create 6 questions with input boxes next to them for the user to inset their answer. I want them to try three times and then if not corr…

---

## [What is your workflow for laying out graphics?](https://forum.kirupa.com/t/what-is-your-workflow-for-laying-out-graphics/307831)

<div class="topic-metadata">

**Author:** [@contrast](https://forum.kirupa.com/u/contrast)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 3:33pm UTC](https://forum.kirupa.com/t/what-is-your-workflow-for-laying-out-graphics/307831 "2010-04-11T15:33:12Z")

</div>

In Flash Builder for a Flex project, and in the Flash IDE for an AS3 project you can drag visual elements onto the screen to position them. I am working on an Air app and therefore is all AS3. How do you go about layi…

---

## [AS3 And Java Server](https://forum.kirupa.com/t/as3-and-java-server/307830)

<div class="topic-metadata">

**Author:** [@Undeqkeich](https://forum.kirupa.com/u/Undeqkeich)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 3:29pm UTC](https://forum.kirupa.com/t/as3-and-java-server/307830 "2010-04-11T15:29:33Z")

</div>

Hello, I'm learning Flash AS3 XMLSocket's and trying create Chat client with AS3 and Java ( For server ). My Chat client can send message to server but can't receive back message from server to Chat client. Maybe anyone …

---

## [\#NAN Nightmares](https://forum.kirupa.com/t/nan-nightmares/307827)

<div class="topic-metadata">

**Author:** [@Krabex](https://forum.kirupa.com/u/Krabex)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 3:03pm UTC](https://forum.kirupa.com/t/nan-nightmares/307827 "2010-04-11T15:03:17Z")

</div>

Hey there again. Im starting to get the hang of C++, enough for me to work on a game - but ive come across a problem when working on the enemy AI. Im trying to make BOIDS and ive ported some good AS3 code that ive used…

---

## [Scrolling Text Like this?](https://forum.kirupa.com/t/scrolling-text-like-this/307825)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 1:46pm UTC](https://forum.kirupa.com/t/scrolling-text-like-this/307825 "2010-04-11T13:46:50Z")

</div>

Is it possible to scroll text like this in flash? I have attached the picture. ty much

---

## [Multiplayer Card Game](https://forum.kirupa.com/t/multiplayer-card-game/307824)

<div class="topic-metadata">

**Author:** [@Nim](https://forum.kirupa.com/u/Nim)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 12:21pm UTC](https://forum.kirupa.com/t/multiplayer-card-game/307824 "2010-04-11T12:21:15Z")

</div>

I'm working on a card game. This card game is played with 4 player. I haven't read much about how to build a multiplayer flash game. I just wanted to get a taste and inform me about it. Let's consider that the card gam…

---

## [Scroll Problem but only Online](https://forum.kirupa.com/t/scroll-problem-but-only-online/307823)

<div class="topic-metadata">

**Author:** [@SLaY](https://forum.kirupa.com/u/SLaY)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 12:08pm UTC](https://forum.kirupa.com/t/scroll-problem-but-only-online/307823 "2010-04-11T12:08:08Z")

</div>

Hey ppl, I'm editing this template but there is a problem, when the page is online the scroll sometime doesnt work http://www.s2.com.pt/uniovo/main.html I don't understand why, in the swf everything is perfect, but w…

---

## [Function passed as parameter not working](https://forum.kirupa.com/t/function-passed-as-parameter-not-working/307822)

<div class="topic-metadata">

**Author:** [@d\_r\_i](https://forum.kirupa.com/u/d_r_i)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 11:58am UTC](https://forum.kirupa.com/t/function-passed-as-parameter-not-working/307822 "2010-04-11T11:58:55Z")

</div>

Hi, I've got this code: function func2(options:Object) { ... } function func1(onComplete:Function) { func2({params:{param1:param1}, onComplete:onComplete}); } func1(function(success:Boolean) { if (succ…

---

## [Sharing project on different computers](https://forum.kirupa.com/t/sharing-project-on-different-computers/307819)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 8:35am UTC](https://forum.kirupa.com/t/sharing-project-on-different-computers/307819 "2010-04-11T08:35:48Z")

</div>

I'm currently keeping all my flex projects in a dropbox folder (though considering changing to alternative with multiple folder support) as I'm continuously working on different computers. Since my AS libraries doesn't…

---

## [Flash image unstable position](https://forum.kirupa.com/t/flash-image-unstable-position/307816)

<div class="topic-metadata">

**Author:** [@Aquamasu](https://forum.kirupa.com/u/Aquamasu)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 5:03am UTC](https://forum.kirupa.com/t/flash-image-unstable-position/307816 "2010-04-11T05:03:59Z")

</div>

So I have a question. Let's say I put a flash image in my profile. At my default window screen size the flash image stays in position, but when I resize the screen the flash ends up in the wrong position. What code do …

---

## [Why can't I use an instance name?](https://forum.kirupa.com/t/why-cant-i-use-an-instance-name/307815)

<div class="topic-metadata">

**Author:** [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Replies:** 0\
**Last updated:** [April 11, 2010, 4:35am UTC](https://forum.kirupa.com/t/why-cant-i-use-an-instance-name/307815 "2010-04-11T04:35:33Z")

</div>

Hiya, Whilst trying to solve one problem, I came across another. I've dynamically created 3 buttons, that when clicked shows me the "id" of that button. But when I try to do something specifically to an individual…

---

## [Chinese in AS3? How to read something like &#24744 in Flash](https://forum.kirupa.com/t/chinese-in-as3-how-to-read-something-like-24744-in-flash/307811)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [April 10, 2010, 11:03pm UTC](https://forum.kirupa.com/t/chinese-in-as3-how-to-read-something-like-24744-in-flash/307811 "2010-04-10T23:03:18Z")

</div>

I have some chinese characters I have to insert into my flash project, but no Idea how to go about converting them from their current state. For example, I have a bunch of these: &#24744 &#26356 Just want to know wha…

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

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