# programming

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

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

**Page:** 1501

---

## [LivePreview issue](https://forum.kirupa.com/t/livepreview-issue/242028)

<div class="topic-metadata">

**Author:** [@gr0undtek](https://forum.kirupa.com/u/gr0undtek)\
**Replies:** 0\
**Last updated:** [October 21, 2007, 10:35am UTC](https://forum.kirupa.com/t/livepreview-issue/242028 "2007-10-21T10:35:25Z")

</div>

Hi, I have a custom component where the user can change skins by entering the new skin name in the component parameters panel. I have two sets of skins included in the component. Now when the user changes to one of the…

---

## [getDefinitionByName Problem](https://forum.kirupa.com/t/getdefinitionbyname-problem/242024)

<div class="topic-metadata">

**Author:** [@TastyLamp](https://forum.kirupa.com/u/TastyLamp)\
**Replies:** 0\
**Last updated:** [October 21, 2007, 8:05am UTC](https://forum.kirupa.com/t/getdefinitionbyname-problem/242024 "2007-10-21T08:05:31Z")

</div>

Ok so I have this: trace('e.props.weapon =', e.props.weapon); var wClass:Class = getDefinitionByName(e.props.weapon) as Class; var w:Object = new wClass(); Which outputs this: e.props.weapon = Beretta92 ReferenceE…

---

## [URGENT help in Contact Form with PHP Plzz](https://forum.kirupa.com/t/urgent-help-in-contact-form-with-php-plzz/242023)

<div class="topic-metadata">

**Author:** [@designursite](https://forum.kirupa.com/u/designursite)\
**Replies:** 0\
**Last updated:** [October 21, 2007, 7:37am UTC](https://forum.kirupa.com/t/urgent-help-in-contact-form-with-php-plzz/242023 "2007-10-21T07:37:56Z")

</div>

Hi i've pasted it below, plz help me ...i cant let my website run without this form: THIS CODE IS ON THE FIRST FRAME stop(); send\_mc.\_visible = false; send\_btn.onRelease = function() { my\_vars = new LoadVars(); m…

---

## [Help with "target path" problem](https://forum.kirupa.com/t/help-with-target-path-problem/242021)

<div class="topic-metadata">

**Author:** [@zach93111](https://forum.kirupa.com/u/zach93111)\
**Replies:** 0\
**Last updated:** [October 21, 2007, 6:26am UTC](https://forum.kirupa.com/t/help-with-target-path-problem/242021 "2007-10-21T06:26:40Z")

</div>

So I have this script..... I want to put the following clip \[toad\] inside a NEW movie clip..... so I tried TOAD = \_root.castle\["toad"+k\] ^The code failed to work, The character, would just stand there doing nothing…

---

## [Data Storage (Fastest method)](https://forum.kirupa.com/t/data-storage-fastest-method/242017)

<div class="topic-metadata">

**Author:** [@Z11](https://forum.kirupa.com/u/Z11)\
**Replies:** 0\
**Last updated:** [October 21, 2007, 3:35am UTC](https://forum.kirupa.com/t/data-storage-fastest-method/242017 "2007-10-21T03:35:00Z")

</div>

Does anyone happen to know the best way to store 10,000 rows of data? Let's say that I have 10,000 rows, each has 10 fields (random numer), each field on average has 3 bytes of data in them... totaling 300,000 bytes.…

---

## [Beginner help please!](https://forum.kirupa.com/t/beginner-help-please/242012)

<div class="topic-metadata">

**Author:** [@bidgeeman](https://forum.kirupa.com/u/bidgeeman)\
**Replies:** 0\
**Last updated:** [October 21, 2007, 12:31am UTC](https://forum.kirupa.com/t/beginner-help-please/242012 "2007-10-21T00:31:30Z")

</div>

Hi. I have a cartoon character broken down into multiple layers and I need to resize and move the whole character keyframes and all. I can only seem to move objects on the one frame at once. Is there a way to be able to …

---

## [\[PHP\] Generate HTML from XML & XSL](https://forum.kirupa.com/t/php-generate-html-from-xml-xsl/242006)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 9:34pm UTC](https://forum.kirupa.com/t/php-generate-html-from-xml-xsl/242006 "2007-10-20T21:34:04Z")

</div>

I can successfully generate an HTML file from a XML & XSL file using xslt\_process(). However, the resultant HTML file is not well formatted. Tags are not well nested, lines are too long, etc... Is there any way to define…

---

## [Distance Calculation, VERY HARD!](https://forum.kirupa.com/t/distance-calculation-very-hard/242005)

<div class="topic-metadata">

**Author:** [@gregmax](https://forum.kirupa.com/u/gregmax)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 9:29pm UTC](https://forum.kirupa.com/t/distance-calculation-very-hard/242005 "2007-10-20T21:29:26Z")

</div>

I need a lot of help with this one. I uploaded an image so you can see what I am talking about because I know this will help explain what I am trying to do. I made an isometric world and am trying to calculate the dist…

---

## [HitTest/ Collison Detection in 3D?](https://forum.kirupa.com/t/hittest-collison-detection-in-3d/242004)

<div class="topic-metadata">

**Author:** [@booeriis](https://forum.kirupa.com/u/booeriis)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 8:54pm UTC](https://forum.kirupa.com/t/hittest-collison-detection-in-3d/242004 "2007-10-20T20:54:54Z")

</div>

hi everyone i'm really stumped on how to implement some hitTesting or collision detection in this 3D environment. its based off some of the tutorials from here but modified a little to suit my needs. anyway, the styl…

---

## [Doing a count up not down](https://forum.kirupa.com/t/doing-a-count-up-not-down/242001)

<div class="topic-metadata">

**Author:** [@terryoleary1981](https://forum.kirupa.com/u/terryoleary1981)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 8:03pm UTC](https://forum.kirupa.com/t/doing-a-count-up-not-down/242001 "2007-10-20T20:03:44Z")

</div>

Hi I've followed the tutorial for creating the countdown at http://www.kirupa.com/developer/mx/countdown2.htm What i'm looking to do is change this to count up for example displaying the number of days since and ev…

---

## [Getting buttons to work in mx2004](https://forum.kirupa.com/t/getting-buttons-to-work-in-mx2004/242000)

<div class="topic-metadata">

**Author:** [@Tedri\_Mark](https://forum.kirupa.com/u/Tedri_Mark)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 7:44pm UTC](https://forum.kirupa.com/t/getting-buttons-to-work-in-mx2004/242000 "2007-10-20T19:44:45Z")

</div>

Okay, so after a lil' brteak from doing anything with flash, I'm having trouble doing the most basic thing- making a button skip to the next scene. Can't even get it to skip to a frame in the current scene. Not sure what…

---

## [Flash actionscript and .htaccess](https://forum.kirupa.com/t/flash-actionscript-and-htaccess/241997)

<div class="topic-metadata">

**Author:** [@celticvfx](https://forum.kirupa.com/u/celticvfx)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 7:06pm UTC](https://forum.kirupa.com/t/flash-actionscript-and-htaccess/241997 "2007-10-20T19:06:19Z")

</div>

my Flash website calls a script to XML data that I dont want the user to have access to. When I try to use .htaccess and allow only the host to access (via an IP addess) I still get 500 errors.. do actionscript request…

---

## [Publishing at 100% distorts loaded movieclip](https://forum.kirupa.com/t/publishing-at-100-distorts-loaded-movieclip/241995)

<div class="topic-metadata">

**Author:** [@Armored](https://forum.kirupa.com/u/Armored)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 6:51pm UTC](https://forum.kirupa.com/t/publishing-at-100-distorts-loaded-movieclip/241995 "2007-10-20T18:51:53Z")

</div>

Hi, I have parent movieclip and I'm loading another movieclip into it. For the parent movieclip, I have set the HTML publish settings (File -\> Publish settings... -\> HTML -\> Dimensions) to 100%. Now everything loads …

---

## [Middle Tier for a Flash/Flex app](https://forum.kirupa.com/t/middle-tier-for-a-flash-flex-app/241992)

<div class="topic-metadata">

**Author:** [@jwopitz](https://forum.kirupa.com/u/jwopitz)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 4:25pm UTC](https://forum.kirupa.com/t/middle-tier-for-a-flash-flex-app/241992 "2007-10-20T16:25:05Z")

</div>

Hi folks, I had posted over in the ServerSide forum and just wanted to get a consensus from you flash/flex folks too. Just needing some general input (pros/cons) about hooking up a flex application to a service layer.…

---

## [Question: Vector vs. Bitmap](https://forum.kirupa.com/t/question-vector-vs-bitmap/241991)

<div class="topic-metadata">

**Author:** [@Elbudster](https://forum.kirupa.com/u/Elbudster)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 3:20pm UTC](https://forum.kirupa.com/t/question-vector-vs-bitmap/241991 "2007-10-20T15:20:14Z")

</div>

Hi, it's been about a year since I last seriously used flash and actionscript so I'm a little rusty yet. When I used to use it I would always use movie clips for games and such. Yesterday I read the post about movie cl…

---

## [Audio Sync For Flash Presentation](https://forum.kirupa.com/t/audio-sync-for-flash-presentation/241989)

<div class="topic-metadata">

**Author:** [@bobcahill](https://forum.kirupa.com/u/bobcahill)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 2:28pm UTC](https://forum.kirupa.com/t/audio-sync-for-flash-presentation/241989 "2007-10-20T14:28:02Z")

</div>

I need to create a Flash presentation that is 5 minutes in length. I am trying to think of the best way to match up each section to the sounds. There is no interactivity and this is a linear presentation with five sectio…

---

## [Audio Sync for Flash Presentation](https://forum.kirupa.com/t/audio-sync-for-flash-presentation/241988)

<div class="topic-metadata">

**Author:** [@bobcahill](https://forum.kirupa.com/u/bobcahill)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 2:27pm UTC](https://forum.kirupa.com/t/audio-sync-for-flash-presentation/241988 "2007-10-20T14:27:24Z")

</div>

I need to create a Flash presentation that is 5 minutes in length. I am trying to think of the best way to match up each section to the sounds. There is no interactivity and this is a linear presentation with five sectio…

---

## [XML gallery; thumbnail buttons refuse to operate](https://forum.kirupa.com/t/xml-gallery-thumbnail-buttons-refuse-to-operate/241986)

<div class="topic-metadata">

**Author:** [@Derugash](https://forum.kirupa.com/u/Derugash)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 1:26pm UTC](https://forum.kirupa.com/t/xml-gallery-thumbnail-buttons-refuse-to-operate/241986 "2007-10-20T13:26:34Z")

</div>

I have a bit of code that doesn't do what I want it to do. As this is not an uncommon occurence, I'll elaborate! The piece of code is a modified (by me) snippet from the ''Adding thumbnails'' tutorial for the XML galle…

---

## [Loading XML, how does it work?](https://forum.kirupa.com/t/loading-xml-how-does-it-work/241984)

<div class="topic-metadata">

**Author:** [@superbungalow](https://forum.kirupa.com/u/superbungalow)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 12:15pm UTC](https://forum.kirupa.com/t/loading-xml-how-does-it-work/241984 "2007-10-20T12:15:59Z")

</div>

I've been learning about XML in AS2 lately, and I've started the "Displaying XML Data in Flash" tutorial, but there is something i don't get: function loadXML(loaded) { if (loaded)…

---

## [DIVs floating next to each other without a wrap!](https://forum.kirupa.com/t/divs-floating-next-to-each-other-without-a-wrap/241983)

<div class="topic-metadata">

**Author:** [@vxdom](https://forum.kirupa.com/u/vxdom)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 12:05pm UTC](https://forum.kirupa.com/t/divs-floating-next-to-each-other-without-a-wrap/241983 "2007-10-20T12:05:27Z")

</div>

Hello guys, I'm trying to create a design based around this: http://www.skatebasingstoke.com/x/ But, I want the light green divs to always be next to each other, currently they wrap if the page is too narrow, where…

---

## [Even the experts ares tumped :-)](https://forum.kirupa.com/t/even-the-experts-ares-tumped/241981)

<div class="topic-metadata">

**Author:** [@Shard](https://forum.kirupa.com/u/Shard)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 10:56am UTC](https://forum.kirupa.com/t/even-the-experts-ares-tumped/241981 "2007-10-20T10:56:18Z")

</div>

I've asked this question before and no-one seems to be able to answer it. I am altering the familiar image carousel script but seem unable to determine the "actual" height of an image loaded into an mc - after it has bee…

---

## [Need some help with xml](https://forum.kirupa.com/t/need-some-help-with-xml/241978)

<div class="topic-metadata">

**Author:** [@fr\_ode](https://forum.kirupa.com/u/fr_ode)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 9:39am UTC](https://forum.kirupa.com/t/need-some-help-with-xml/241978 "2007-10-20T09:39:56Z")

</div>

Hi! I'm building a product gallery from the xml file below. I'm attempting to create a menu list with the names of the manufactors and display the thumbnails (from all manufactors) in a grid. Basicly, I'm making a d…

---

## [Stage dimensions get messed on resize](https://forum.kirupa.com/t/stage-dimensions-get-messed-on-resize/241976)

<div class="topic-metadata">

**Author:** [@benkyoto](https://forum.kirupa.com/u/benkyoto)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 6:03am UTC](https://forum.kirupa.com/t/stage-dimensions-get-messed-on-resize/241976 "2007-10-20T06:03:32Z")

</div>

I got this script, which creates a centered rectangle in my movieclip to be used afterwards as the container of a photo gallery interface. var squaretwo:Sprite = new Sprite(); squaretwo.graphics.beginFill (0x3333…

---

## [\[flash8\] trouble highlighting specific areas of text in a dynamic text box](https://forum.kirupa.com/t/flash8-trouble-highlighting-specific-areas-of-text-in-a-dynamic-text-box/241974)

<div class="topic-metadata">

**Author:** [@CrashDr](https://forum.kirupa.com/u/CrashDr)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 5:23am UTC](https://forum.kirupa.com/t/flash8-trouble-highlighting-specific-areas-of-text-in-a-dynamic-text-box/241974 "2007-10-20T05:23:39Z")

</div>

Hi all, I'm currently trying to work out a method to highlight specific areas of text within a dynamic text field at runtime. The method I've been toying with so far has been the use of CSS highlighting, but have not se…

---

## [Rotation Problems \> 0-180](https://forum.kirupa.com/t/rotation-problems-0-180/241972)

<div class="topic-metadata">

**Author:** [@mr\_b](https://forum.kirupa.com/u/mr_b)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 4:39am UTC](https://forum.kirupa.com/t/rotation-problems-0-180/241972 "2007-10-20T04:39:02Z")

</div>

I'm working on a pretty insane pin wheel type image display UI. Photos are loaded in from XML and as they load in I am placing them a fixed radius away from the center point within a clip. Mouse movement controls whether…

---

## [Directory reading Actionscript help](https://forum.kirupa.com/t/directory-reading-actionscript-help/241970)

<div class="topic-metadata">

**Author:** [@Tenka\_Digi](https://forum.kirupa.com/u/Tenka_Digi)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 4:03am UTC](https://forum.kirupa.com/t/directory-reading-actionscript-help/241970 "2007-10-20T04:03:05Z")

</div>

Heya, I'm quite the novice with actionscript, but I'm looking into making a .SWF file that will automatically load image files in a specified directory, displaying 1 randomly when the .SWF file is loaded/refreshed. It ha…

---

## [Using an event listeners function at will - event dispatching?](https://forum.kirupa.com/t/using-an-event-listeners-function-at-will-event-dispatching/241968)

<div class="topic-metadata">

**Author:** [@waffe](https://forum.kirupa.com/u/waffe)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 3:38am UTC](https://forum.kirupa.com/t/using-an-event-listeners-function-at-will-event-dispatching/241968 "2007-10-20T03:38:33Z")

</div>

Hi, I have a event listener that turns a camera on and off according to how much motion there is: camera1 = Camera.getCamera(""+Number(aCameraComboBoxes\[selComboBoxNum\].selectedIndex-1)); aCameras\[selComboBoxNum\].add…

---

## [Loade image "jpg" and use tween](https://forum.kirupa.com/t/loade-image-jpg-and-use-tween/241966)

<div class="topic-metadata">

**Author:** [@sinek](https://forum.kirupa.com/u/sinek)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 2:42am UTC](https://forum.kirupa.com/t/loade-image-jpg-and-use-tween/241966 "2007-10-20T02:42:56Z")

</div>

i know how to load picture with Loader and URLRequest,... but the problem is cuz,.. tween class accepts only Display objects ,... any ideas ? i want to load a picture,... and scale it and change alpha,... with tweeni…

---

## [DisplayObject Resource Manager (feasible?)](https://forum.kirupa.com/t/displayobject-resource-manager-feasible/241964)

<div class="topic-metadata">

**Author:** [@juworld](https://forum.kirupa.com/u/juworld)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 1:47am UTC](https://forum.kirupa.com/t/displayobject-resource-manager-feasible/241964 "2007-10-20T01:47:09Z")

</div>

After reading this thread, http://www.kirupa.com/forum/archive/index.php/t-256294.html, I am trying to create a displayobject resource manager. Basically, I will have an array of display objects that loads all the extern…

---

## [Event doesnt execute](https://forum.kirupa.com/t/event-doesnt-execute/241963)

<div class="topic-metadata">

**Author:** [@sinek](https://forum.kirupa.com/u/sinek)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 12:42am UTC](https://forum.kirupa.com/t/event-doesnt-execute/241963 "2007-10-20T00:42:43Z")

</div>

import fl.transitions.Tween; import fl.transitions.easing.\*; var GaleryXml:XML; var GaleryList:XMLList; var GaleryLoader:URLLoader = new URLLoader(); var ImageLoader:Loader; var ImageShow:MovieClip; var ImageTwe…

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

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