# programming

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

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

**Page:** 1606

---

## [PHP Rounding Issue](https://forum.kirupa.com/t/php-rounding-issue/234127)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 7:17pm UTC](https://forum.kirupa.com/t/php-rounding-issue/234127 "2007-07-30T19:17:44Z")

</div>

Hey Guys, I am just finishing my first true PHP project and I am having a problem with positions after the decimal... What I want to do is ALWAYS display percentages to 3 places after the decimal. I have the round fu…

---

## [Email form w/ php](https://forum.kirupa.com/t/email-form-w-php/234126)

<div class="topic-metadata">

**Author:** [@pokefan](https://forum.kirupa.com/u/pokefan)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 7:14pm UTC](https://forum.kirupa.com/t/email-form-w-php/234126 "2007-07-30T19:14:09Z")

</div>

I'm trying to set up an email form and seem to be having problems getting everything running right. Just wondering if anyone could help me out. files are posted below: \<?php /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [as2 oop - component creation - inspectable elements](https://forum.kirupa.com/t/as2-oop-component-creation-inspectable-elements/234123)

<div class="topic-metadata">

**Author:** [@jansensan](https://forum.kirupa.com/u/jansensan)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 6:48pm UTC](https://forum.kirupa.com/t/as2-oop-component-creation-inspectable-elements/234123 "2007-07-30T18:48:00Z")

</div>

hello all, i have a lot of difficulty to wrap my head around the inspectable tags in as2 to create components. i think i need a second set of eyes to let me know if i overlooked something here is a part of the code, wh…

---

## [Mouse wheel + Movie Clip](https://forum.kirupa.com/t/mouse-wheel-movie-clip/234121)

<div class="topic-metadata">

**Author:** [@adstudio3d](https://forum.kirupa.com/u/adstudio3d)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 6:33pm UTC](https://forum.kirupa.com/t/mouse-wheel-movie-clip/234121 "2007-07-30T18:33:13Z")

</div>

I know you can use the mouse wheel to scroll through text in the flash componenet scroll pane, but is there a way to set it up to work with the code I have posted below? Any help would be greatly appreciated. I am starti…

---

## [\[f8\] AS2 & XML problem](https://forum.kirupa.com/t/f8-as2-xml-problem/234120)

<div class="topic-metadata">

**Author:** [@Dr\_Abner\_Mellon](https://forum.kirupa.com/u/Dr_Abner_Mellon)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 6:11pm UTC](https://forum.kirupa.com/t/f8-as2-xml-problem/234120 "2007-07-30T18:11:13Z")

</div>

Hey, I'm trying to get my news to pull through an xml file into a textbox. But for some reason its not loading. This script was originally used for an external page, which it then loaded into another .swf. But not I …

---

## [The border won't display?](https://forum.kirupa.com/t/the-border-wont-display/234119)

<div class="topic-metadata">

**Author:** [@jeffonfire](https://forum.kirupa.com/u/jeffonfire)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 6:06pm UTC](https://forum.kirupa.com/t/the-border-wont-display/234119 "2007-07-30T18:06:36Z")

</div>

The border won't display around the links in ie7?!?!?! \*\*please help!!!!!!!! I am going crazy:crazy: \*\* http://www.freewebs.com/petersweb/site%20new/index.html

---

## [Problems with Loader in Class](https://forum.kirupa.com/t/problems-with-loader-in-class/234116)

<div class="topic-metadata">

**Author:** [@011](https://forum.kirupa.com/u/011)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 5:57pm UTC](https://forum.kirupa.com/t/problems-with-loader-in-class/234116 "2007-07-30T17:57:50Z")

</div>

Hi! So, I just started trying to transition from AS2 to AS3 last week, and as an initial exercise I'm trying to figure out how to load images/swfs from outside of my FLA. I've come across the loader class, but I'm havi…

---

## [Input fields in Movie Clips](https://forum.kirupa.com/t/input-fields-in-movie-clips/234115)

<div class="topic-metadata">

**Author:** [@axxessdeny](https://forum.kirupa.com/u/axxessdeny)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 5:51pm UTC](https://forum.kirupa.com/t/input-fields-in-movie-clips/234115 "2007-07-30T17:51:40Z")

</div>

Hello all, I am somewhat of a newbie to Flash 8. I have created a site using Kirupa's tutorial on sliding menus. Link: http://www.kirupa.com/developer/flash8/slidingMenu.htm Anyways, my site works great, but I have…

---

## [Access document class from MovieClip timeline?](https://forum.kirupa.com/t/access-document-class-from-movieclip-timeline/234113)

<div class="topic-metadata">

**Author:** [@helios02](https://forum.kirupa.com/u/helios02)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 5:41pm UTC](https://forum.kirupa.com/t/access-document-class-from-movieclip-timeline/234113 "2007-07-30T17:41:38Z")

</div>

I'm still trying to figure things out with AS3, could someone help me out on how to access public methods in my document class from pre-existing movieclips on the stage?

---

## [Acessing the stage](https://forum.kirupa.com/t/acessing-the-stage/234107)

<div class="topic-metadata">

**Author:** [@obsolete](https://forum.kirupa.com/u/obsolete)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 4:23pm UTC](https://forum.kirupa.com/t/acessing-the-stage/234107 "2007-07-30T16:23:14Z")

</div>

I need to know the elements on the stage. I'm creating textfields and don't know how to access them. in as 1 and 2 all I needed to do would be a for (var a in \_root){ do something } what should I do to do somethin…

---

## [DataGrid component](https://forum.kirupa.com/t/datagrid-component/234106)

<div class="topic-metadata">

**Author:** [@hey\_suburbia](https://forum.kirupa.com/u/hey_suburbia)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 4:13pm UTC](https://forum.kirupa.com/t/datagrid-component/234106 "2007-07-30T16:13:24Z")

</div>

I have a data grid component that populates dynamically and I want the first item in the list to be selected by default, any thoughts? THANKS!

---

## [SWF compression](https://forum.kirupa.com/t/swf-compression/234105)

<div class="topic-metadata">

**Author:** [@saeta70](https://forum.kirupa.com/u/saeta70)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 4:12pm UTC](https://forum.kirupa.com/t/swf-compression/234105 "2007-07-30T16:12:15Z")

</div>

Is there a way to compress an existing SWF file, without modifying the .FLA? Proportions: 1024 x 768 weight: 2.2 MB. I'd like to convert it to 250 x 188 and if possible lighter than the 2 MBs. Thanks.

---

## [Frame doubling when importing animated gifs](https://forum.kirupa.com/t/frame-doubling-when-importing-animated-gifs/234104)

<div class="topic-metadata">

**Author:** [@foodpk](https://forum.kirupa.com/u/foodpk)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 4:10pm UTC](https://forum.kirupa.com/t/frame-doubling-when-importing-animated-gifs/234104 "2007-07-30T16:10:32Z")

</div>

Hey guys! It's time to help out your buddy from serverside. I'm putting some animated gifs into a flash movie. I have about 20 gifs that I need to put in there, but the problem is that when I put some of them in there th…

---

## [Load images from server on localhost, then upload them?](https://forum.kirupa.com/t/load-images-from-server-on-localhost-then-upload-them/234103)

<div class="topic-metadata">

**Author:** [@sprinkles](https://forum.kirupa.com/u/sprinkles)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 4:10pm UTC](https://forum.kirupa.com/t/load-images-from-server-on-localhost-then-upload-them/234103 "2007-07-30T16:10:06Z")

</div>

I wont bore you with the complicated background, but I have a problem, and I think Flash can solve it! An application passes a list of URLs to images to my script. I need to then get these images onto my server. The pr…

---

## [Error Message : Event Handler](https://forum.kirupa.com/t/error-message-event-handler/234100)

<div class="topic-metadata">

**Author:** [@Macadia](https://forum.kirupa.com/u/Macadia)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 3:39pm UTC](https://forum.kirupa.com/t/error-message-event-handler/234100 "2007-07-30T15:39:15Z")

</div>

Hi. I have a code designed to move a ball on screen according to mouse positions, but 6 errors are compiled and all say: 1119: Access of possibly undefined property MOUSE\_DOWN through a reference with static type Class. f…

---

## [Misbehaviour of Text](https://forum.kirupa.com/t/misbehaviour-of-text/234097)

<div class="topic-metadata">

**Author:** [@zephn](https://forum.kirupa.com/u/zephn)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 3:03pm UTC](https://forum.kirupa.com/t/misbehaviour-of-text/234097 "2007-07-30T15:03:57Z")

</div>

I've tried searching the forums and the web via google and because there are so many text bugs etc I've not been able to filter out an answer to this question from the lot. I have volunteered to build this site http://…

---

## [XML Gallery - Memory Issue](https://forum.kirupa.com/t/xml-gallery-memory-issue/234096)

<div class="topic-metadata">

**Author:** [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 2:55pm UTC](https://forum.kirupa.com/t/xml-gallery-memory-issue/234096 "2007-07-30T14:55:37Z")

</div>

I've opened up my performance window and I can see that during each transition my memory jumps up to 90%!! At first I thought that it might be doing this because it's preloading the new image before the transistion, how…

---

## [Class critique / guidance](https://forum.kirupa.com/t/class-critique-guidance/234095)

<div class="topic-metadata">

**Author:** [@halian](https://forum.kirupa.com/u/halian)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 2:54pm UTC](https://forum.kirupa.com/t/class-critique-guidance/234095 "2007-07-30T14:54:43Z")

</div>

So I'm not a newbie when it comes to actionscript but nor am I an expert. I was wondering if some of you would take the time to guide me a little bit on my Class creating and whatnot. Maybe I'm doing things backwards or …

---

## [Making an intro screen](https://forum.kirupa.com/t/making-an-intro-screen/234091)

<div class="topic-metadata">

**Author:** [@mmorosky](https://forum.kirupa.com/u/mmorosky)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 2:31pm UTC](https://forum.kirupa.com/t/making-an-intro-screen/234091 "2007-07-30T14:31:57Z")

</div>

I'm facing a little bit of a dilemma. I've created a small game as a Document Class (in Flash CS3), but now I want to add an "Intro" screen to the game, and possibly a high-scores screen. To make this possible, it seems …

---

## [\[AS2\] loading .swf using loadClip](https://forum.kirupa.com/t/as2-loading-swf-using-loadclip/234090)

<div class="topic-metadata">

**Author:** [@neoarch](https://forum.kirupa.com/u/neoarch)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 2:26pm UTC](https://forum.kirupa.com/t/as2-loading-swf-using-loadclip/234090 "2007-07-30T14:26:49Z")

</div>

I'm trying to load a .swf from a sub directory, and I've read that doesn't work. Why will Images load from a subdirectory using the loadClip method then?

---

## [Flash Navigation problem](https://forum.kirupa.com/t/flash-navigation-problem/234088)

<div class="topic-metadata">

**Author:** [@creativ157](https://forum.kirupa.com/u/creativ157)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 2:08pm UTC](https://forum.kirupa.com/t/flash-navigation-problem/234088 "2007-07-30T14:08:32Z")

</div>

My file is a zip file and 2MB, it wont let me upload... if possible can i send to someone via email...for some reason my navigation on both the photography and the portfolio page do not work, say for example you click on…

---

## [Extracting the name of the swf file invoking an action script](https://forum.kirupa.com/t/extracting-the-name-of-the-swf-file-invoking-an-action-script/234079)

<div class="topic-metadata">

**Author:** [@ajayv](https://forum.kirupa.com/u/ajayv)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 1:03pm UTC](https://forum.kirupa.com/t/extracting-the-name-of-the-swf-file-invoking-an-action-script/234079 "2007-07-30T13:03:04Z")

</div>

Hi all, I am building an application where a single action script code is compiled and stored in different names, and based on the name of the swf file invoking the script the script has to do different actions. I need t…

---

## [XMLSocket: move objects simultanously - problem](https://forum.kirupa.com/t/xmlsocket-move-objects-simultanously-problem/234078)

<div class="topic-metadata">

**Author:** [@penitenziagite](https://forum.kirupa.com/u/penitenziagite)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 12:41pm UTC](https://forum.kirupa.com/t/xmlsocket-move-objects-simultanously-problem/234078 "2007-07-30T12:41:27Z")

</div>

Hi I am having a problem with XMLSocket data sending and loading. I want to create a game like chess: two players connected, when one of them takes his move, other can see it on the screen. So I wrote the script ("circle…

---

## [How to load external swf with url parameter?](https://forum.kirupa.com/t/how-to-load-external-swf-with-url-parameter/234075)

<div class="topic-metadata">

**Author:** [@pson83](https://forum.kirupa.com/u/pson83)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 12:13pm UTC](https://forum.kirupa.com/t/how-to-load-external-swf-with-url-parameter/234075 "2007-07-30T12:13:39Z")

</div>

I want to load this url "http://www.testing.com/testing.swf?user=testing&site=tester&type=compact" into another swf. I've tried this code but it is not working. on (release) { loader.loadMovie("http://www.t…

---

## [FLV video size wrong when loading in Flash?](https://forum.kirupa.com/t/flv-video-size-wrong-when-loading-in-flash/234069)

<div class="topic-metadata">

**Author:** [@wvoets](https://forum.kirupa.com/u/wvoets)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 11:10am UTC](https://forum.kirupa.com/t/flv-video-size-wrong-when-loading-in-flash/234069 "2007-07-30T11:10:51Z")

</div>

Hey All! I’m having trouble with an FLV file I’m trying to play. I’ve encoded the file with Flash Video Encoder. Resized it to 100x130px. When i load it in Flash with the following code. It plays, but… The size isn’…

---

## [OOP etiquette](https://forum.kirupa.com/t/oop-etiquette/234067)

<div class="topic-metadata">

**Author:** [@tezzutezzu](https://forum.kirupa.com/u/tezzutezzu)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 10:16am UTC](https://forum.kirupa.com/t/oop-etiquette/234067 "2007-07-30T10:16:00Z")

</div>

trace(new Greeting ()); // Hello people! I had just been told that storing lots of public properties in an object is not a very good OOP approach. Suggestions are to use mainly private properties if these ones are just…

---

## [hitTestObject reference](https://forum.kirupa.com/t/hittestobject-reference/234062)

<div class="topic-metadata">

**Author:** [@xEnOn](https://forum.kirupa.com/u/xEnOn)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 7:14am UTC](https://forum.kirupa.com/t/hittestobject-reference/234062 "2007-07-30T07:14:56Z")

</div>

i am having some problems with the scope of AS3 again... i have a movieclip, that has a linkage, that is based on a class called "Icon". in this Icon.as, i have a function that is trying to accessing a movie clip call dr…

---

## [Loading Movieclip over main timeline from other clip](https://forum.kirupa.com/t/loading-movieclip-over-main-timeline-from-other-clip/234058)

<div class="topic-metadata">

**Author:** [@Auona](https://forum.kirupa.com/u/Auona)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 6:52am UTC](https://forum.kirupa.com/t/loading-movieclip-over-main-timeline-from-other-clip/234058 "2007-07-30T06:52:20Z")

</div>

I'm not sure if this is possible. What I would like to do is make a fake window and have it play over the main timeline (but not erase what is already playing there) I would like to be able to do it from another mov…

---

## [Fighting Game - Key combo](https://forum.kirupa.com/t/fighting-game-key-combo/234057)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 6:25am UTC](https://forum.kirupa.com/t/fighting-game-key-combo/234057 "2007-07-30T06:25:35Z")

</div>

hey, Well.. I'm currently making this "street fighter" style game.. where you have characters attack and block etc.. However.. the problem i've run into is the "multiple" key detection actionscript.. So far.. I can o…

---

## [Tab Leading](https://forum.kirupa.com/t/tab-leading/234053)

<div class="topic-metadata">

**Author:** [@alpharaven](https://forum.kirupa.com/u/alpharaven)\
**Replies:** 0\
**Last updated:** [July 30, 2007, 4:09am UTC](https://forum.kirupa.com/t/tab-leading/234053 "2007-07-30T04:09:30Z")

</div>

How can I create a Tab leading just like you would in Word but using AS.All the info is being pulled from a XML file. I have this but it does not keep the text aligned correctly. var cnt = new\_news.length; txt.tex…

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

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