# programming

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

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

**Page:** 274

---

## [Convert as 1.0 script to 2.0](https://forum.kirupa.com/t/convert-as-1-0-script-to-2-0/322506)

<div class="topic-metadata">

**Author:** [@nnnswordfish](https://forum.kirupa.com/u/nnnswordfish)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 9:35pm UTC](https://forum.kirupa.com/t/convert-as-1-0-script-to-2-0/322506 "2011-05-23T21:35:39Z")

</div>

Hy \[smile\] i have very nice counter and i want to use it but i have problem it in as 1.0 and i want to use it in as 2.0 with flash payer 10.0. i uploaded file below and if someone can modify it in as 2.0 please help me \[…

---

## [Passing a variable value to an array](https://forum.kirupa.com/t/passing-a-variable-value-to-an-array/322505)

<div class="topic-metadata">

**Author:** [@alejandroy](https://forum.kirupa.com/u/alejandroy)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 8:12pm UTC](https://forum.kirupa.com/t/passing-a-variable-value-to-an-array/322505 "2011-05-23T20:12:18Z")

</div>

I'm using the following parallax class, which I downloaded from fuoridalcerchio.net, but it's no longer available: ParallaxBox.as: package { import flash.display.MovieClip; import flash.events.\*; …

---

## [Unlockable levels?](https://forum.kirupa.com/t/unlockable-levels/322501)

<div class="topic-metadata">

**Author:** [@TheAwesomeDude](https://forum.kirupa.com/u/TheAwesomeDude)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 6:55pm UTC](https://forum.kirupa.com/t/unlockable-levels/322501 "2011-05-23T18:55:26Z")

</div>

Hi! Im still learning about Flash and AS3. I make some programs and then test them on my ipad for the fun sake. But... Is there anyway of doing unlockable levels to a game in AS3 that works on a iPad?

---

## [SWC and Library Path](https://forum.kirupa.com/t/swc-and-library-path/322499)

<div class="topic-metadata">

**Author:** [@lotus\_](https://forum.kirupa.com/u/lotus_)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 4:46pm UTC](https://forum.kirupa.com/t/swc-and-library-path/322499 "2011-05-23T16:46:27Z")

</div>

Hello, in Flash CS4 I created two FLA file. In the First File: - I draw a shape; - I convert it to a MovieClip; - I link a MyClip class with a simple trace in the constructor; - I export the whole file as MyClip.SWC; …

---

## [Questions about IK-bones](https://forum.kirupa.com/t/questions-about-ik-bones/322498)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 4:46pm UTC](https://forum.kirupa.com/t/questions-about-ik-bones/322498 "2011-05-23T16:46:18Z")

</div>

Is it possible to mix shapes and movieclips in a IK-skeleton? In other words, connect shapes and movieclips? When bending a shape with a couple of bones too much, the shape will become transparent at places it overlaps …

---

## [Delete Record when closing window](https://forum.kirupa.com/t/delete-record-when-closing-window/322497)

<div class="topic-metadata">

**Author:** [@dee\_flash](https://forum.kirupa.com/u/dee_flash)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 4:34pm UTC](https://forum.kirupa.com/t/delete-record-when-closing-window/322497 "2011-05-23T16:34:51Z")

</div>

I have developed a chat application using flash CS3. And there is a "Sign out" button which will delete users record from database (through php). But some users may simply close the browser window without even logging …

---

## [Cursor Visiblity problem in AS3](https://forum.kirupa.com/t/cursor-visiblity-problem-in-as3/322489)

<div class="topic-metadata">

**Author:** [@Milan\_vaja](https://forum.kirupa.com/u/Milan_vaja)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 10:47am UTC](https://forum.kirupa.com/t/cursor-visiblity-problem-in-as3/322489 "2011-05-23T10:47:39Z")

</div>

Hi Eveery One i am havin problem with my code. with the help of my this code i can get focus to textField but cant see cursor on textBox it only visible after click on textBOx; i can also trace mouseEvent by receivin…

---

## [Classic tween automatically ads symbols in library](https://forum.kirupa.com/t/classic-tween-automatically-ads-symbols-in-library/322488)

<div class="topic-metadata">

**Author:** [@CookieChocolat](https://forum.kirupa.com/u/CookieChocolat)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 10:39am UTC](https://forum.kirupa.com/t/classic-tween-automatically-ads-symbols-in-library/322488 "2011-05-23T10:39:36Z")

</div>

Hi, I have just started using Flash CS5 recently and have a question about the classic tween. I have noticed that when I make a classic tween Flash automatically makes symbols out of my grouped objects. I have worked w…

---

## [Need help related to papervision3d](https://forum.kirupa.com/t/need-help-related-to-papervision3d/322487)

<div class="topic-metadata">

**Author:** [@sidharth](https://forum.kirupa.com/u/sidharth)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 10:29am UTC](https://forum.kirupa.com/t/need-help-related-to-papervision3d/322487 "2011-05-23T10:29:19Z")

</div>

Hi, I have created a 3D car model in Max3d, this model is composed of sub meshes like one for doors one for tyres one for body & one for lights. when i load this into flash player, mesh of headlights is not visible, …

---

## [Flash coverflow](https://forum.kirupa.com/t/flash-coverflow/322486)

<div class="topic-metadata">

**Author:** [@altedious](https://forum.kirupa.com/u/altedious)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 9:55am UTC](https://forum.kirupa.com/t/flash-coverflow/322486 "2011-05-23T09:55:08Z")

</div>

hello Anyone knows how to make this sort of 3d coverflow effect? how is it call in Flash? http://www.facebook.com/Fedex click on "see the topics" thanks for your help.

---

## [Preloader for webpage](https://forum.kirupa.com/t/preloader-for-webpage/322485)

<div class="topic-metadata">

**Author:** [@Pavlos1316](https://forum.kirupa.com/u/Pavlos1316)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 9:27am UTC](https://forum.kirupa.com/t/preloader-for-webpage/322485 "2011-05-23T09:27:49Z")

</div>

hello all, I am totally newbie and... most likely my question will be very simple for you... :cubs: I obtain this code for preloader (I don't kno if there is anything newer or better): loadedBytes = \_root.getBytes…

---

## [Looking for good Flash reference books](https://forum.kirupa.com/t/looking-for-good-flash-reference-books/322484)

<div class="topic-metadata">

**Author:** [@Josh\_Martin](https://forum.kirupa.com/u/Josh_Martin)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 8:07am UTC](https://forum.kirupa.com/t/looking-for-good-flash-reference-books/322484 "2011-05-23T08:07:32Z")

</div>

Hey all, So I'm a fairly new Flash App Dev (3 months) and I'm finding some of the... nuiances of the Flash API and it's compiler a bit frustrating... Thanks to forums like this, I am finding solutions to the majority of…

---

## [Game Border](https://forum.kirupa.com/t/game-border/322482)

<div class="topic-metadata">

**Author:** [@gopik3](https://forum.kirupa.com/u/gopik3)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 6:58am UTC](https://forum.kirupa.com/t/game-border/322482 "2011-05-23T06:58:03Z")

</div>

Am creating A game in FlashCS3 with Action script 2.o.The player do not go to the out of screen.if player touches the end it will not move player in button controls what can i do for this function

---

## [Dynamic addChild](https://forum.kirupa.com/t/dynamic-addchild/322478)

<div class="topic-metadata">

**Author:** [@mike25620](https://forum.kirupa.com/u/mike25620)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 2:42am UTC](https://forum.kirupa.com/t/dynamic-addchild/322478 "2011-05-23T02:42:55Z")

</div>

I'm trying to make this character selection thing and I need to add the image of the character dynamically. Each character is a movieclip name Character1, Character2 and so on.. I dont know everything about flash but I d…

---

## [Stopping a nested animation](https://forum.kirupa.com/t/stopping-a-nested-animation/322477)

<div class="topic-metadata">

**Author:** [@LightningJoe](https://forum.kirupa.com/u/LightningJoe)\
**Replies:** 0\
**Last updated:** [May 23, 2011, 1:28am UTC](https://forum.kirupa.com/t/stopping-a-nested-animation/322477 "2011-05-23T01:28:49Z")

</div>

I am very new to actionscript and really having a difficult time getting any script to work outside of what our tutorials show for my online class. If I have a nested animation that essentially has 5 buttons (ads, logo…

---

## [Applying "smoothing"](https://forum.kirupa.com/t/applying-smoothing/322475)

<div class="topic-metadata">

**Author:** [@vbkun](https://forum.kirupa.com/u/vbkun)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 11:31pm UTC](https://forum.kirupa.com/t/applying-smoothing/322475 "2011-05-22T23:31:33Z")

</div>

Hi! I'm new on as3, moving from as2. Doing some simple animation wich is based in a bmp image, but I'm not havin' any sucess at smoothing it =(. I've found around many tutorials/guides on loading external images and …

---

## [Has anybody used ajaxim and successfully integrated it with their own websites login?](https://forum.kirupa.com/t/has-anybody-used-ajaxim-and-successfully-integrated-it-with-their-own-websites-login/322474)

<div class="topic-metadata">

**Author:** [@Shadowstep33](https://forum.kirupa.com/u/Shadowstep33)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 11:12pm UTC](https://forum.kirupa.com/t/has-anybody-used-ajaxim-and-successfully-integrated-it-with-their-own-websites-login/322474 "2011-05-22T23:12:11Z")

</div>

Hi, I just installed ajaxim (http://ajaxim.com/) and for the life of me dont know how to integrate it with my current log in system. So it created it's own tables in my MySql database that require registration. I could…

---

## [Actionscript 3 , php and mysql](https://forum.kirupa.com/t/actionscript-3-php-and-mysql/322473)

<div class="topic-metadata">

**Author:** [@sean7725](https://forum.kirupa.com/u/sean7725)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 9:02pm UTC](https://forum.kirupa.com/t/actionscript-3-php-and-mysql/322473 "2011-05-22T21:02:14Z")

</div>

Everything works exept when I change any information in mysql and then run the actionscript the new data isn't loaded I am seeing the previous data. It's not updating. Can someone one please explain to me what I am missi…

---

## [Flash MX: Lag?](https://forum.kirupa.com/t/flash-mx-lag/322472)

<div class="topic-metadata">

**Author:** [@SoupHead](https://forum.kirupa.com/u/SoupHead)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 7:47pm UTC](https://forum.kirupa.com/t/flash-mx-lag/322472 "2011-05-22T19:47:04Z")

</div>

I'm currently constructing a game and I've gotten pretty far. My only problem is that my "hero" seems to not be refreshing as fast as it should. I believe this is because of lag but my CPU usage only ever climbs to a max…

---

## [Flash link to Lightbox 2 in a Wordpress site](https://forum.kirupa.com/t/flash-link-to-lightbox-2-in-a-wordpress-site/322470)

<div class="topic-metadata">

**Author:** [@yabai](https://forum.kirupa.com/u/yabai)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 3:47pm UTC](https://forum.kirupa.com/t/flash-link-to-lightbox-2-in-a-wordpress-site/322470 "2011-05-22T15:47:34Z")

</div>

Hi, I have a Wordpress site that uses Lightbox 2. I need to add a Flash banner that has two buttons in it that will call a Lightbox image. I've tried adding the following script to the head of the html file; \<scri…

---

## [Want Easy Money? - Package My Actionscript](https://forum.kirupa.com/t/want-easy-money-package-my-actionscript/322469)

<div class="topic-metadata">

**Author:** [@mixeraka](https://forum.kirupa.com/u/mixeraka)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 2:20pm UTC](https://forum.kirupa.com/t/want-easy-money-package-my-actionscript/322469 "2011-05-22T14:20:46Z")

</div>

Hey there guys, I was wondering can someone package my actionscript (which is on my timeline at the moment) to an external AS file? I'm willing to pay them a quick £5 or maybe more ;D PM if you're interested \[smiley\]

---

## [Countdown timers](https://forum.kirupa.com/t/countdown-timers/322468)

<div class="topic-metadata">

**Author:** [@MatrixSportsLLP](https://forum.kirupa.com/u/MatrixSportsLLP)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 12:52pm UTC](https://forum.kirupa.com/t/countdown-timers/322468 "2011-05-22T12:52:27Z")

</div>

Im a noob at flash looking for a way to create a counter. It needs to count from 0 - 1,000,000,000 at a speed of 45 counts per second. Can someone please give me a code or a webpage I can work with? Thanks

---

## [Access movieclip inside external swf](https://forum.kirupa.com/t/access-movieclip-inside-external-swf/322465)

<div class="topic-metadata">

**Author:** [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 8:16am UTC](https://forum.kirupa.com/t/access-movieclip-inside-external-swf/322465 "2011-05-22T08:16:17Z")

</div>

Hi all, I am loading an external swf into my main swf. From my main swf I am trying to access a movieclip inside the external swf. My code: trace(contentLoader.getChildByName("mask\_mc").y); trace(contentLoader.ge…

---

## [Class extending MovieClip has innacurate this.x/this.y values](https://forum.kirupa.com/t/class-extending-movieclip-has-innacurate-this-x-this-y-values/322463)

<div class="topic-metadata">

**Author:** [@Chalks](https://forum.kirupa.com/u/Chalks)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 6:45am UTC](https://forum.kirupa.com/t/class-extending-movieclip-has-innacurate-this-x-this-y-values/322463 "2011-05-22T06:45:48Z")

</div>

I would love if someone could take a look at the code below. When you do, you'll see that the movieclip should obviously be at position (0, 0) on the stage. However it appears at (25, 5)! if I leave in the original…

---

## [ASK: Animation by Script (AS2)](https://forum.kirupa.com/t/ask-animation-by-script-as2/322462)

<div class="topic-metadata">

**Author:** [@sangjagoan](https://forum.kirupa.com/u/sangjagoan)\
**Replies:** 0\
**Last updated:** [May 22, 2011, 6:14am UTC](https://forum.kirupa.com/t/ask-animation-by-script-as2/322462 "2011-05-22T06:14:52Z")

</div>

I'm using Flash CS4 as2. I have 2 movieclips, i want to animate them by some script as follow. //==bof=== function tweenFlow1() { easeType = mx.transitions.easing.None.easeNone; var begin = 100; var end = 200…

---

## [Parallax Panning Effect w/ Easing](https://forum.kirupa.com/t/parallax-panning-effect-w-easing/322458)

<div class="topic-metadata">

**Author:** [@nickhelm](https://forum.kirupa.com/u/nickhelm)\
**Replies:** 0\
**Last updated:** [May 21, 2011, 6:23pm UTC](https://forum.kirupa.com/t/parallax-panning-effect-w-easing/322458 "2011-05-21T18:23:49Z")

</div>

Hello Kirupa Community, I've been working hard to achieve a parallax panning effect like the one seen here www.mauriciostudio.com . Unfortunately the closest i have come is www.nickhelm.info/lsc/default.html Mine is ra…

---

## [I can't change my vertical scroll, need help!](https://forum.kirupa.com/t/i-cant-change-my-vertical-scroll-need-help/322457)

<div class="topic-metadata">

**Author:** [@punk132](https://forum.kirupa.com/u/punk132)\
**Replies:** 0\
**Last updated:** [May 21, 2011, 4:39pm UTC](https://forum.kirupa.com/t/i-cant-change-my-vertical-scroll-need-help/322457 "2011-05-21T16:39:27Z")

</div>

Hey I have a easy dummie code were I have a vertical scroll and i'm trying to change it to horizontal but I fail everytime I try to fix it and i kinda need some help here! I have attach a .fla file so you can see it. …

---

## [Lock down file extension when using flash to save a file](https://forum.kirupa.com/t/lock-down-file-extension-when-using-flash-to-save-a-file/322456)

<div class="topic-metadata">

**Author:** [@mickyjune26](https://forum.kirupa.com/u/mickyjune26)\
**Replies:** 0\
**Last updated:** [May 21, 2011, 3:29pm UTC](https://forum.kirupa.com/t/lock-down-file-extension-when-using-flash-to-save-a-file/322456 "2011-05-21T15:29:25Z")

</div>

We used Flex to build the web app below. It lets the user build an interactive activity and click "Publish as Flash" to save a SWF file on their local computer. http://217.156.73.72/showcase/SimBuilder/ Problem: When sav…

---

## [Suggestions for collision](https://forum.kirupa.com/t/suggestions-for-collision/322454)

<div class="topic-metadata">

**Author:** [@excogitator](https://forum.kirupa.com/u/excogitator)\
**Replies:** 0\
**Last updated:** [May 21, 2011, 11:38am UTC](https://forum.kirupa.com/t/suggestions-for-collision/322454 "2011-05-21T11:38:32Z")

</div>

Hey everyone, I'm making a site having a round office table (top view) and that would have daily elements upon it(laptop, phone etc) The client requires that everything be draggable and so collide with other objects but …

---

## [Hittesting](https://forum.kirupa.com/t/hittesting/322453)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [May 21, 2011, 11:05am UTC](https://forum.kirupa.com/t/hittesting/322453 "2011-05-21T11:05:38Z")

</div>

I have a mc (the\_hero) which when collides with another mc (enemy\_n), reverses its direction. if (enemy\_n.hitTestObject(the\_hero)) { if (enemy\_n.hitava==true) { enemy\_n.angle4=Math.floor(Math.atan2(the\_hero.y-enemy…

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

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