# programming

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

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

**Page:** 264

---

## [To Show Smileys in a flash chat application (using AS3)](https://forum.kirupa.com/t/to-show-smileys-in-a-flash-chat-application-using-as3/323085)

<div class="topic-metadata">

**Author:** [@Ishank\_walia398](https://forum.kirupa.com/u/Ishank_walia398)\
**Replies:** 0\
**Last updated:** [June 16, 2011, 10:02am UTC](https://forum.kirupa.com/t/to-show-smileys-in-a-flash-chat-application-using-as3/323085 "2011-06-16T10:02:51Z")

</div>

Hi, I have develop a chat application in flash using Actionscript 3.0, now I want to use smileys in that application. Can anybody tell me how I can show the smileys in chat application. Plz. repley soon. …

---

## [\[AS3\] timer stuff](https://forum.kirupa.com/t/as3-timer-stuff/323082)

<div class="topic-metadata">

**Author:** [@fastboy619](https://forum.kirupa.com/u/fastboy619)\
**Replies:** 0\
**Last updated:** [June 16, 2011, 1:17am UTC](https://forum.kirupa.com/t/as3-timer-stuff/323082 "2011-06-16T01:17:09Z")

</div>

how can i make a timer of this type 00 : 0 sec min and do somthing every 30 sec thanks i would like a sample code …

---

## [Adding several MC's inside a For loop with different x and y positions](https://forum.kirupa.com/t/adding-several-mcs-inside-a-for-loop-with-different-x-and-y-positions/323081)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [June 16, 2011, 12:46am UTC](https://forum.kirupa.com/t/adding-several-mcs-inside-a-for-loop-with-different-x-and-y-positions/323081 "2011-06-16T00:46:38Z")

</div>

Hi, I have a movieclip called \_container which I'm adding to the stage 6 times (it will be dynamic so the number can vary). To do that, I'm using a for loop like this. for(var i:int = 0; i \<= 5; i++){ \_contai…

---

## [Circles Using Square Grid](https://forum.kirupa.com/t/circles-using-square-grid/323080)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 11:02pm UTC](https://forum.kirupa.com/t/circles-using-square-grid/323080 "2011-06-15T23:02:55Z")

</div>

I am making a tile-based battle engine for my tile-based RPG. I am hoping to make skill effects have a range cloud (circular) and when the player selects a skill which has a range cloud associated with it (range of 5 for…

---

## [Tennis ball shadow effect](https://forum.kirupa.com/t/tennis-ball-shadow-effect/323079)

<div class="topic-metadata">

**Author:** [@Enrique\_Represa](https://forum.kirupa.com/u/Enrique_Represa)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 10:43pm UTC](https://forum.kirupa.com/t/tennis-ball-shadow-effect/323079 "2011-06-15T22:43:54Z")

</div>

Hi, i'm developing a tennis game visor for a university practise. I'm trying to simulate/fake bouncing ball + shadow effect, but i was unable to do something "real". The shadow should be able to move and resize in …

---

## [Add counter depending on mouse speed?](https://forum.kirupa.com/t/add-counter-depending-on-mouse-speed/323077)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 8:38pm UTC](https://forum.kirupa.com/t/add-counter-depending-on-mouse-speed/323077 "2011-06-15T20:38:11Z")

</div>

Hello, I want to make a counter get higher depending on mouse speed. mousespeedy = \_ymouse - oldymouse; oldymouse = \_ymouse; posmousespeedy = Math.abs(mousespeedy / 100); addMe += posmousespeedy; bar\_mc.\_xscale = ad…

---

## [AS2 microphone triggered to gotoAndPlay Movieclip](https://forum.kirupa.com/t/as2-microphone-triggered-to-gotoandplay-movieclip/323076)

<div class="topic-metadata">

**Author:** [@magicart87](https://forum.kirupa.com/u/magicart87)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 6:56pm UTC](https://forum.kirupa.com/t/as2-microphone-triggered-to-gotoandplay-movieclip/323076 "2011-06-15T18:56:25Z")

</div>

I have attempted with little (read as: none) success in having movieclip(s) play when triggered via Microphone activity/silence level. I would like to have the microphone act as a simple trigger that plays movieclip(A) d…

---

## [Drag and Drop problems](https://forum.kirupa.com/t/drag-and-drop-problems/323075)

<div class="topic-metadata">

**Author:** [@jdsflash](https://forum.kirupa.com/u/jdsflash)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 6:48pm UTC](https://forum.kirupa.com/t/drag-and-drop-problems/323075 "2011-06-15T18:48:25Z")

</div>

I'm trying to do a basic drag and drop. I can pick up and drag my MC named "wide\_mc" thats inside my "Toolbox\_mc". That works fine. I cant seem to get the drop target to work. The target is "c\_mc" which is burried …

---

## [Not Looking For Code - Just opinion: how would you approach this?](https://forum.kirupa.com/t/not-looking-for-code-just-opinion-how-would-you-approach-this/323074)

<div class="topic-metadata">

**Author:** [@Darth\_Nihilus](https://forum.kirupa.com/u/Darth_Nihilus)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 6:43pm UTC](https://forum.kirupa.com/t/not-looking-for-code-just-opinion-how-would-you-approach-this/323074 "2011-06-15T18:43:35Z")

</div>

So I have an upcoming project and I'd like some expert opinion on the best way to handle the coding/variable handling, hopefully minimizing me doing this a couple times, the wrong way. Here's what I'm looking for: Use…

---

## [Loading images through xml in flash](https://forum.kirupa.com/t/loading-images-through-xml-in-flash/323073)

<div class="topic-metadata">

**Author:** [@sijojohnson](https://forum.kirupa.com/u/sijojohnson)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 6:43pm UTC](https://forum.kirupa.com/t/loading-images-through-xml-in-flash/323073 "2011-06-15T18:43:18Z")

</div>

I am refering to this tutorial posted about a flash gallery which loads images from an external website. This works great for me. Now i would like to load the images from my hard drive where the fla is located. I tried t…

---

## [9-slice with motion tweened brightness issues](https://forum.kirupa.com/t/9-slice-with-motion-tweened-brightness-issues/323068)

<div class="topic-metadata">

**Author:** [@iakiak](https://forum.kirupa.com/u/iakiak)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 5:12pm UTC](https://forum.kirupa.com/t/9-slice-with-motion-tweened-brightness-issues/323068 "2011-06-15T17:12:11Z")

</div>

Hi, I seem to be having a problem with 9-slicing a motion tweened clip. I have a scrollBar that has a scroll button with rounded edges. The scrollButton is a movie clip with a 9sliced child graphic clip. The scrollBu…

---

## [C# + StreamReader + ReadToEnd(); = Dodgy results? :S](https://forum.kirupa.com/t/c-streamreader-readtoend-dodgy-results-s/323067)

<div class="topic-metadata">

**Author:** [@Valaran](https://forum.kirupa.com/u/Valaran)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 4:26pm UTC](https://forum.kirupa.com/t/c-streamreader-readtoend-dodgy-results-s/323067 "2011-06-15T16:26:18Z")

</div>

Long story short, I've got a configuration file that looks along the lines of (Note that this format is out of my reach): \\x02\\x05TEST1\\x16\\x03 \\x01\\x06TEST2\\x160\\x03 I used the hex simply cause I wasn't able …

---

## [Building and array in flash from external text/php file](https://forum.kirupa.com/t/building-and-array-in-flash-from-external-text-php-file/323065)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 4:10pm UTC](https://forum.kirupa.com/t/building-and-array-in-flash-from-external-text-php-file/323065 "2011-06-15T16:10:10Z")

</div>

Hi all , Any Help in regards will be highly appreciated . Question : How to load data from and external text/php file that has variables in the format as given below into Flash ? so that it can be used in the flash as a…

---

## [Dynamic references to classes in AS3](https://forum.kirupa.com/t/dynamic-references-to-classes-in-as3/323064)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 3:38pm UTC](https://forum.kirupa.com/t/dynamic-references-to-classes-in-as3/323064 "2011-06-15T15:38:47Z")

</div>

Hope someone can help here... as alway, I've dug around for an answer, but in this case nothing directly relevant seems to have fetched up... I have four movie clips in my library that are defined as classes: Option0, …

---

## [Simple Particles](https://forum.kirupa.com/t/simple-particles/323063)

<div class="topic-metadata">

**Author:** [@Almonimus](https://forum.kirupa.com/u/Almonimus)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 3:28pm UTC](https://forum.kirupa.com/t/simple-particles/323063 "2011-06-15T15:28:49Z")

</div>

I know they might be a lot of posts about such stuff, but I'm not a programmer and I need a specific solution... Which I think should be simple (I know a bit the logic behind). Anyway, I need to do a lot of MCs go from…

---

## [Problems installing Zend framework](https://forum.kirupa.com/t/problems-installing-zend-framework/323062)

<div class="topic-metadata">

**Author:** [@jason116](https://forum.kirupa.com/u/jason116)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 1:34pm UTC](https://forum.kirupa.com/t/problems-installing-zend-framework/323062 "2011-06-15T13:34:10Z")

</div>

I have created an application in FlashBuilder 4.5 which uses PHP/MySQL as a data service which works fine on my local testing server but when uploading to my 1&1 remote server I keep getting the following error: Send f…

---

## [Use ExternalInterface to access VBScript?](https://forum.kirupa.com/t/use-externalinterface-to-access-vbscript/323061)

<div class="topic-metadata">

**Author:** [@bhnh](https://forum.kirupa.com/u/bhnh)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 1:29pm UTC](https://forum.kirupa.com/t/use-externalinterface-to-access-vbscript/323061 "2011-06-15T13:29:42Z")

</div>

I've rarely used AIR in the past, but have call for it now and have a kind of odd situation. A lot of the functionality for the .swf I've made (which needs to be a standalone) exists in a VBScript which the client has p…

---

## [Drag and drop Counter and message to say correct or wrong](https://forum.kirupa.com/t/drag-and-drop-counter-and-message-to-say-correct-or-wrong/323060)

<div class="topic-metadata">

**Author:** [@asnewb](https://forum.kirupa.com/u/asnewb)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 1:24pm UTC](https://forum.kirupa.com/t/drag-and-drop-counter-and-message-to-say-correct-or-wrong/323060 "2011-06-15T13:24:54Z")

</div>

Hi i have created a simple drag and drop game where users have to match shapes by dragging and dropping. What i would like is for a counter to count each correct drop and display a message if they are sucessfull. Here is…

---

## [Mobile touchscreen game programming language](https://forum.kirupa.com/t/mobile-touchscreen-game-programming-language/323059)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 1:05pm UTC](https://forum.kirupa.com/t/mobile-touchscreen-game-programming-language/323059 "2011-06-15T13:05:55Z")

</div>

Hi, I wanted to do a mobile touchscreen game for my final year project, but I'm only proficient in AS3. What phone models do you recommend for programming in AS3? I've thought of I-phone, HTC Touch and Dell Venue, bu…

---

## [Class only "active" when movieclip on frame](https://forum.kirupa.com/t/class-only-active-when-movieclip-on-frame/323058)

<div class="topic-metadata">

**Author:** [@molkman](https://forum.kirupa.com/u/molkman)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 1:03pm UTC](https://forum.kirupa.com/t/class-only-active-when-movieclip-on-frame/323058 "2011-06-15T13:03:20Z")

</div>

Hello, I am making a game and the setup for the "hero" MovieClip is as following: The first frame contains a movieclip that has the feet and the walk animation has a stop on the first frame and a movieclip of a class. Th…

---

## [Text on dynamic field to flow from right to left](https://forum.kirupa.com/t/text-on-dynamic-field-to-flow-from-right-to-left/323057)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 1:00pm UTC](https://forum.kirupa.com/t/text-on-dynamic-field-to-flow-from-right-to-left/323057 "2011-06-15T13:00:22Z")

</div>

Hello I´m loading dinamic text from rollover on buttons, with: textfield\_txt.text = "Example of text loaded on dinamic field" But sometimes the text will be longer than the permitted field \_width, missing some le…

---

## [Convert decimal to hexadecimal and vice versa](https://forum.kirupa.com/t/convert-decimal-to-hexadecimal-and-vice-versa/323056)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 10:15am UTC](https://forum.kirupa.com/t/convert-decimal-to-hexadecimal-and-vice-versa/323056 "2011-06-15T10:15:58Z")

</div>

I have started working with colors and have got a need for playing with hexadecimals. I tried making a variable which adds two hexadecimals, and it works but when I trace the answer, it comes out in decimals. How can I m…

---

## [Smoothing on embedded FLV](https://forum.kirupa.com/t/smoothing-on-embedded-flv/323055)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 10:01am UTC](https://forum.kirupa.com/t/smoothing-on-embedded-flv/323055 "2011-06-15T10:01:44Z")

</div>

Hi, I have a problem with embedded FLVs: if I have a player I can apply the smoothing easily, but if I have a timeline-embedded FLV without a player? How can I smooth it? Thanks in advance

---

## [AS3- Replay Button Problem](https://forum.kirupa.com/t/as3-replay-button-problem/323054)

<div class="topic-metadata">

**Author:** [@mohiniraj](https://forum.kirupa.com/u/mohiniraj)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 9:26am UTC](https://forum.kirupa.com/t/as3-replay-button-problem/323054 "2011-06-15T09:26:00Z")

</div>

\[FONT=Times New Roman\] \[/FONT\] \[FONT=Times New Roman\]Hello,\[/FONT\] \[FONT=Times New Roman\] \[/FONT\] \[FONT=Times New Roman\]I have designed a small interactivity which has following movie clips within it;\[/…

---

## [AS3 Math problem](https://forum.kirupa.com/t/as3-math-problem/323052)

<div class="topic-metadata">

**Author:** [@Roarky](https://forum.kirupa.com/u/Roarky)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 8:40am UTC](https://forum.kirupa.com/t/as3-math-problem/323052 "2011-06-15T08:40:21Z")

</div>

Hi guys, I'm new to this forum and I might say, this forum looks great... I am not really familiar in the mathematical here in AS3, I want to make a calculator with fixed number to add to an input text field... Here is…

---

## [Can't remove all loaded children in a gallery because can't close() a loader!](https://forum.kirupa.com/t/cant-remove-all-loaded-children-in-a-gallery-because-cant-close-a-loader/323047)

<div class="topic-metadata">

**Author:** [@nlalli87](https://forum.kirupa.com/u/nlalli87)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 7:43am UTC](https://forum.kirupa.com/t/cant-remove-all-loaded-children-in-a-gallery-because-cant-close-a-loader/323047 "2011-06-15T07:43:31Z")

</div>

0 down vote favorite This is the code i used in a gallery that loads images sequentally. My problems comes in when you have to open a differ…

---

## [addElement problem?](https://forum.kirupa.com/t/addelement-problem/323046)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 7:32am UTC](https://forum.kirupa.com/t/addelement-problem/323046 "2011-06-15T07:32:00Z")

</div>

Trying to kickstart in Flashbuilder and use a swc from a previous as3 project and see if the move will eventually lead to a better organized project, since flash has no clue what a project is codewise. However, I got stu…

---

## [\[Ask: AS2\] Masking object dynamically](https://forum.kirupa.com/t/ask-as2-masking-object-dynamically/323044)

<div class="topic-metadata">

**Author:** [@sangjagoan](https://forum.kirupa.com/u/sangjagoan)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 6:57am UTC](https://forum.kirupa.com/t/ask-as2-masking-object-dynamically/323044 "2011-06-15T06:57:57Z")

</div>

I have Particle animation like this this for(r=0;r\<300;r++){ Koord\_x1=264; Koord\_x2=500; Koord\_y1=131; Koord\_y2=311; ObjWidth=300; var myPellet:MovieClip; myPellet=\_root.TheFlows.att…

---

## [SharedOject Help!](https://forum.kirupa.com/t/sharedoject-help/323041)

<div class="topic-metadata">

**Author:** [@observ](https://forum.kirupa.com/u/observ)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 1:14am UTC](https://forum.kirupa.com/t/sharedoject-help/323041 "2011-06-15T01:14:26Z")

</div>

Hi guys, this is my first post i am haveing trouble with implementing shared object in my code, here is how far i got, i know i got mistakes, Its a simple multiple choise quiz. I just need the quiz not to be redone by th…

---

## [Flash animation vs sprite sheets](https://forum.kirupa.com/t/flash-animation-vs-sprite-sheets/323040)

<div class="topic-metadata">

**Author:** [@smacks](https://forum.kirupa.com/u/smacks)\
**Replies:** 0\
**Last updated:** [June 15, 2011, 12:24am UTC](https://forum.kirupa.com/t/flash-animation-vs-sprite-sheets/323040 "2011-06-15T00:24:38Z")

</div>

Hi. Here's my question, in my shooter i got several ships i want for some of them little animations. As i dont get many frames for those animations does it worst the cost of doing sprite sheets and animation scripts fo…

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

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