# programming

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

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

**Page:** 390

---

## [Seriously! $50 for anyone that fixes my code!](https://forum.kirupa.com/t/seriously-50-for-anyone-that-fixes-my-code/315591)

<div class="topic-metadata">

**Author:** [@ctgscott](https://forum.kirupa.com/u/ctgscott)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 6:42pm UTC](https://forum.kirupa.com/t/seriously-50-for-anyone-that-fixes-my-code/315591 "2010-10-29T18:42:55Z")

</div>

Yes... I am that frustrated... I have beat myself to death for days trying to get this last piece of functionality working. I just need the caption (textField) to pop up when a user mouses over the image and fade out ag…

---

## [Random MovieClip play, AS3?](https://forum.kirupa.com/t/random-movieclip-play-as3/315590)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 5:23pm UTC](https://forum.kirupa.com/t/random-movieclip-play-as3/315590 "2010-10-29T17:23:21Z")

</div>

Hello all. I have 16 instances of one movie clip on the stage and each one has their own unique instance name. The movie clips have a nested animation and I want each clip to play randomly. I'm familiar with the Math.…

---

## [Bitmap Palette Shifting using 2D Lookup Table](https://forum.kirupa.com/t/bitmap-palette-shifting-using-2d-lookup-table/315589)

<div class="topic-metadata">

**Author:** [@aniac](https://forum.kirupa.com/u/aniac)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 3:15pm UTC](https://forum.kirupa.com/t/bitmap-palette-shifting-using-2d-lookup-table/315589 "2010-10-29T15:15:02Z")

</div>

Hi guys, I'm having some problems porting a palette shifted animation system from J2ME to Flash. The system is used within a game that construct characters from separate body parts for e.g. head, left arm, legs, eye…

---

## [Flash Preloader needs to only load half of the movie. need help](https://forum.kirupa.com/t/flash-preloader-needs-to-only-load-half-of-the-movie-need-help/315588)

<div class="topic-metadata">

**Author:** [@shutterleftopen](https://forum.kirupa.com/u/shutterleftopen)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 2:59pm UTC](https://forum.kirupa.com/t/flash-preloader-needs-to-only-load-half-of-the-movie-need-help/315588 "2010-10-29T14:59:21Z")

</div>

Hey, i am working on an intro for a friend of mine and it includes a lot of individual photos. the preloader takes forever but i can figure out how to only load half of the movie instead of the entire thing before it …

---

## [TypeError, cant figure it out](https://forum.kirupa.com/t/typeerror-cant-figure-it-out/315587)

<div class="topic-metadata">

**Author:** [@timba](https://forum.kirupa.com/u/timba)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 1:54pm UTC](https://forum.kirupa.com/t/typeerror-cant-figure-it-out/315587 "2010-10-29T13:54:54Z")

</div>

TypeError: Error #1009: Cannot access a property or method of a null object reference. I know everyone hates these errors, but i cant seem to get rid of it. I'm working on a project for school that includes pathfinding…

---

## [\[ask\]Classic Tween vs AS3 Tweening](https://forum.kirupa.com/t/ask-classic-tween-vs-as3-tweening/315584)

<div class="topic-metadata">

**Author:** [@xiong1990](https://forum.kirupa.com/u/xiong1990)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 12:21pm UTC](https://forum.kirupa.com/t/ask-classic-tween-vs-as3-tweening/315584 "2010-10-29T12:21:32Z")

</div>

Hi Everybody, I'm new for AS3. I have some question about the classic tween vs AS3 Tweening. I tried to compare the swf file size of both. the first one i make an animation with the classic Tween. the second one …

---

## [Class based programing vs timeline programing](https://forum.kirupa.com/t/class-based-programing-vs-timeline-programing/315576)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 10:16am UTC](https://forum.kirupa.com/t/class-based-programing-vs-timeline-programing/315576 "2010-10-29T10:16:23Z")

</div>

\[FONT=Calibri\]Hi Guys,\[/FONT\] \[FONT=Calibri\]I’m new to ActionScript 3.0, some time ago I was developing some websites using ActionScript 2.0 - mainly timeline scripting. As I want to come back to developing websites, b…

---

## [Scrollable text including subscript and superscript options enabled](https://forum.kirupa.com/t/scrollable-text-including-subscript-and-superscript-options-enabled/315574)

<div class="topic-metadata">

**Author:** [@harry\_kooner2k](https://forum.kirupa.com/u/harry_kooner2k)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 9:53am UTC](https://forum.kirupa.com/t/scrollable-text-including-subscript-and-superscript-options-enabled/315574 "2010-10-29T09:53:15Z")

</div>

Hello all, Friends, I am using Actionscript 2.0 and want to scroll simple text. I did it with the default scrollbar component and it works fine. But the issue is that I have some subscript and superscript in my text …

---

## [Old Newbie Problem - Select mysql record using url +php - Should be soooo simple!](https://forum.kirupa.com/t/old-newbie-problem-select-mysql-record-using-url-php-should-be-soooo-simple/315573)

<div class="topic-metadata">

**Author:** [@phatmambo](https://forum.kirupa.com/u/phatmambo)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 9:32am UTC](https://forum.kirupa.com/t/old-newbie-problem-select-mysql-record-using-url-php-should-be-soooo-simple/315573 "2010-10-29T09:32:30Z")

</div>

I am learning PHP/MySQL and am modifying a tutorial to make a contact database. All I want is to be able to make a web page for each contact(record) and display one record on each webpage. I want to use the URL feature…

---

## [中国呼叫中心高峰论坛（上海2010）](https://forum.kirupa.com/t/topic/315571)

<div class="topic-metadata">

**Author:** [@handseo0](https://forum.kirupa.com/u/handseo0)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 9:01am UTC](https://forum.kirupa.com/t/topic/315571 "2010-10-29T09:01:38Z")

</div>

中国呼叫中心顶峰论坛（\[\[color=#0000ff\]http://www.ccce.net.cn/\[/color\]）非海内吸叫中央范畴唯一的听寡付省型教术会议。除能现场凝听数十位分量级“思维野”的隐场论讲，借无联想团体、招商银言、西邦挪动等业界著名企业高管总享案例。会议期间部署了标杆型呼叫核心参观，古年的参观复位包含：中国农商银行电子银止中心，南京移静12580客户服务中心，中国己保财夷电话营销中口，联想散团客户联系中心。出色不容错功…

---

## [Web Service Problem in as3](https://forum.kirupa.com/t/web-service-problem-in-as3/315568)

<div class="topic-metadata">

**Author:** [@nikhil104iic](https://forum.kirupa.com/u/nikhil104iic)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 6:40am UTC](https://forum.kirupa.com/t/web-service-problem-in-as3/315568 "2010-10-29T06:40:46Z")

</div>

I have heard that Web Service class is not available in AS3. This has given me a lot of headache. Does any body has an idea of implementing a WebService in AS3 with authentication. I have found few solutions over Interne…

---

## [How to overlay a transparent Flash SWF movie on a background image?](https://forum.kirupa.com/t/how-to-overlay-a-transparent-flash-swf-movie-on-a-background-image/315567)

<div class="topic-metadata">

**Author:** [@sophielucky](https://forum.kirupa.com/u/sophielucky)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 6:40am UTC](https://forum.kirupa.com/t/how-to-overlay-a-transparent-flash-swf-movie-on-a-background-image/315567 "2010-10-29T06:40:02Z")

</div>

\[URL="http://www.flashperfection.com/tutorials/How-to-overlay-a-transparent-Flash-SWF-movie-on-a-background-image--01525.html"\]\[COLOR=black\]How to overlay a transparent Flash SWF movie on a background image? \[/COLOR\]

---

## [How to read cookie directly?](https://forum.kirupa.com/t/how-to-read-cookie-directly/315562)

<div class="topic-metadata">

**Author:** [@seventy9](https://forum.kirupa.com/u/seventy9)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 3:30am UTC](https://forum.kirupa.com/t/how-to-read-cookie-directly/315562 "2010-10-29T03:30:10Z")

</div>

I need to read the contents from the browser's cookie. I tried to use FlashVars to pass the contents from html to flash. However, the contents of the cookie may change after the swf is loaded. So I need to setup a listen…

---

## [Change registration point (left center corner etc) of object](https://forum.kirupa.com/t/change-registration-point-left-center-corner-etc-of-object/315559)

<div class="topic-metadata">

**Author:** [@MrVon](https://forum.kirupa.com/u/MrVon)\
**Replies:** 0\
**Last updated:** [October 29, 2010, 12:36am UTC](https://forum.kirupa.com/t/change-registration-point-left-center-corner-etc-of-object/315559 "2010-10-29T00:36:19Z")

</div>

When you create shape on stage and right click and chose create object you can chose Registration point for the object . . . . . . . . . you chose what corner will be used as center of coordinates for this object. N…

---

## [Attempting to recreate a transition effect with Actionscript](https://forum.kirupa.com/t/attempting-to-recreate-a-transition-effect-with-actionscript/315558)

<div class="topic-metadata">

**Author:** [@CaptainCarrot](https://forum.kirupa.com/u/CaptainCarrot)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 11:57pm UTC](https://forum.kirupa.com/t/attempting-to-recreate-a-transition-effect-with-actionscript/315558 "2010-10-28T23:57:54Z")

</div>

I'm a web designer by trade but my new job finds me in a position where learning Actionscript would be beneficial, as my new job doesn't employ a developer and I'd like to eliminate the tedium of animating things by hand…

---

## [How to create animated iPhone UI demos?](https://forum.kirupa.com/t/how-to-create-animated-iphone-ui-demos/315555)

<div class="topic-metadata">

**Author:** [@Schwabe](https://forum.kirupa.com/u/Schwabe)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 9:25pm UTC](https://forum.kirupa.com/t/how-to-create-animated-iphone-ui-demos/315555 "2010-10-28T21:25:43Z")

</div>

I have a complete UI for my iPhone app done up in Fireworks. Before it goes to development, I'd like to create an 'animated video' to show off what the final product will look like. Complete with iOS style effects (…

---

## [Combining multiple swf files](https://forum.kirupa.com/t/combining-multiple-swf-files/315549)

<div class="topic-metadata">

**Author:** [@Thrillhou](https://forum.kirupa.com/u/Thrillhou)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 4:31pm UTC](https://forum.kirupa.com/t/combining-multiple-swf-files/315549 "2010-10-28T16:31:01Z")

</div>

So, I need to make a slideshow that displays an arrow button on either side that can allow a user to navigate between four different swf files. The only specification is that the swf slide out as the new one appears. Cou…

---

## [Smooth image load](https://forum.kirupa.com/t/smooth-image-load/315547)

<div class="topic-metadata">

**Author:** [@Swooter](https://forum.kirupa.com/u/Swooter)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 2:07pm UTC](https://forum.kirupa.com/t/smooth-image-load/315547 "2010-10-28T14:07:38Z")

</div>

Am I the only one who didn't know this? You load an image by using a Loader You transform the image in any way and it gets disorted I always used to make the image 'smooth' by repacing it's BitmapData with another B…

---

## [Gravity, positive negative acceleration](https://forum.kirupa.com/t/gravity-positive-negative-acceleration/315545)

<div class="topic-metadata">

**Author:** [@tracenewbie](https://forum.kirupa.com/u/tracenewbie)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 1:54pm UTC](https://forum.kirupa.com/t/gravity-positive-negative-acceleration/315545 "2010-10-28T13:54:35Z")

</div>

How to get accelerated gravity upwards after the UP-key is released: onClipEvent(load){ \_root.ymove=15; realymove=15; ydmove = 15; \_root.gravityplayer = 2 ; \_root.speedyplayer = 0 ; } onClipEvent (enterFrame){ \_roo…

---

## [Is putting all your code inside a loaders onComplete handler bad practice?](https://forum.kirupa.com/t/is-putting-all-your-code-inside-a-loaders-oncomplete-handler-bad-practice/315544)

<div class="topic-metadata">

**Author:** [@bonassus](https://forum.kirupa.com/u/bonassus)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 1:27pm UTC](https://forum.kirupa.com/t/is-putting-all-your-code-inside-a-loaders-oncomplete-handler-bad-practice/315544 "2010-10-28T13:27:29Z")

</div>

This is a general question about programing, which I am new to. I am building a website with actionscript 3.0. the way i have it set up is that most of my code including other functions is nested inside the loader's on c…

---

## [Word count help](https://forum.kirupa.com/t/word-count-help/315543)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 12:26pm UTC](https://forum.kirupa.com/t/word-count-help/315543 "2010-10-28T12:26:00Z")

</div>

Hello I am trying to write a piece of code that will count the number of words in a textfield. The part that I am having a problem with is weeding out errors made by the user when they entered the text for instance, …

---

## [What do these CSS lines mean?](https://forum.kirupa.com/t/what-do-these-css-lines-mean/315542)

<div class="topic-metadata">

**Author:** [@Env](https://forum.kirupa.com/u/Env)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 12:04pm UTC](https://forum.kirupa.com/t/what-do-these-css-lines-mean/315542 "2010-10-28T12:04:35Z")

</div>

What do these CSS lines mean? body { font:68.75%/1.5 Arial,Helvetica,sans-serif; } body { line-height:1; } Any help would be appreciated? Or if someone could re-write them in simple terms, example: body { font-…

---

## [TextFiled is not receiving mouseEvents, because of the sprite on top](https://forum.kirupa.com/t/textfiled-is-not-receiving-mouseevents-because-of-the-sprite-on-top/315541)

<div class="topic-metadata">

**Author:** [@fjckls](https://forum.kirupa.com/u/fjckls)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 11:31am UTC](https://forum.kirupa.com/t/textfiled-is-not-receiving-mouseevents-because-of-the-sprite-on-top/315541 "2010-10-28T11:31:51Z")

</div>

Textfield.htmlText text link doesn't receive mouse events underneath sprite package { import flash.display.\*; import flash.text.\*; import flash.events.\*; public class Test extends Sprite { …

---

## [Brower cache?](https://forum.kirupa.com/t/brower-cache/315535)

<div class="topic-metadata">

**Author:** [@seventy9](https://forum.kirupa.com/u/seventy9)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 9:20am UTC](https://forum.kirupa.com/t/brower-cache/315535 "2010-10-28T09:20:44Z")

</div>

I put a swf file on a website, then I made some changes and replace the old version. However, some browsers seem to have some kind of cache to remember the last swf file, they only show the old version instead of the new…

---

## [Scaling images with aspect ratio below 100%](https://forum.kirupa.com/t/scaling-images-with-aspect-ratio-below-100/315534)

<div class="topic-metadata">

**Author:** [@iloveaphextwin](https://forum.kirupa.com/u/iloveaphextwin)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 9:13am UTC](https://forum.kirupa.com/t/scaling-images-with-aspect-ratio-below-100/315534 "2010-10-28T09:13:12Z")

</div>

Hi there, I have searched this forum and online but can't find a solution to the problem I am having. I need to scale images so that they always fit within my browser but also retain their aspect ratio. All other exa…

---

## [AS3 MC to timeline?](https://forum.kirupa.com/t/as3-mc-to-timeline/315532)

<div class="topic-metadata">

**Author:** [@InvisAr](https://forum.kirupa.com/u/InvisAr)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 9:06am UTC](https://forum.kirupa.com/t/as3-mc-to-timeline/315532 "2010-10-28T09:06:27Z")

</div>

Hi! Having problems with a game I'm creating in as3. After leaving the main game screen(the corridor in this case) the user comes to facing a door. Here, the user can click the door and enter a room. But, the proble…

---

## [\[CS4 or CS5\] How to change frame of movieclip depending on relation to mouse](https://forum.kirupa.com/t/cs4-or-cs5-how-to-change-frame-of-movieclip-depending-on-relation-to-mouse/315528)

<div class="topic-metadata">

**Author:** [@ashtonpeek](https://forum.kirupa.com/u/ashtonpeek)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 7:14am UTC](https://forum.kirupa.com/t/cs4-or-cs5-how-to-change-frame-of-movieclip-depending-on-relation-to-mouse/315528 "2010-10-28T07:14:11Z")

</div>

I have a movie clip that follows the mouse.. Its not done yet but its gonna be a dog chasing a/the mouse... I want to have it where the if the mouse is left or right of the following movie clip it shows it walking to…

---

## [Remove Duplicate Value from array](https://forum.kirupa.com/t/remove-duplicate-value-from-array/315525)

<div class="topic-metadata">

**Author:** [@san2629](https://forum.kirupa.com/u/san2629)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 6:13am UTC](https://forum.kirupa.com/t/remove-duplicate-value-from-array/315525 "2010-10-28T06:13:24Z")

</div>

Array ( \[0\] =\> 158 \[1\] =\> 171 \[2\] =\> 172 ) 2Duplicate Duplicate Duplicate Array ( \[0\] =\> 172 ) 0Duplicate Array ( \[0\] =\> 171 \[1\] =\> 172 \[2\] =\> 173 \[3\] =\> 174 ) 3Duplicate Duplicate Duplica…

---

## [Event Propagation deep concepts need clarification](https://forum.kirupa.com/t/event-propagation-deep-concepts-need-clarification/315524)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 6:12am UTC](https://forum.kirupa.com/t/event-propagation-deep-concepts-need-clarification/315524 "2010-10-28T06:12:41Z")

</div>

This question is very crucial for my understanding of events. So please take a good look at and help make the concepts thorough. Consider the figure below: +---+ | 1 | +---+ \_\_\_…

---

## [Child can't remove itself](https://forum.kirupa.com/t/child-cant-remove-itself/315522)

<div class="topic-metadata">

**Author:** [@Scythe](https://forum.kirupa.com/u/Scythe)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 5:06am UTC](https://forum.kirupa.com/t/child-cant-remove-itself/315522 "2010-10-28T05:06:18Z")

</div>

So try running a test where you've placed several copies of a movieclip on the stage in the authoring environment and then linked the clip to this class: package { import flash.display.\* import flash.events.\*; publ…

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

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