# programming

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

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

**Page:** 938

---

## [ActionScript or PHP for this?](https://forum.kirupa.com/t/actionscript-or-php-for-this/280684)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 11:34am UTC](https://forum.kirupa.com/t/actionscript-or-php-for-this/280684 "2009-01-30T11:34:53Z")

</div>

Hey, I've got an \<event\> xml feed, each \<event\> has multiple \<player\>'s. And I have a \<playerProfile\> feed. what principle do you suggest I use to display the \<playerProfile\>'s when an event is clicked? Thanks Ian

---

## [Help Proportional scaling MovieClips relative to stage](https://forum.kirupa.com/t/help-proportional-scaling-movieclips-relative-to-stage/280680)

<div class="topic-metadata">

**Author:** [@Terraform](https://forum.kirupa.com/u/Terraform)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 10:31am UTC](https://forum.kirupa.com/t/help-proportional-scaling-movieclips-relative-to-stage/280680 "2009-01-30T10:31:32Z")

</div>

Hello I need some assistance on how to proportionally scale multiple movieClips relative to the stage size. I understand movieclip placement relative to the stage, and I have been using a code to scale MovieClips as a…

---

## [ActionScript challenge (im struggling)](https://forum.kirupa.com/t/actionscript-challenge-im-struggling/280678)

<div class="topic-metadata">

**Author:** [@simononestop](https://forum.kirupa.com/u/simononestop)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 10:09am UTC](https://forum.kirupa.com/t/actionscript-challenge-im-struggling/280678 "2009-01-30T10:09:11Z")

</div>

I am struggling to write a piece of script which is part of my fencing estmator. If any one can help me I would be well chuffed!! We sell fencing in 3m, 2.4m and 1.8m panels. I need to write a function which finds the …

---

## [Multi Level Flash Horizontla menu](https://forum.kirupa.com/t/multi-level-flash-horizontla-menu/280676)

<div class="topic-metadata">

**Author:** [@last](https://forum.kirupa.com/u/last)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 8:35am UTC](https://forum.kirupa.com/t/multi-level-flash-horizontla-menu/280676 "2009-01-30T08:35:48Z")

</div>

I am trying to create a mulitlevel horizontal flash drop down menu. It's coming along but I have a few issues. 1) I would like to make the text in my Main Menu a different size say (16) and the one in in my sub menu say…

---

## [Key.getCode() conversion](https://forum.kirupa.com/t/key-getcode-conversion/280675)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 8:27am UTC](https://forum.kirupa.com/t/key-getcode-conversion/280675 "2009-01-30T08:27:59Z")

</div>

\*\*\[SOLVED\] - Thanks Senocular! EXPLANATION:\*\* So I've set up some custom controls in my movie that the user can choose, and for the most part they all work fine; you click a control, press a key to bind to it and the…

---

## [MX 2004 help w hit test](https://forum.kirupa.com/t/mx-2004-help-w-hit-test/280674)

<div class="topic-metadata">

**Author:** [@marshen](https://forum.kirupa.com/u/marshen)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 7:53am UTC](https://forum.kirupa.com/t/mx-2004-help-w-hit-test/280674 "2009-01-30T07:53:23Z")

</div>

need help with a pipe it wont load the "pipe Mario" when he hits the pipe any help would be great

---

## [Preload the same movie as in AS2](https://forum.kirupa.com/t/preload-the-same-movie-as-in-as2/280672)

<div class="topic-metadata">

**Author:** [@kookaburra](https://forum.kirupa.com/u/kookaburra)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 6:59am UTC](https://forum.kirupa.com/t/preload-the-same-movie-as-in-as2/280672 "2009-01-30T06:59:47Z")

</div>

I'm working on test.fla, with document class test.as. I write the following code to test.as \[AS\] package { import flash.display.MovieClip; import flash.events.\*; import flash.utils.getTimer; //Other M…

---

## [Detecting a Spoof Client](https://forum.kirupa.com/t/detecting-a-spoof-client/280670)

<div class="topic-metadata">

**Author:** [@anonp](https://forum.kirupa.com/u/anonp)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 6:06am UTC](https://forum.kirupa.com/t/detecting-a-spoof-client/280670 "2009-01-30T06:06:24Z")

</div>

We have a client / server setup and the client is a Flex application. We are afraid that hackers can eavesdrop the client / server exchange and connect to the server with a spoof client. How do we make sure a client t…

---

## [Help me with rotation!](https://forum.kirupa.com/t/help-me-with-rotation/280669)

<div class="topic-metadata">

**Author:** [@OriginalSup3rma](https://forum.kirupa.com/u/OriginalSup3rma)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 5:39am UTC](https://forum.kirupa.com/t/help-me-with-rotation/280669 "2009-01-30T05:39:23Z")

</div>

Okay, so I'm creating a pretty neat game where the player must defend a planet from being invaded from ascii space creatures...:shh: I currently have a 'world' movieclip that I place various buildings on so when you ho…

---

## [Full browser Flash site doc type issue](https://forum.kirupa.com/t/full-browser-flash-site-doc-type-issue/280664)

<div class="topic-metadata">

**Author:** [@Kaotik](https://forum.kirupa.com/u/Kaotik)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 2:59am UTC](https://forum.kirupa.com/t/full-browser-flash-site-doc-type-issue/280664 "2009-01-30T02:59:35Z")

</div>

I have to launch a full browser Flash site tonight, all is working great except one issue. The doc type which should be a validated working doc type (below) is throwing my whole flash to the top of the page leaving about…

---

## [Mouse Enabled trouble](https://forum.kirupa.com/t/mouse-enabled-trouble/280663)

<div class="topic-metadata">

**Author:** [@cdiamond](https://forum.kirupa.com/u/cdiamond)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 2:46am UTC](https://forum.kirupa.com/t/mouse-enabled-trouble/280663 "2009-01-30T02:46:14Z")

</div>

Well im creating a btn using the = new Textfield(); method and then adding a listener: playBtn.addListener(MouseEvent.MOUSE\_DOWN,Play) the only thing is when I create the textfield it uses the text cursor when I hover…

---

## [Problem With Undefined Property](https://forum.kirupa.com/t/problem-with-undefined-property/280662)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 2:40am UTC](https://forum.kirupa.com/t/problem-with-undefined-property/280662 "2009-01-30T02:40:42Z")

</div>

Hey, I'm having a little trouble with the properties of an instance of a specific class. Here's and example of the code I am using: package { import flash.display.MovieClip; import flash.events.\*; public …

---

## [XML not outputing properly from PHP - please look](https://forum.kirupa.com/t/xml-not-outputing-properly-from-php-please-look/280657)

<div class="topic-metadata">

**Author:** [@monsterchild](https://forum.kirupa.com/u/monsterchild)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 12:17am UTC](https://forum.kirupa.com/t/xml-not-outputing-properly-from-php-please-look/280657 "2009-01-30T00:17:21Z")

</div>

hi all, can someone please look at this code and tell me why i'm getting an error at the for loop? all i want to do is list the names of people between A and M in and XML document, i've been able to use this statement …

---

## [Dynamic gradient, need solution!](https://forum.kirupa.com/t/dynamic-gradient-need-solution/280656)

<div class="topic-metadata">

**Author:** [@antweks](https://forum.kirupa.com/u/antweks)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 12:15am UTC](https://forum.kirupa.com/t/dynamic-gradient-need-solution/280656 "2009-01-30T00:15:09Z")

</div>

Hey! I'm new here and I need some good solution. I will be very greatful to any comment here. Need to animate logo with dynamic gradient. See attach Logo consists in 3 mc's. Left ring, '118' and right ring. The rings hav…

---

## [Help with creating user customized flashes](https://forum.kirupa.com/t/help-with-creating-user-customized-flashes/280650)

<div class="topic-metadata">

**Author:** [@luckywolf](https://forum.kirupa.com/u/luckywolf)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 10:48pm UTC](https://forum.kirupa.com/t/help-with-creating-user-customized-flashes/280650 "2009-01-29T22:48:53Z")

</div>

Does anyone have a tutorial or a way for me to learn how things like the custom tombstone generator and other flash site that have you type in a word, colors and images to create a custom flash or image? Need to know thi…

---

## [Showing a Score](https://forum.kirupa.com/t/showing-a-score/280648)

<div class="topic-metadata">

**Author:** [@PledgeDuster](https://forum.kirupa.com/u/PledgeDuster)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 10:00pm UTC](https://forum.kirupa.com/t/showing-a-score/280648 "2009-01-29T22:00:16Z")

</div>

I recently read through and created the vertical shooter from Bruno's tutorial. (which might i say was extremely good) and i noticed in the action script that there was a score function. I was wondering if anybody kne…

---

## [Event For Links Within Specific Tags Only (LI tags)](https://forum.kirupa.com/t/event-for-links-within-specific-tags-only-li-tags/280647)

<div class="topic-metadata">

**Author:** [@bigdaddykraven](https://forum.kirupa.com/u/bigdaddykraven)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 9:42pm UTC](https://forum.kirupa.com/t/event-for-links-within-specific-tags-only-li-tags/280647 "2009-01-29T21:42:32Z")

</div>

Hey. I've just recently updated our company's tabbed page navigation from an older, dated version to a version that is a little easier to handle, especially for me since I'm a designer with only some coding knowledge. I…

---

## [Using elements not defined in first frame of a movieclip](https://forum.kirupa.com/t/using-elements-not-defined-in-first-frame-of-a-movieclip/280643)

<div class="topic-metadata">

**Author:** [@lenny](https://forum.kirupa.com/u/lenny)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 9:35pm UTC](https://forum.kirupa.com/t/using-elements-not-defined-in-first-frame-of-a-movieclip/280643 "2009-01-29T21:35:24Z")

</div>

Hi all \[smile\] I've finally made the leap in to AS3 - it seems much nicer and easier than any of its predecessors but I'm still getting stuck on the odd thing. This is something I haven't been able to resolve with Go…

---

## [\[Flash CS3\] AS 2 - Current Frame + n frames](https://forum.kirupa.com/t/flash-cs3-as-2-current-frame-n-frames/280642)

<div class="topic-metadata">

**Author:** [@Maroneyi](https://forum.kirupa.com/u/Maroneyi)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 9:08pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-current-frame-n-frames/280642 "2009-01-29T21:08:35Z")

</div>

Hello, In my flash file I would like to be able to click a button and jump a head by "n" frames from the current frame (as opposed to jumping to a predetermined frame). Something similar to (but obviously a bit more co…

---

## [Flash animation: What doe I call it?](https://forum.kirupa.com/t/flash-animation-what-doe-i-call-it/280640)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 8:05pm UTC](https://forum.kirupa.com/t/flash-animation-what-doe-i-call-it/280640 "2009-01-29T20:05:01Z")

</div>

I created a Flash animation that shows how a certain technical thing works. The user clicks buttons to show different scenarios, play/pause/rewind/delete, and enter and exit help tutorials. Up to now I've informally re…

---

## [Drag and Drop Action Scripting](https://forum.kirupa.com/t/drag-and-drop-action-scripting/280635)

<div class="topic-metadata">

**Author:** [@MC\_Klaw](https://forum.kirupa.com/u/MC_Klaw)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 7:06pm UTC](https://forum.kirupa.com/t/drag-and-drop-action-scripting/280635 "2009-01-29T19:06:26Z")

</div>

Hey everyone, I am loading the movie below into level 500. The coding below is not working, I know the problem is with (level500.classfmc.droptarget == "/targetclassfmc") Not sure how to setup the "/targetclassf\_mc" …

---

## [Match size tool - did they really do it this way?](https://forum.kirupa.com/t/match-size-tool-did-they-really-do-it-this-way/280633)

<div class="topic-metadata">

**Author:** [@daneyuleb](https://forum.kirupa.com/u/daneyuleb)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 6:52pm UTC](https://forum.kirupa.com/t/match-size-tool-did-they-really-do-it-this-way/280633 "2009-01-29T18:52:17Z")

</div>

Again...am I missing something here, or are the programming choices Adobe made this half-assed? In the alignment window, you can match size from one object to another. But it will only make the smaller object match t…

---

## [Thumbnail Scroll Easing](https://forum.kirupa.com/t/thumbnail-scroll-easing/280630)

<div class="topic-metadata">

**Author:** [@mmatzen](https://forum.kirupa.com/u/mmatzen)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 6:38pm UTC](https://forum.kirupa.com/t/thumbnail-scroll-easing/280630 "2009-01-29T18:38:58Z")

</div>

i used this tutorial a while back for thumbnail scrolling but i was never able to figure out how to make it ease. Can anyone help me? Any advice would be appreciated. Here is my AS panel.onRollOver = panelOver; fun…

---

## [Evite Script to Send HTML Email](https://forum.kirupa.com/t/evite-script-to-send-html-email/280629)

<div class="topic-metadata">

**Author:** [@sosADAMsos](https://forum.kirupa.com/u/sosADAMsos)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 6:11pm UTC](https://forum.kirupa.com/t/evite-script-to-send-html-email/280629 "2009-01-29T18:11:57Z")

</div>

I would like to have a form on my website where a user can enter their friends email address and name, then click send, and it would send an html email to the friend (an evite). Is there a script or anything out there …

---

## [.flv-files, Questions!](https://forum.kirupa.com/t/flv-files-questions/280628)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 5:58pm UTC](https://forum.kirupa.com/t/flv-files-questions/280628 "2009-01-29T17:58:33Z")

</div>

Hi, I got some questions concerning .flv-files. how do I edit an flv file? how do I save a video as an flv? Please help!

---

## [Help with XML special characters in Flash](https://forum.kirupa.com/t/help-with-xml-special-characters-in-flash/280626)

<div class="topic-metadata">

**Author:** [@hailflex](https://forum.kirupa.com/u/hailflex)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 5:18pm UTC](https://forum.kirupa.com/t/help-with-xml-special-characters-in-flash/280626 "2009-01-29T17:18:10Z")

</div>

Hello, I'm having some problems with special characters like á ã ç í in a xml file, loaded from a flash file. The result text appears without these characters like: Original: Acentuação rápida Result: Acentuao rpida …

---

## [Run-time and online Flash, Flex, AIR debugger](https://forum.kirupa.com/t/run-time-and-online-flash-flex-air-debugger/280624)

<div class="topic-metadata">

**Author:** [@Aduen](https://forum.kirupa.com/u/Aduen)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 4:16pm UTC](https://forum.kirupa.com/t/run-time-and-online-flash-flex-air-debugger/280624 "2009-01-29T16:16:23Z")

</div>

I always got stuck when debugging within the IDE using trace was no longer an option, think about Externalinterface or a simple fullscreen event. When stuff like this doesn't work, you are fubared. But now I have this: h…

---

## [Adsense alternative in flash](https://forum.kirupa.com/t/adsense-alternative-in-flash/280621)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 3:28pm UTC](https://forum.kirupa.com/t/adsense-alternative-in-flash/280621 "2009-01-29T15:28:13Z")

</div>

Does anyone know anything like Google adsense, which can be displayed in your flash site?

---

## [Papervision hit test!](https://forum.kirupa.com/t/papervision-hit-test/280618)

<div class="topic-metadata">

**Author:** [@Myung](https://forum.kirupa.com/u/Myung)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 3:03pm UTC](https://forum.kirupa.com/t/papervision-hit-test/280618 "2009-01-29T15:03:50Z")

</div>

Hi! Does anyone know how can I determine in Papervision if an object is behind another? Like, a centerpoint of a plane, behind a sphere (blocked by the sphere). TNX!

---

## [DW Templates vs. PHP includes](https://forum.kirupa.com/t/dw-templates-vs-php-includes/280617)

<div class="topic-metadata">

**Author:** [@dru\_nasty](https://forum.kirupa.com/u/dru_nasty)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 2:14pm UTC](https://forum.kirupa.com/t/dw-templates-vs-php-includes/280617 "2009-01-29T14:14:26Z")

</div>

I'd like to get peoples feedback on pros/cons using PHP Includes vs. Dreamweaver templates when developing "template" based sites. I'm trying to develop a standard practice in-house at our company. Prior to me being he…

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

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