# programming

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

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

**Page:** 374

---

## [Box 2D](https://forum.kirupa.com/t/box-2d/316527)

<div class="topic-metadata">

**Author:** [@foryou\_sandeep](https://forum.kirupa.com/u/foryou_sandeep)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 1:14pm UTC](https://forum.kirupa.com/t/box-2d/316527 "2010-11-24T13:14:27Z")

</div>

I want to study Box 2D. I found difficulty in studying from the tutorials i reffered. Because they all starts with 'examples of doing something'. Please anyone help me to find a tutorial which deals with the basics of …

---

## [LineTo drawing a single line using animation](https://forum.kirupa.com/t/lineto-drawing-a-single-line-using-animation/316524)

<div class="topic-metadata">

**Author:** [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 11:05am UTC](https://forum.kirupa.com/t/lineto-drawing-a-single-line-using-animation/316524 "2010-11-24T11:05:20Z")

</div>

I am working on Drawing API. There is a movieclip on stage which I am animating using Tween class. I just want to draw a line from the initial position of a the movieclip to it's final position. I can draw line, but I ca…

---

## [Best document size for a scalable swf](https://forum.kirupa.com/t/best-document-size-for-a-scalable-swf/316521)

<div class="topic-metadata">

**Author:** [@cantaloupe](https://forum.kirupa.com/u/cantaloupe)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 9:14am UTC](https://forum.kirupa.com/t/best-document-size-for-a-scalable-swf/316521 "2010-11-24T09:14:38Z")

</div>

What would be a good document size to ensure my scaleable swf uses as much screen space as possible when inside a browser? I know there's no 'perfect' solution as I will need to strike a compromise that works for all o…

---

## [Random eye blinking](https://forum.kirupa.com/t/random-eye-blinking/316517)

<div class="topic-metadata">

**Author:** [@TheMrSadClown](https://forum.kirupa.com/u/TheMrSadClown)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 7:39am UTC](https://forum.kirupa.com/t/random-eye-blinking/316517 "2010-11-24T07:39:32Z")

</div>

This may seem trivial but for some reason I am having a difficult time getting the answer to this seemingly simple problem. I am trying to make an eye blink at random between 1-15 second intervals. I have a MC of the eye…

---

## [Is it possible to bend a movieclip (on a bezier curve)?](https://forum.kirupa.com/t/is-it-possible-to-bend-a-movieclip-on-a-bezier-curve/316516)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 6:09am UTC](https://forum.kirupa.com/t/is-it-possible-to-bend-a-movieclip-on-a-bezier-curve/316516 "2010-11-24T06:09:24Z")

</div>

I can create a bezier curve, but i want to be able to bend a movieclip (say a rectangular shaped block of colour). Can it be done? if so how? cheers dai2:eyeup:

---

## [AS2 to AS3 duplicate random MC](https://forum.kirupa.com/t/as2-to-as3-duplicate-random-mc/316515)

<div class="topic-metadata">

**Author:** [@Sakura](https://forum.kirupa.com/u/Sakura)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 5:37am UTC](https://forum.kirupa.com/t/as2-to-as3-duplicate-random-mc/316515 "2010-11-24T05:37:52Z")

</div>

Hello, it's been a long long time since a post. Well I was playing with Flash8, doing this tutorial (http://www.kirupa.com/developer/actionscript/duplicate.htm), all is well. Then I tried Flash CS4 and the AS doesn't w…

---

## [upload\_max\_filesize 3mb hosts?](https://forum.kirupa.com/t/upload-max-filesize-3mb-hosts/316513)

<div class="topic-metadata">

**Author:** [@chopficaro](https://forum.kirupa.com/u/chopficaro)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 4:23am UTC](https://forum.kirupa.com/t/upload-max-filesize-3mb-hosts/316513 "2010-11-24T04:23:21Z")

</div>

im trying to make an art gallery site for my sister with free hosting, i need upload\_max\_filesize to be at least 3mb ive tried many free hosting services and they are all 1.5mb ive tried changing it with .htaccess files …

---

## [Vertical Movie clip scroll on mouse move](https://forum.kirupa.com/t/vertical-movie-clip-scroll-on-mouse-move/316511)

<div class="topic-metadata">

**Author:** [@bombnail](https://forum.kirupa.com/u/bombnail)\
**Replies:** 0\
**Last updated:** [November 24, 2010, 3:00am UTC](https://forum.kirupa.com/t/vertical-movie-clip-scroll-on-mouse-move/316511 "2010-11-24T03:00:35Z")

</div>

Hi Guys, i have searched the net for hours, this is something that is very easy but cant find a sample or script anywhere. Basically i want to scroll a grid of images up and down the page with mouse over positioning. The…

---

## [StageAlign.BOTTOM, a BUG in fl player 9 when calling ExternalInterface for resizing?](https://forum.kirupa.com/t/stagealign-bottom-a-bug-in-fl-player-9-when-calling-externalinterface-for-resizing/316508)

<div class="topic-metadata">

**Author:** [@vvuk](https://forum.kirupa.com/u/vvuk)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 11:22pm UTC](https://forum.kirupa.com/t/stagealign-bottom-a-bug-in-fl-player-9-when-calling-externalinterface-for-resizing/316508 "2010-11-23T23:22:29Z")

</div>

Hello, \*\*T\*\*\*\*his is definitely a huge BUG in flash player 9. \*\* Here is some info if someone had run into similar problem? \*\*If I try to align flash to: \*\* StageAlign.BOTTOM or StageAlign.BOTTOM\_RIGHT or StageAli…

---

## [The dreaded Error #1009](https://forum.kirupa.com/t/the-dreaded-error-1009/316506)

<div class="topic-metadata">

**Author:** [@flash\_back](https://forum.kirupa.com/u/flash_back)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 10:49pm UTC](https://forum.kirupa.com/t/the-dreaded-error-1009/316506 "2010-11-23T22:49:21Z")

</div>

\[FONT=Verdana\]I have been scouring forums looking for a solution.. \[/FONT\] \[FONT=Verdana\] \[/FONT\] \[FONT=Verdana\]I know this has probably been answered a thousand times… I am a former flash dev that has not really used it…

---

## [IDE Published SWFs won't play in release player](https://forum.kirupa.com/t/ide-published-swfs-wont-play-in-release-player/316505)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 9:29pm UTC](https://forum.kirupa.com/t/ide-published-swfs-wont-play-in-release-player/316505 "2010-11-23T21:29:42Z")

</div>

I'm not sure when this started, but when I publish any movie (fp9 or fp10) in the IDE, my SWFs aren't appearing in my browsers (release player 10,1,102,64) ONLY WHEN I'm viewing the swf/html that are on my web server. I …

---

## [VideoEvent.COMPLETE fires early](https://forum.kirupa.com/t/videoevent-complete-fires-early/316499)

<div class="topic-metadata">

**Author:** [@Smoochface](https://forum.kirupa.com/u/Smoochface)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 4:28pm UTC](https://forum.kirupa.com/t/videoevent-complete-fires-early/316499 "2010-11-23T16:28:21Z")

</div>

Hey guys I am using the VideoEvent.COMPLETE trigger to return my user to a selection screen once a video they have chosen to watch has finished... but for some reason the trigger fires 2 or so seconds into the video(45se…

---

## [Can I package my app+videos into one file?](https://forum.kirupa.com/t/can-i-package-my-app-videos-into-one-file/316498)

<div class="topic-metadata">

**Author:** [@Smoochface](https://forum.kirupa.com/u/Smoochface)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 4:21pm UTC](https://forum.kirupa.com/t/can-i-package-my-app-videos-into-one-file/316498 "2010-11-23T16:21:20Z")

</div>

I have a 3.5MB SWF that points to ~80 FLVs that range in size from 3MB to 10MB. Is there a way I can package all of these files into one ~500MB file that can be run locally? My client wants sales people to take this a…

---

## [How to toggle simple buttons, call same function](https://forum.kirupa.com/t/how-to-toggle-simple-buttons-call-same-function/316497)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 3:43pm UTC](https://forum.kirupa.com/t/how-to-toggle-simple-buttons-call-same-function/316497 "2010-11-23T15:43:59Z")

</div>

Hello, I made 5 buttons on the stage. When these buttons are clicked I want to show AND hide items related to the buttons. Is there a way to "toggle" a simple button so that when it is cliked the first time it shows th…

---

## [Facebook integration](https://forum.kirupa.com/t/facebook-integration/316495)

<div class="topic-metadata">

**Author:** [@luoruize](https://forum.kirupa.com/u/luoruize)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 2:51pm UTC](https://forum.kirupa.com/t/facebook-integration/316495 "2010-11-23T14:51:43Z")

</div>

Hey guys, I'm working on an app which is supposed to be integrated later into facebook. Is there any good tutorial on where to start with FB and as3 integration? thanks!

---

## [Convert AS3 loader to AS2](https://forum.kirupa.com/t/convert-as3-loader-to-as2/316493)

<div class="topic-metadata">

**Author:** [@cantaloupe](https://forum.kirupa.com/u/cantaloupe)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 2:02pm UTC](https://forum.kirupa.com/t/convert-as3-loader-to-as2/316493 "2010-11-23T14:02:32Z")

</div>

I've been using the following code to load swfs with a simple bar preloader. However, I've now got a bunch of AS2 swfs to add loaders to and this code wont work. Is there either: a) a way to convert this code to as2? …

---

## [AS3 Assignment Operators](https://forum.kirupa.com/t/as3-assignment-operators/316490)

<div class="topic-metadata">

**Author:** [@slideth3](https://forum.kirupa.com/u/slideth3)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 11:47am UTC](https://forum.kirupa.com/t/as3-assignment-operators/316490 "2010-11-23T11:47:14Z")

</div>

I am currently trying to write an RGB class, and I was wondering if actionscript supported assignment operators (and other operators i.e +,-,\*,/); If for example I have two colors: var c1:RGB = new RGB(255,0,0); & va…

---

## [Embed flv in timeline crash](https://forum.kirupa.com/t/embed-flv-in-timeline-crash/316487)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 10:04am UTC](https://forum.kirupa.com/t/embed-flv-in-timeline-crash/316487 "2010-11-23T10:04:01Z")

</div>

God I hate timeline so much. In playing several flvs embedded in the timeline at the same time, this makes flash crash. Can't flash handle mutliple flvs embedded in the timeline playing simultaneously ? Because I've neve…

---

## [Mute sounds in MovieClip](https://forum.kirupa.com/t/mute-sounds-in-movieclip/316485)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 8:43am UTC](https://forum.kirupa.com/t/mute-sounds-in-movieclip/316485 "2010-11-23T08:43:37Z")

</div>

Hey, I have embedded flvs in the timeline of a few movieclips, I now need to be able to mute them so my ears wont be ruined by 5 clips playing simultaneously. I've tried with the SoundTransform, but somehow it seems like…

---

## [Unstable Frame Rates](https://forum.kirupa.com/t/unstable-frame-rates/316484)

<div class="topic-metadata">

**Author:** [@ChaoSXDemon](https://forum.kirupa.com/u/ChaoSXDemon)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 6:40am UTC](https://forum.kirupa.com/t/unstable-frame-rates/316484 "2010-11-23T06:40:09Z")

</div>

Why is Flash's frame rate so unstable? I have set it to 60 FPS and here is my output frame rate: FPS: 76.92307692307692 FPS: 500 FPS: 58.8235294117647 FPS: 83.33333333333333 FPS: 55.55555555555556 FPS: 55.555555555555…

---

## [Wiistream is looking for coders](https://forum.kirupa.com/t/wiistream-is-looking-for-coders/316483)

<div class="topic-metadata">

**Author:** [@mancent](https://forum.kirupa.com/u/mancent)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 6:09am UTC](https://forum.kirupa.com/t/wiistream-is-looking-for-coders/316483 "2010-11-23T06:09:15Z")

</div>

at http://wiistream.net Download the client at http://wiistream.net/WiiStream.exe \[image\] \[image\] \[image\] \[image\] Any one want to join my project who likes to code.. Im trying to make a Online personal computer…

---

## [Pulling marquee text from actionscript file](https://forum.kirupa.com/t/pulling-marquee-text-from-actionscript-file/316482)

<div class="topic-metadata">

**Author:** [@okieman](https://forum.kirupa.com/u/okieman)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 4:42am UTC](https://forum.kirupa.com/t/pulling-marquee-text-from-actionscript-file/316482 "2010-11-23T04:42:31Z")

</div>

I'm using an old open-source mp3 player (musicplayer.sourceforge.net) on my site because the visual design does not clash with existing colors, etc. The author provides two versions of the player. (ea also has the fla fi…

---

## [SWF Stage size in browser](https://forum.kirupa.com/t/swf-stage-size-in-browser/316481)

<div class="topic-metadata">

**Author:** [@kleelof](https://forum.kirupa.com/u/kleelof)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 4:26am UTC](https://forum.kirupa.com/t/swf-stage-size-in-browser/316481 "2010-11-23T04:26:22Z")

</div>

Hello, I am writing an app that, when loaded byt the HTML, could be any size. For example, using SWFObject and the following line: swfobject.embedSWF("Untitled-1.swf", "SMHSWF", "500", "500", "10", "expressInstall.…

---

## [Starting Template for Pure AS3](https://forum.kirupa.com/t/starting-template-for-pure-as3/316480)

<div class="topic-metadata">

**Author:** [@ChaoSXDemon](https://forum.kirupa.com/u/ChaoSXDemon)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 4:14am UTC](https://forum.kirupa.com/t/starting-template-for-pure-as3/316480 "2010-11-23T04:14:23Z")

</div>

Hey guys, I have seen many tutorials for AS3 but many of them are not the best OOP style programming. I thought I would share some insights on what I have learned. Initial Setup: \[LIST=1\] \[\*\]Make sure your main timelin…

---

## [Flex Error](https://forum.kirupa.com/t/flex-error/316479)

<div class="topic-metadata">

**Author:** [@zerdang](https://forum.kirupa.com/u/zerdang)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 3:18am UTC](https://forum.kirupa.com/t/flex-error/316479 "2010-11-23T03:18:35Z")

</div>

Okay so I’m decently proficient at AS3 so when I tried switching to to Flash Builder (Flex) I got confused fast. I’m following this tutorial here http://www.adobe.com/devnet/facebook/articles/flex\_fbgraph\_pt1.html I’m…

---

## [Point of collision](https://forum.kirupa.com/t/point-of-collision/316477)

<div class="topic-metadata">

**Author:** [@WhiteyMcWhite](https://forum.kirupa.com/u/WhiteyMcWhite)\
**Replies:** 0\
**Last updated:** [November 23, 2010, 2:58am UTC](https://forum.kirupa.com/t/point-of-collision/316477 "2010-11-23T02:58:06Z")

</div>

Hi, I'm going to be designing a small 2d rigid body system soon. Nothing crazy, just the basics. I know how to do the physics aspect and how to use verlet integration. I'll be using BitmapData.hitTest to determine if o…

---

## [Sorting Arrays and XML help](https://forum.kirupa.com/t/sorting-arrays-and-xml-help/316473)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [November 22, 2010, 11:42pm UTC](https://forum.kirupa.com/t/sorting-arrays-and-xml-help/316473 "2010-11-22T23:42:56Z")

</div>

I'm trying to bring XML nodes into an array so I can sort them in alphabetical order, then display the data in some textfields in a movieclip. I've managed to get the XML displaying fine in the movieclips and all the d…

---

## [Duplicate movieclip naming problem. as2](https://forum.kirupa.com/t/duplicate-movieclip-naming-problem-as2/316469)

<div class="topic-metadata">

**Author:** [@Mr\_Pancake](https://forum.kirupa.com/u/Mr_Pancake)\
**Replies:** 0\
**Last updated:** [November 22, 2010, 10:55pm UTC](https://forum.kirupa.com/t/duplicate-movieclip-naming-problem-as2/316469 "2010-11-22T22:55:49Z")

</div>

So yeah, i'm making a game again. there's a problem tho. I need the generated enemies to be called enemy1 enemy2 enemy3 and so on. the code returns enemy0 every single time "maker" is executed. what am i doing wrong he…

---

## [Simple Q -- Class constructor not being run](https://forum.kirupa.com/t/simple-q-class-constructor-not-being-run/316467)

<div class="topic-metadata">

**Author:** [@WhiTAkeR](https://forum.kirupa.com/u/WhiTAkeR)\
**Replies:** 0\
**Last updated:** [November 22, 2010, 10:24pm UTC](https://forum.kirupa.com/t/simple-q-class-constructor-not-being-run/316467 "2010-11-22T22:24:42Z")

</div>

Hey i have some pretty simple code, i have my document class trying to add a santa class to the stage (simple game \[smile\] ) - but it will not add and i get not errors at all, i cant see anything wrong any help will be g…

---

## [Is there a good way to separate touching collisions from overlapping collisions?](https://forum.kirupa.com/t/is-there-a-good-way-to-separate-touching-collisions-from-overlapping-collisions/316466)

<div class="topic-metadata">

**Author:** [@wMattD](https://forum.kirupa.com/u/wMattD)\
**Replies:** 0\
**Last updated:** [November 22, 2010, 8:12pm UTC](https://forum.kirupa.com/t/is-there-a-good-way-to-separate-touching-collisions-from-overlapping-collisions/316466 "2010-11-22T20:12:09Z")

</div>

I'm working on a game (my first) where objects touching is A-Ok, but I want to detect overlapping collisions ahead of time, prevent them, and react. This seems like a pretty basic and common thing, such as a character w…

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

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