# programming

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

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

**Page:** 1168

---

## [JSON and Flash 8](https://forum.kirupa.com/t/json-and-flash-8/227575)

<div class="topic-metadata">

**Author:** [@porcupineRabbit](https://forum.kirupa.com/u/porcupineRabbit)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 2:18pm UTC](https://forum.kirupa.com/t/json-and-flash-8/227575 "2008-07-04T14:18:28Z")

</div>

Hello everyone, has anyone used the JSON Connector component before? I'm trying to receive a JSON object and make it display a value on a label but no luck.I 've tried to use the help it provides but i cannot get it to…

---

## [Problem with dynamic movie dragging](https://forum.kirupa.com/t/problem-with-dynamic-movie-dragging/265129)

<div class="topic-metadata">

**Author:** [@santhosh2008](https://forum.kirupa.com/u/santhosh2008)\
**Replies:** 3\
**Last updated:** [July 4, 2008, 2:01pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-movie-dragging/265129 "2008-07-04T14:01:14Z")

</div>

Hi, I am trying to drag my dynamic moviclips. But this code does not work properly. I have to mosue click the movie clip, and once again use mousepress to drag the movie clip. Is there an way o eliminate the two clicks? …

---

## [List component stretched and distorted](https://forum.kirupa.com/t/list-component-stretched-and-distorted/264656)

<div class="topic-metadata">

**Author:** [@shendel101](https://forum.kirupa.com/u/shendel101)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 1:27pm UTC](https://forum.kirupa.com/t/list-component-stretched-and-distorted/264656 "2008-07-04T13:27:58Z")

</div>

Hi everyone, i am playing with list component and landed with scaleX property. I tested property and as expected it gave me twice as the scale of my component in the stage. But the component is distorted or something lik…

---

## [eventListener on a flv not workin'](https://forum.kirupa.com/t/eventlistener-on-a-flv-not-workin/265062)

<div class="topic-metadata">

**Author:** [@ccbayer](https://forum.kirupa.com/u/ccbayer)\
**Replies:** 4\
**Last updated:** [July 4, 2008, 11:40am UTC](https://forum.kirupa.com/t/eventlistener-on-a-flv-not-workin/265062 "2008-07-04T11:40:49Z")

</div>

Hey guys, I want to add a simple "play again" button when my FLV stops playing. Pretty simple, right? For whatever reason I can't add an eventListener when my video stops though. I can't even trace anything. the video lo…

---

## [Character problems within textfield](https://forum.kirupa.com/t/character-problems-within-textfield/265120)

<div class="topic-metadata">

**Author:** [@Vectar](https://forum.kirupa.com/u/Vectar)\
**Replies:** 5\
**Last updated:** [July 4, 2008, 11:25am UTC](https://forum.kirupa.com/t/character-problems-within-textfield/265120 "2008-07-04T11:25:20Z")

</div>

I got a flash document that has a dynamic textfield in it. The textfield gets his content from a XML file. The script for the XML file: \<?xml version="1.0" encoding="UTF-8" ?\> \<intro\> \<item\> \<title\>Slogan\</title\>…

---

## [PHP Form Validation](https://forum.kirupa.com/t/php-form-validation/265078)

<div class="topic-metadata">

**Author:** [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Replies:** 5\
**Last updated:** [July 4, 2008, 9:28am UTC](https://forum.kirupa.com/t/php-form-validation/265078 "2008-07-04T09:28:52Z")

</div>

\<?php if(isset($POST\['submitted'\])){ requireonce('./database\_connect.php'); if (eregi ('^\[\[:alpha:\].\\' -\] {2,60}$', stripslashes(trim($POST\['name'\])))){ $n = escapedata($POST\['name'\]); } else { $n = FALSE; echo'\<p…

---

## [Unwanted ERROR message on form](https://forum.kirupa.com/t/unwanted-error-message-on-form/265068)

<div class="topic-metadata">

**Author:** [@agabrel](https://forum.kirupa.com/u/agabrel)\
**Replies:** 7\
**Last updated:** [July 4, 2008, 8:52am UTC](https://forum.kirupa.com/t/unwanted-error-message-on-form/265068 "2008-07-04T08:52:55Z")

</div>

In my form I have three groups of checkboxes. When someone selects no box in one group it gives back and echo error message: \[COLOR="Red"\] Warning: Invalid argument supplied for foreach() in /home/jimmyweb/public\_html/…

---

## [Combine/format two fields in query?](https://forum.kirupa.com/t/combine-format-two-fields-in-query/265104)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 6\
**Last updated:** [July 4, 2008, 8:50am UTC](https://forum.kirupa.com/t/combine-format-two-fields-in-query/265104 "2008-07-04T08:50:55Z")

</div>

I have two fields - author\_name\_first and author\_name\_last in my table. What I'd like to do is combine the two in this format: author\_name\_last, author\_name\_first (to yield something like Hunt, Mike or Baker, Sh…

---

## [Finding instnaces with instance names on them in the timeline](https://forum.kirupa.com/t/finding-instnaces-with-instance-names-on-them-in-the-timeline/265102)

<div class="topic-metadata">

**Author:** [@johnyct9760](https://forum.kirupa.com/u/johnyct9760)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 7:58am UTC](https://forum.kirupa.com/t/finding-instnaces-with-instance-names-on-them-in-the-timeline/265102 "2008-07-04T07:58:42Z")

</div>

\[FONT=Calibri\] I'm working on a site that I received from a co-worker and it’s done with AS2 and the code and instance names are all over the place and it’s really hard for me to follow the code path to change things. …

---

## [Recursive Functions](https://forum.kirupa.com/t/recursive-functions/265107)

<div class="topic-metadata">

**Author:** [@Ben2](https://forum.kirupa.com/u/Ben2)\
**Replies:** 2\
**Last updated:** [July 4, 2008, 7:46am UTC](https://forum.kirupa.com/t/recursive-functions/265107 "2008-07-04T07:46:59Z")

</div>

I've written a basic minesweeper game in Flash. When you click a blank square, it blanks all the squares around it, then uses a recursive function to do the same to any blank square relative to it. But I want my game to …

---

## [Problem with loadmovie and full flash browser](https://forum.kirupa.com/t/problem-with-loadmovie-and-full-flash-browser/265110)

<div class="topic-metadata">

**Author:** [@Texpride12](https://forum.kirupa.com/u/Texpride12)\
**Replies:** 0\
**Last updated:** [July 4, 2008, 2:57am UTC](https://forum.kirupa.com/t/problem-with-loadmovie-and-full-flash-browser/265110 "2008-07-04T02:57:30Z")

</div>

I am trying to cut down on users load time by loading images via the loadmovie method. The problem I am having is that when I attempt to apply my script to the movie clip that holds my image, it distorts the image by tur…

---

## [Best approach to this?](https://forum.kirupa.com/t/best-approach-to-this/265106)

<div class="topic-metadata">

**Author:** [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Replies:** 3\
**Last updated:** [July 4, 2008, 2:31am UTC](https://forum.kirupa.com/t/best-approach-to-this/265106 "2008-07-04T02:31:02Z")

</div>

Was hoping someone could advice me on the best approach in this scenario; \[doc\] class Has an instance of 'BgSlide' class addChilded \[BgSlide\] class Has a few instances of BgLoader class in an array (they get added af…

---

## [LightBox question](https://forum.kirupa.com/t/lightbox-question/264442)

<div class="topic-metadata">

**Author:** [@GGMcGee](https://forum.kirupa.com/u/GGMcGee)\
**Replies:** 5\
**Last updated:** [July 4, 2008, 12:38am UTC](https://forum.kirupa.com/t/lightbox-question/264442 "2008-07-04T00:38:59Z")

</div>

Hi, Just added the LightBox script to a web page, and it's working, but... When it comes into effect, darkening the web page, it completely removes any Flash objects on the page. Like it makes them invisible. It's …

---

## [Match Against not working](https://forum.kirupa.com/t/match-against-not-working/265080)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 2\
**Last updated:** [July 4, 2008, 12:05am UTC](https://forum.kirupa.com/t/match-against-not-working/265080 "2008-07-04T00:05:19Z")

</div>

$books\_sql .= "SELECT \*, MATCH (title) AGAINST ('$keywords') AS score FROM books WHERE MATCH (title) AGAINST ('$keywords') ORDER BY SCORE desc"; Right now I just have two rows in my table - one of which whose title is …

---

## [Load SWF at enterFrame](https://forum.kirupa.com/t/load-swf-at-enterframe/265029)

<div class="topic-metadata">

**Author:** [@slimpickinz](https://forum.kirupa.com/u/slimpickinz)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 11:56pm UTC](https://forum.kirupa.com/t/load-swf-at-enterframe/265029 "2008-07-03T23:56:30Z")

</div>

I have this page that I want to auto load the "HOME" mc. From there I want the buttons to navigate the page. I have got the buttons to work properly so far, but cannot for the life of me figure out how to load the HOME s…

---

## [Please help me to tell a book name](https://forum.kirupa.com/t/please-help-me-to-tell-a-book-name/265085)

<div class="topic-metadata">

**Author:** [@jessica87](https://forum.kirupa.com/u/jessica87)\
**Replies:** 2\
**Last updated:** [July 3, 2008, 11:39pm UTC](https://forum.kirupa.com/t/please-help-me-to-tell-a-book-name/265085 "2008-07-03T23:39:33Z")

</div>

Please any body tell me the books from where I can expert in Flash action script.

---

## [Slideshow Using XML and Flash (icnluding next and previous buttons)](https://forum.kirupa.com/t/slideshow-using-xml-and-flash-icnluding-next-and-previous-buttons/220124)

<div class="topic-metadata">

**Author:** [@traffic](https://forum.kirupa.com/u/traffic)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 11:01pm UTC](https://forum.kirupa.com/t/slideshow-using-xml-and-flash-icnluding-next-and-previous-buttons/220124 "2008-07-03T23:01:55Z")

</div>

first off, i'm pretty new with actionscript so the answer to this question may be obvious. however, i cannot for the life of me figure out what i'm doing wrong or how to fix it. so, i went through the tutorial for the …

---

## [How to test the animations?](https://forum.kirupa.com/t/how-to-test-the-animations/265096)

<div class="topic-metadata">

**Author:** [@kidyi](https://forum.kirupa.com/u/kidyi)\
**Replies:** 2\
**Last updated:** [July 3, 2008, 10:27pm UTC](https://forum.kirupa.com/t/how-to-test-the-animations/265096 "2008-07-03T22:27:50Z")

</div>

I have written some Flash animations using ActionScript 3 and I would like to see how it performs under different processor speeds/graphics card. How do you normally go about testing this kind of stuff? Is there some t…

---

## [Input Checkbox!](https://forum.kirupa.com/t/input-checkbox/265088)

<div class="topic-metadata">

**Author:** [@Valerij](https://forum.kirupa.com/u/Valerij)\
**Replies:** 3\
**Last updated:** [July 3, 2008, 8:28pm UTC](https://forum.kirupa.com/t/input-checkbox/265088 "2008-07-03T20:28:44Z")

</div>

Hi guys =) I have an inbox, inside the inbox I have checkboxes, you check those if you want to delete a message, but in my CSS I already check that all input things has to be 160px, and it also makes all the input things…

---

## [Lee Bimelow's video player modyfications](https://forum.kirupa.com/t/lee-bimelows-video-player-modyfications/264930)

<div class="topic-metadata">

**Author:** [@leukocyt](https://forum.kirupa.com/u/leukocyt)\
**Replies:** 5\
**Last updated:** [July 3, 2008, 7:29pm UTC](https://forum.kirupa.com/t/lee-bimelows-video-player-modyfications/264930 "2008-07-03T19:29:30Z")

</div>

Hello, I've been making a video player based on Lee Brimelow's tutorials and everything works fine, but I would like to add a few things - like the ability to change the position of the scrubber with a mouse click and…

---

## [Customizing the Photo Gallery Code](https://forum.kirupa.com/t/customizing-the-photo-gallery-code/27800)

<div class="topic-metadata">

**Author:** [@brooklyniteOne](https://forum.kirupa.com/u/brooklyniteOne)\
**Replies:** 14\
**Last updated:** [July 3, 2008, 7:10pm UTC](https://forum.kirupa.com/t/customizing-the-photo-gallery-code/27800 "2008-07-03T19:10:32Z")

</div>

Using the tutorial found on this site here: http://www.kirupa.com/developer/mx/photogallery.htm How can I set the gallery to continuously display random images? Like a looping slideshow effect.

---

## [Password with capital letters or not](https://forum.kirupa.com/t/password-with-capital-letters-or-not/265058)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 5\
**Last updated:** [July 3, 2008, 7:07pm UTC](https://forum.kirupa.com/t/password-with-capital-letters-or-not/265058 "2008-07-03T19:07:16Z")

</div>

Hi I´m making a simple password system in flash.It´s working fine, but I´d like to make it capital letter not sensitive, so the user can put "Password" or password, and on either way, would work. How do i do it? Than…

---

## [Why does my border change with 1 zoom in or out?](https://forum.kirupa.com/t/why-does-my-border-change-with-1-zoom-in-or-out/265077)

<div class="topic-metadata">

**Author:** [@w1sh](https://forum.kirupa.com/u/w1sh)\
**Replies:** 2\
**Last updated:** [July 3, 2008, 7:06pm UTC](https://forum.kirupa.com/t/why-does-my-border-change-with-1-zoom-in-or-out/265077 "2008-07-03T19:06:36Z")

</div>

http://webs.ashlandctc.org/csimmons/sites/Communicast/pages/2.0\_beta.htm When you zoom in (Ctrl + "+") or out (Ctrl + "-") once, the bottom border to the banner image (that thing with the hideous typography) messes up …

---

## [Inserting data into XML](https://forum.kirupa.com/t/inserting-data-into-xml/265083)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 3\
**Last updated:** [July 3, 2008, 6:58pm UTC](https://forum.kirupa.com/t/inserting-data-into-xml/265083 "2008-07-03T18:58:43Z")

</div>

I'm trying to insert a variable into an XML object but I'm not sure what I need to be doing. Here's what I have. var newString:String = "new value"; var newNode:XML = \<industry\>newString\</industry\> Now that gets me…

---

## [How to link text input to google maps route?](https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041)

<div class="topic-metadata">

**Author:** [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Replies:** 3\
**Last updated:** [July 3, 2008, 6:49pm UTC](https://forum.kirupa.com/t/how-to-link-text-input-to-google-maps-route/265041 "2008-07-03T18:49:12Z")

</div>

Hello, What I basically want to know is how to link input fields from your flash file to the input fields of google maps (to determne the route)..This is already done at this website, and i'm wondering if anyone can t…

---

## [Superclasses, Subclasses and Stage Declarations](https://forum.kirupa.com/t/superclasses-subclasses-and-stage-declarations/265065)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 2\
**Last updated:** [July 3, 2008, 6:36pm UTC](https://forum.kirupa.com/t/superclasses-subclasses-and-stage-declarations/265065 "2008-07-03T18:36:21Z")

</div>

Hey Everyone, I can't for the life of me figure this problem out that I have been having... I have a SuperClass called "BaseClass" for the sake of this post (can't post code because of copyright things :|) I then h…

---

## [Div overlap](https://forum.kirupa.com/t/div-overlap/264975)

<div class="topic-metadata">

**Author:** [@w1sh](https://forum.kirupa.com/u/w1sh)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 5:11pm UTC](https://forum.kirupa.com/t/div-overlap/264975 "2008-07-03T17:11:58Z")

</div>

http://webs.ashlandctc.org/csimmons/sites/PRetty/pages/3rdtry.htm It looks like my .push class is overlapping my footer, and it doesn't show in IE. Does anyone know how I can get .push to appear up in the white (#contain…

---

## [indexOf in a multidimensional array](https://forum.kirupa.com/t/indexof-in-a-multidimensional-array/265053)

<div class="topic-metadata">

**Author:** [@pensamente](https://forum.kirupa.com/u/pensamente)\
**Replies:** 13\
**Last updated:** [July 3, 2008, 5:10pm UTC](https://forum.kirupa.com/t/indexof-in-a-multidimensional-array/265053 "2008-07-03T17:10:57Z")

</div>

i've an array like so: \[AS\]var teste:Array = \[ \['a1', 'a2', 'a3'\], \['b1', 'b2', 'b3'\] \];\[/AS\] i want to search for a specific item, let's say "b3". \[AS\]trace(teste\[1\].indexOf('a3'));\[/AS\] Although this works is there …

---

## [Aligning text with icons in inline lists?](https://forum.kirupa.com/t/aligning-text-with-icons-in-inline-lists/264889)

<div class="topic-metadata">

**Author:** [@w1sh](https://forum.kirupa.com/u/w1sh)\
**Replies:** 6\
**Last updated:** [July 3, 2008, 5:07pm UTC](https://forum.kirupa.com/t/aligning-text-with-icons-in-inline-lists/264889 "2008-07-03T17:07:07Z")

</div>

Edit: Solved (refer to post #5) I can't figure out which pseudo class or any class/id for that matter to make my text position a little higher with my icons (centered horizontally).. Does anyone know if this is easily …

---

## [HELP - With Menu Flash](https://forum.kirupa.com/t/help-with-menu-flash/265075)

<div class="topic-metadata">

**Author:** [@pastorhal](https://forum.kirupa.com/u/pastorhal)\
**Replies:** 0\
**Last updated:** [July 3, 2008, 4:55pm UTC](https://forum.kirupa.com/t/help-with-menu-flash/265075 "2008-07-03T16:55:40Z")

</div>

Hey All, Can anyone help me with my menu? I'm pretty bad at flash and I can't get the my links (moving balls) on my flash menu to work. I can send you actual files if it helps. It seems like every time Adobe updates…

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

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