# programming

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

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

**Page:** 1234

---

## [Sliding foosball men problem](https://forum.kirupa.com/t/sliding-foosball-men-problem/260570)

<div class="topic-metadata">

**Author:** [@bugi](https://forum.kirupa.com/u/bugi)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 11:45pm UTC](https://forum.kirupa.com/t/sliding-foosball-men-problem/260570 "2008-05-18T23:45:47Z")

</div>

I am trying to make the different rows of foosball men slide up and down based on the mouse's distance from the table center, so the mouse doesn't go out of the stage. At the moment I calculate the row position using: …

---

## [AI Enemies](https://forum.kirupa.com/t/ai-enemies/260353)

<div class="topic-metadata">

**Author:** [@stupidsaint](https://forum.kirupa.com/u/stupidsaint)\
**Replies:** 7\
**Last updated:** [May 18, 2008, 11:38pm UTC](https://forum.kirupa.com/t/ai-enemies/260353 "2008-05-18T23:38:58Z")

</div>

i am trying to make a game where the bad guys randomly walk about in a certain area. the enemies will attack you when you enter into there roaming around space. i have been working in flash for 4 years and cant think how…

---

## [CuePoints? Need advice!](https://forum.kirupa.com/t/cuepoints-need-advice/259807)

<div class="topic-metadata">

**Author:** [@Artanis667](https://forum.kirupa.com/u/Artanis667)\
**Replies:** 6\
**Last updated:** [May 18, 2008, 10:58pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807 "2008-05-18T22:58:18Z")

</div>

Ok, so im currently making a site in flash and I need some advice on how to do something a little trickey. Basically, on one the of the pages, when it loads up it starts a presentation (a seperate movieclip named "RBBM I…

---

## [\[Flash 8\]Help With Instantiating Sub-Classes](https://forum.kirupa.com/t/flash-8-help-with-instantiating-sub-classes/260582)

<div class="topic-metadata">

**Author:** [@KyleCoyle](https://forum.kirupa.com/u/KyleCoyle)\
**Replies:** 3\
**Last updated:** [May 18, 2008, 10:44pm UTC](https://forum.kirupa.com/t/flash-8-help-with-instantiating-sub-classes/260582 "2008-05-18T22:44:15Z")

</div>

Hey Guys, I'm currently trying to teach my self OOP and am having a little trouble. I have very little scripting experience and none other than actionscript so I'm sorry if this is poorly explained. I'm working on a …

---

## [Dynamic Images Not Loading In Correct Position](https://forum.kirupa.com/t/dynamic-images-not-loading-in-correct-position/215623)

<div class="topic-metadata">

**Author:** [@imvain2](https://forum.kirupa.com/u/imvain2)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 10:32pm UTC](https://forum.kirupa.com/t/dynamic-images-not-loading-in-correct-position/215623 "2008-05-18T22:32:37Z")

</div>

Currently, I use loadmovie to load a jpg into a movieclip. However, when the jpg is loaded, I believe that the top left hand corner of the jpg is in the middle of the clip and does not line up with the top left hand corn…

---

## [Loading HTTP attributes in flash?](https://forum.kirupa.com/t/loading-http-attributes-in-flash/260552)

<div class="topic-metadata">

**Author:** [@zoransoko](https://forum.kirupa.com/u/zoransoko)\
**Replies:** 2\
**Last updated:** [May 18, 2008, 9:56pm UTC](https://forum.kirupa.com/t/loading-http-attributes-in-flash/260552 "2008-05-18T21:56:00Z")

</div>

Hallo Everybody! I have 2 questions about HTTP attributes. 1. If I have this URL: http://sitename/mainmovie.swf?file=dir/movie.swf&adv=adv/advmovie.swf ...how can I load the values for 'file' and 'adv' into my fl…

---

## [Adding a movie trailer to a flash webpage](https://forum.kirupa.com/t/adding-a-movie-trailer-to-a-flash-webpage/260606)

<div class="topic-metadata">

**Author:** [@flufilms](https://forum.kirupa.com/u/flufilms)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 9:46pm UTC](https://forum.kirupa.com/t/adding-a-movie-trailer-to-a-flash-webpage/260606 "2008-05-18T21:46:59Z")

</div>

Hi guys, I've looked arond the forum bt searching for a problem involving the works movie or clip leads to quite a few results! I have a flash page - entirely flash, and I want to put a move trailer in it which appears…

---

## [Embedded video - HELP!](https://forum.kirupa.com/t/embedded-video-help/260661)

<div class="topic-metadata">

**Author:** [@flufilms](https://forum.kirupa.com/u/flufilms)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 9:40pm UTC](https://forum.kirupa.com/t/embedded-video-help/260661 "2008-05-18T21:40:39Z")

</div>

I'm going to ask the same question again - as I think I poorly explained myself before. What is the best way to have a video clip in your Flash webpage? Should I embedd the video in the swf file itself - or use some k…

---

## [Send an email](https://forum.kirupa.com/t/send-an-email/260669)

<div class="topic-metadata">

**Author:** [@bilahodod](https://forum.kirupa.com/u/bilahodod)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 8:48pm UTC](https://forum.kirupa.com/t/send-an-email/260669 "2008-05-18T20:48:16Z")

</div>

Hi there I just got the tutorial how to send an email with php method but when i send it I don,t get any thing please is there any help . Regard

---

## [Apply function to different MC's simultaneously?](https://forum.kirupa.com/t/apply-function-to-different-mcs-simultaneously/260670)

<div class="topic-metadata">

**Author:** [@aveceva](https://forum.kirupa.com/u/aveceva)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 7:55pm UTC](https://forum.kirupa.com/t/apply-function-to-different-mcs-simultaneously/260670 "2008-05-18T19:55:48Z")

</div>

Hey guys, Sorry if this has been answered before - I have no idea where to begin with this so didn't know what to search on the forum. Basically: I have 2 objects (Object1 and Object2) I wish control them using th…

---

## [Converting bitmapdisplay object to sprite (Please help)](https://forum.kirupa.com/t/converting-bitmapdisplay-object-to-sprite-please-help/260680)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 3\
**Last updated:** [May 18, 2008, 7:51pm UTC](https://forum.kirupa.com/t/converting-bitmapdisplay-object-to-sprite-please-help/260680 "2008-05-18T19:51:36Z")

</div>

Hi I am loading jpg image and then trying to assign that image to a sprite object I have a class that is loading the image and it has a method that returns the loaded image this class is called ImageLoader and the co…

---

## [sendAndLoad issues](https://forum.kirupa.com/t/sendandload-issues/260676)

<div class="topic-metadata">

**Author:** [@vampiric\_hoshi](https://forum.kirupa.com/u/vampiric_hoshi)\
**Replies:** 5\
**Last updated:** [May 18, 2008, 7:42pm UTC](https://forum.kirupa.com/t/sendandload-issues/260676 "2008-05-18T19:42:12Z")

</div>

Ok its probably something really simple but I've been staring at so much code over the past week that I can barely keep focus on the screen.. I'm rumming an SWF that sends data to a PHP file and then retrieves the PHP …

---

## [Accordian, Slide menu](https://forum.kirupa.com/t/accordian-slide-menu/260681)

<div class="topic-metadata">

**Author:** [@MrChris](https://forum.kirupa.com/u/MrChris)\
**Replies:** 0\
**Last updated:** [May 18, 2008, 7:38pm UTC](https://forum.kirupa.com/t/accordian-slide-menu/260681 "2008-05-18T19:38:36Z")

</div>

Hi There, I want to build a Navigation thats loosely based on an Accordian style layout but with a little more realtime effects. Attached is a little FLA to give you an idea of what I'm after, as you see at the moment …

---

## [hitTest on Object within the same array](https://forum.kirupa.com/t/hittest-on-object-within-the-same-array/260658)

<div class="topic-metadata">

**Author:** [@RebuiltJorge](https://forum.kirupa.com/u/RebuiltJorge)\
**Replies:** 5\
**Last updated:** [May 18, 2008, 7:35pm UTC](https://forum.kirupa.com/t/hittest-on-object-within-the-same-array/260658 "2008-05-18T19:35:16Z")

</div>

I have enemy ships appear four at a time, however sometimes they appear on top of each other, how can I make a hitTest that will determine if objects within the same array are hitting each other, this is the way I do my …

---

## [First time using flash](https://forum.kirupa.com/t/first-time-using-flash/260555)

<div class="topic-metadata">

**Author:** [@Blender7](https://forum.kirupa.com/u/Blender7)\
**Replies:** 23\
**Last updated:** [May 18, 2008, 7:11pm UTC](https://forum.kirupa.com/t/first-time-using-flash/260555 "2008-05-18T19:11:37Z")

</div>

Hey guys, I am a student in software engineering and I have my break from school now. I have a few people wanting me to build them websites but I only know javascript and html. I have downloaded some of the template…

---

## [Local swf File LOCKED after loading!](https://forum.kirupa.com/t/local-swf-file-locked-after-loading/260674)

<div class="topic-metadata">

**Author:** [@kiliaan856](https://forum.kirupa.com/u/kiliaan856)\
**Replies:** 0\
**Last updated:** [May 18, 2008, 5:30pm UTC](https://forum.kirupa.com/t/local-swf-file-locked-after-loading/260674 "2008-05-18T17:30:12Z")

</div>

I have 2 swf files... the main.swf loads the secondary.swf main.swf is and will run on my local computer in the standalone flash player. When main.swf loads secondary.swf all is well except secondary.swf is locked o…

---

## [Hi! Is it possible to...? \[Flash 8\]](https://forum.kirupa.com/t/hi-is-it-possible-to-flash-8/260672)

<div class="topic-metadata">

**Author:** [@Valaran](https://forum.kirupa.com/u/Valaran)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 5:14pm UTC](https://forum.kirupa.com/t/hi-is-it-possible-to-flash-8/260672 "2008-05-18T17:14:10Z")

</div>

Hello, I know that you can import .ai files (adobe illustrator) to the stage/library, but can you do this dynamicly, like you can load jpeg files with a MovieClipLoader? I currently don't have adobe illustrator install…

---

## [Reading an RSS feed in Flash AS2.0](https://forum.kirupa.com/t/reading-an-rss-feed-in-flash-as2-0/260635)

<div class="topic-metadata">

**Author:** [@jayrich86](https://forum.kirupa.com/u/jayrich86)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 3:57pm UTC](https://forum.kirupa.com/t/reading-an-rss-feed-in-flash-as2-0/260635 "2008-05-18T15:57:44Z")

</div>

I'm trying to read my most recent post from my blog into my flash movie. It seems to work, but sometimes it's delayed, and sometimes it doesn't load at all. Here is my code. If someone can take a look and give me some di…

---

## [POSTing vars when calling PHP via XML.onLoad](https://forum.kirupa.com/t/posting-vars-when-calling-php-via-xml-onload/260614)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 2\
**Last updated:** [May 18, 2008, 3:10pm UTC](https://forum.kirupa.com/t/posting-vars-when-calling-php-via-xml-onload/260614 "2008-05-18T15:10:16Z")

</div>

In Flash, I'm trying to pass some flash vars to a .php script that's running an SQL query. The .php echoes xml that I'm parsing in flash. Here's my problem: var postMe:String = "I want to get posted to php so it c…

---

## [Overlapping linkage names of 2 swf's](https://forum.kirupa.com/t/overlapping-linkage-names-of-2-swfs/260596)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 3\
**Last updated:** [May 18, 2008, 2:40pm UTC](https://forum.kirupa.com/t/overlapping-linkage-names-of-2-swfs/260596 "2008-05-18T14:40:15Z")

</div>

I have a Linkage problem where in one movie, I have a movieclip with a Linkage name "Box". And in another movie with a movieclip Linkage'd "Box". When I load the other movie into another, the loaded movie uses the "Box" …

---

## [Webcam snapshot](https://forum.kirupa.com/t/webcam-snapshot/260586)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 3\
**Last updated:** [May 18, 2008, 1:09pm UTC](https://forum.kirupa.com/t/webcam-snapshot/260586 "2008-05-18T13:09:23Z")

</div>

I have followed Lee's tutorials on saving snapshot from webcam, but now I found out that I need it to be in a normal swf file rather than an air application. How could I change the code here? import com.adobe.images.P…

---

## [Animating lines, creating wave-form (fluent)](https://forum.kirupa.com/t/animating-lines-creating-wave-form-fluent/260430)

<div class="topic-metadata">

**Author:** [@jnsjohansson](https://forum.kirupa.com/u/jnsjohansson)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 12:46pm UTC](https://forum.kirupa.com/t/animating-lines-creating-wave-form-fluent/260430 "2008-05-18T12:46:54Z")

</div>

I recently recieved a project where my task is to use the logo (the lines within the flash-file) and animate them to ressemble a wave (or flock of birds, view movie). Is there any automized way I can achieve this (or s…

---

## [1.50 instead of 1.5....how?](https://forum.kirupa.com/t/1-50-instead-of-1-5-how/260393)

<div class="topic-metadata">

**Author:** [@bluemagica](https://forum.kirupa.com/u/bluemagica)\
**Replies:** 11\
**Last updated:** [May 18, 2008, 11:42am UTC](https://forum.kirupa.com/t/1-50-instead-of-1-5-how/260393 "2008-05-18T11:42:10Z")

</div>

while adding floats, how do i get the trailing 0? cause flash just seems to terminate it! and also is there a way to fix the number of digits after the decimal place?

---

## [Looking for a lead on Layers](https://forum.kirupa.com/t/looking-for-a-lead-on-layers/260645)

<div class="topic-metadata">

**Author:** [@Tejh](https://forum.kirupa.com/u/Tejh)\
**Replies:** 1\
**Last updated:** [May 18, 2008, 5:16am UTC](https://forum.kirupa.com/t/looking-for-a-lead-on-layers/260645 "2008-05-18T05:16:48Z")

</div>

Im looking to create a persistent layer on my website to use it as a menu. And I know many sites have used something along these lines. I am looking for some advice or a link on how exactly to implement it. The best e…

---

## [Hey, I need help on a scrolling thumbnail](https://forum.kirupa.com/t/hey-i-need-help-on-a-scrolling-thumbnail/260650)

<div class="topic-metadata">

**Author:** [@ivank](https://forum.kirupa.com/u/ivank)\
**Replies:** 0\
**Last updated:** [May 18, 2008, 4:46am UTC](https://forum.kirupa.com/t/hey-i-need-help-on-a-scrolling-thumbnail/260650 "2008-05-18T04:46:32Z")

</div>

Hey everyone, I'm new to this forum, so please be kind to me. Anyhow, I am trying to make a scrolling horizontal thumbnail bar exactly like the one on Kirupa's tutorials, however, I've gotten everything down except th…

---

## [Programatic TextField sizing](https://forum.kirupa.com/t/programatic-textfield-sizing/260648)

<div class="topic-metadata">

**Author:** [@Ikinsey](https://forum.kirupa.com/u/Ikinsey)\
**Replies:** 0\
**Last updated:** [May 18, 2008, 3:38am UTC](https://forum.kirupa.com/t/programatic-textfield-sizing/260648 "2008-05-18T03:38:50Z")

</div>

Ok, so this is all in Actionscript 3.0 in Flash CS3. I have a TextField I created and added to the stage and I want an MC to change its width to the width of the TextField whenever a new word is programmatically put in…

---

## [AS3 cue point navgation](https://forum.kirupa.com/t/as3-cue-point-navgation/260641)

<div class="topic-metadata">

**Author:** [@Ralph\_Score](https://forum.kirupa.com/u/Ralph_Score)\
**Replies:** 0\
**Last updated:** [May 18, 2008, 12:28am UTC](https://forum.kirupa.com/t/as3-cue-point-navgation/260641 "2008-05-18T00:28:16Z")

</div>

Hi All, I would like to know if there is someone out there who can please help me with what seems to be an easy AS3 coding issue involving the use of embedded flv cues w/parameter names to navigate to frame labels of t…

---

## [Flash 3d game speed](https://forum.kirupa.com/t/flash-3d-game-speed/260526)

<div class="topic-metadata">

**Author:** [@excogitator](https://forum.kirupa.com/u/excogitator)\
**Replies:** 5\
**Last updated:** [May 17, 2008, 10:32pm UTC](https://forum.kirupa.com/t/flash-3d-game-speed/260526 "2008-05-17T22:32:37Z")

</div>

I dont know whether this is the right place to comment something about gameplay. But since many avid programmers might peer here for game development help they might probably read this. I so realized that we keep makin…

---

## [Have you noticed](https://forum.kirupa.com/t/have-you-noticed/260633)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 2\
**Last updated:** [May 17, 2008, 10:19pm UTC](https://forum.kirupa.com/t/have-you-noticed/260633 "2008-05-17T22:19:13Z")

</div>

That you can't remove a movieclip if it's at a minus depth? Is this on purpose, or is it a glitch?

---

## [Need help with some hittest code](https://forum.kirupa.com/t/need-help-with-some-hittest-code/260632)

<div class="topic-metadata">

**Author:** [@slumgutt](https://forum.kirupa.com/u/slumgutt)\
**Replies:** 0\
**Last updated:** [May 17, 2008, 9:37pm UTC](https://forum.kirupa.com/t/need-help-with-some-hittest-code/260632 "2008-05-17T21:37:34Z")

</div>

Hi, I have to bits of code I would like to combine. The first code gets a movieclip to move when i press the arrow keys. Now, I want to do a hittest when this object touches another, but I can't figure out how to add t…

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

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