# programming

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

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

**Page:** 1609

---

## [Inserting HTML Code into Database](https://forum.kirupa.com/t/inserting-html-code-into-database/233928)

<div class="topic-metadata">

**Author:** [@meistertoca](https://forum.kirupa.com/u/meistertoca)\
**Replies:** 0\
**Last updated:** [July 28, 2007, 6:04am UTC](https://forum.kirupa.com/t/inserting-html-code-into-database/233928 "2007-07-28T06:04:20Z")

</div>

I'm trying to insert information that has html code into a database. To explain more clearly, I'm trying to create a form that takes already existing information and reinserts that information back into the database in …

---

## [Trouble pushing some code into an array](https://forum.kirupa.com/t/trouble-pushing-some-code-into-an-array/233927)

<div class="topic-metadata">

**Author:** [@gwh](https://forum.kirupa.com/u/gwh)\
**Replies:** 0\
**Last updated:** [July 28, 2007, 5:03am UTC](https://forum.kirupa.com/t/trouble-pushing-some-code-into-an-array/233927 "2007-07-28T05:03:45Z")

</div>

Hi, I’m trying to create an xml-based slideshow in flash and am having trouble pushing some code into an array. The following is an extract showing how my xml file is structured: \<slideshow\> \<garment url="formal01…

---

## [Get list of movieclip instances](https://forum.kirupa.com/t/get-list-of-movieclip-instances/233923)

<div class="topic-metadata">

**Author:** [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Replies:** 0\
**Last updated:** [July 28, 2007, 2:48am UTC](https://forum.kirupa.com/t/get-list-of-movieclip-instances/233923 "2007-07-28T02:48:44Z")

</div>

How to I get the instance names of all the movie clips currently attached to "\_root.contentMain"?

---

## [onSetFocus vs onKillFocus](https://forum.kirupa.com/t/onsetfocus-vs-onkillfocus/233922)

<div class="topic-metadata">

**Author:** [@ticl4](https://forum.kirupa.com/u/ticl4)\
**Replies:** 0\
**Last updated:** [July 28, 2007, 2:39am UTC](https://forum.kirupa.com/t/onsetfocus-vs-onkillfocus/233922 "2007-07-28T02:39:20Z")

</div>

AS2, from an email form for my website: instance: from\_txt, var: from the onKillFocus part works great, the onSetFocus does not. The input text has "your name here" typed in to begin with. Please Help! from\_txt.on…

---

## [Advanced Slideshow Problem](https://forum.kirupa.com/t/advanced-slideshow-problem/233918)

<div class="topic-metadata">

**Author:** [@cyan](https://forum.kirupa.com/u/cyan)\
**Replies:** 0\
**Last updated:** [July 28, 2007, 1:22am UTC](https://forum.kirupa.com/t/advanced-slideshow-problem/233918 "2007-07-28T01:22:57Z")

</div>

I'm making a slideshow combined from 2 slideshows done on this forum (the one with the numbers as thumbnails and the one with the dynamic gallery buttons). Mostly got it to work but am having problems with 2 things: 1) t…

---

## [Flash 8, swapDepths() tweening problem](https://forum.kirupa.com/t/flash-8-swapdepths-tweening-problem/233913)

<div class="topic-metadata">

**Author:** [@reg\_1979](https://forum.kirupa.com/u/reg_1979)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 11:03pm UTC](https://forum.kirupa.com/t/flash-8-swapdepths-tweening-problem/233913 "2007-07-27T23:03:50Z")

</div>

Hi all, I am working on a slide show where the slides overlap. When a new slide is accessed, it slightly overlaps the previously accessed one (which is scaled down and moved slightly to give the illusion that it is being…

---

## [Hit a major brick wall, stage is null](https://forum.kirupa.com/t/hit-a-major-brick-wall-stage-is-null/233912)

<div class="topic-metadata">

**Author:** [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 10:58pm UTC](https://forum.kirupa.com/t/hit-a-major-brick-wall-stage-is-null/233912 "2007-07-27T22:58:12Z")

</div>

Hi... I was just playng around with AS3 you know, wanting to make a website and all. Going pretty well. Learning all the new wonderful properties it has over AS2 and the new thinking and all. Then BAM!!! Somone threw a b…

---

## [Using the FileReference class to recconnect?](https://forum.kirupa.com/t/using-the-filereference-class-to-recconnect/233910)

<div class="topic-metadata">

**Author:** [@schemagroup](https://forum.kirupa.com/u/schemagroup)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 10:34pm UTC](https://forum.kirupa.com/t/using-the-filereference-class-to-recconnect/233910 "2007-07-27T22:34:25Z")

</div>

Hello, I would like to know if there is a way to recconnect my connection useing the file reference class. For instance when the user uploads the file to the remote server, and loses there connection. Is there a way i…

---

## [AS2 array cuts off after 12 values](https://forum.kirupa.com/t/as2-array-cuts-off-after-12-values/233909)

<div class="topic-metadata">

**Author:** [@domdom](https://forum.kirupa.com/u/domdom)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 10:18pm UTC](https://forum.kirupa.com/t/as2-array-cuts-off-after-12-values/233909 "2007-07-27T22:18:36Z")

</div>

I have an array that makes an entry if the user gets a test question wrong. on (release) { if(answer.selected == true) { choice\[20\] = "true"; } else { categories\[20\] = "Alternatives to Lif…

---

## [Zelda-style sequence puzzle](https://forum.kirupa.com/t/zelda-style-sequence-puzzle/233905)

<div class="topic-metadata">

**Author:** [@RedUncle](https://forum.kirupa.com/u/RedUncle)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 9:56pm UTC](https://forum.kirupa.com/t/zelda-style-sequence-puzzle/233905 "2007-07-27T21:56:01Z")

</div>

hello! I have a question - I'd be exceptionally grateful if anybody could help me out... let's say you've got EIGHT buttons, stacked side-by-side as such: BUTTON 1 / BUTTON 5 BUTTON 2 / BUTTON 6 BUTTON 3 …

---

## [Dynamic text in typewriter effect](https://forum.kirupa.com/t/dynamic-text-in-typewriter-effect/233903)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 9:00pm UTC](https://forum.kirupa.com/t/dynamic-text-in-typewriter-effect/233903 "2007-07-27T21:00:32Z")

</div>

Is it possible to increase the space between characters typed in the AS below? Doing it in the text panel of the letter mc breaks the effect. function typewriter(target:MovieClip, delay:Number):Void { target.interval…

---

## [loadClip image - get height property?](https://forum.kirupa.com/t/loadclip-image-get-height-property/233901)

<div class="topic-metadata">

**Author:** [@charles\_i](https://forum.kirupa.com/u/charles_i)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 8:38pm UTC](https://forum.kirupa.com/t/loadclip-image-get-height-property/233901 "2007-07-27T20:38:27Z")

</div>

I have a test movie that loads an array of images and can access the .x and .y properties - but I need the height of each image so I can start the text below it. Here's my code: \*\*Frame 1\*\* - is the array of image fil…

---

## [Problem with TextField](https://forum.kirupa.com/t/problem-with-textfield/233899)

<div class="topic-metadata">

**Author:** [@NaveenRam](https://forum.kirupa.com/u/NaveenRam)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 8:23pm UTC](https://forum.kirupa.com/t/problem-with-textfield/233899 "2007-07-27T20:23:25Z")

</div>

I started with making a new class for extended TextField. What is my objective is to have a transform tool for the textField to resize it and i've done it. The problem is when i reduce the textfield it should stop resizi…

---

## [How to handle LoadVars inside a class?](https://forum.kirupa.com/t/how-to-handle-loadvars-inside-a-class/233898)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 8:15pm UTC](https://forum.kirupa.com/t/how-to-handle-loadvars-inside-a-class/233898 "2007-07-27T20:15:07Z")

</div>

I'm an idiot...nothing to see here...

---

## [Convert a flash gallery to XML](https://forum.kirupa.com/t/convert-a-flash-gallery-to-xml/233897)

<div class="topic-metadata">

**Author:** [@beesbane](https://forum.kirupa.com/u/beesbane)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:51pm UTC](https://forum.kirupa.com/t/convert-a-flash-gallery-to-xml/233897 "2007-07-27T19:51:37Z")

</div>

how would i most easily convert my current flash gallery to an XML gallery that can be easily updated? I currently have little knowledge on XML.

---

## [PHP/MySQL Update / Add](https://forum.kirupa.com/t/php-mysql-update-add/233896)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:30pm UTC](https://forum.kirupa.com/t/php-mysql-update-add/233896 "2007-07-27T19:30:47Z")

</div>

Hey Can someone let me know how I can use PHP/MySQL to do the following: I want to basically update a value in a DB, but by adding onto it. So say a value in my DB is at 57 and I want to add 10... Can I do this witho…

---

## [Help With A "simple" Flash Xml Gallery](https://forum.kirupa.com/t/help-with-a-simple-flash-xml-gallery/233894)

<div class="topic-metadata">

**Author:** [@dchitman03](https://forum.kirupa.com/u/dchitman03)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:28pm UTC](https://forum.kirupa.com/t/help-with-a-simple-flash-xml-gallery/233894 "2007-07-27T19:28:18Z")

</div>

Hey, can anybody help me with this flashden gallery I found. I wanna know how to put it together. I want it to look like the example but I just wanna know how to do it! Here's the link: http://www.flashden.net/item/pho…

---

## [Variables can't be accessed from inside function?](https://forum.kirupa.com/t/variables-cant-be-accessed-from-inside-function/233891)

<div class="topic-metadata">

**Author:** [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:11pm UTC](https://forum.kirupa.com/t/variables-cant-be-accessed-from-inside-function/233891 "2007-07-27T19:11:03Z")

</div>

Ummm, whats the deal... My other function works fine! trace(Title0.text);// Traces "My Title" outside of function //START - Submit Function this.submit.addEventListener("mouseUp",submitFunct); function submitFunct(e…

---

## [PDF doesn't load on windows](https://forum.kirupa.com/t/pdf-doesnt-load-on-windows/233889)

<div class="topic-metadata">

**Author:** [@rkorda](https://forum.kirupa.com/u/rkorda)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 6:57pm UTC](https://forum.kirupa.com/t/pdf-doesnt-load-on-windows/233889 "2007-07-27T18:57:35Z")

</div>

hey there, anybody know why a PDF would load on mac and not on windows? this is the code: PDF\_btn.onRelease=function(){ getURL("TermLifePDF.pdf", "\_blank","GET") } thanks!!

---

## [Line Work](https://forum.kirupa.com/t/line-work/233886)

<div class="topic-metadata">

**Author:** [@egghead2000](https://forum.kirupa.com/u/egghead2000)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 6:44pm UTC](https://forum.kirupa.com/t/line-work/233886 "2007-07-27T18:44:27Z")

</div>

Is it possible to animate a line being drawn? Going from a dot to a line.

---

## [How to detect video stream freeze in player](https://forum.kirupa.com/t/how-to-detect-video-stream-freeze-in-player/233880)

<div class="topic-metadata">

**Author:** [@jgpandit](https://forum.kirupa.com/u/jgpandit)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:46pm UTC](https://forum.kirupa.com/t/how-to-detect-video-stream-freeze-in-player/233880 "2007-07-27T17:46:20Z")

</div>

Hello, I have a video player which plays only live streams. The stream could contain audio / video or audio only. I am seeing an intermittant freeze only in the video. I am not able to track down the source of the free…

---

## [Issue with embedded fonts and loadMovie](https://forum.kirupa.com/t/issue-with-embedded-fonts-and-loadmovie/233879)

<div class="topic-metadata">

**Author:** [@disbeliever](https://forum.kirupa.com/u/disbeliever)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:45pm UTC](https://forum.kirupa.com/t/issue-with-embedded-fonts-and-loadmovie/233879 "2007-07-27T17:45:10Z")

</div>

Hello, I have a main movie with a blank holder clip that I am loading an external movie into. This blank holder is sitting on even x,y coords. In my external movie, I am embedding several fonts, not even pixel fonts, l…

---

## [Possible for two dynamic MCs to share \_level0?](https://forum.kirupa.com/t/possible-for-two-dynamic-mcs-to-share--level0/233877)

<div class="topic-metadata">

**Author:** [@pajhonka](https://forum.kirupa.com/u/pajhonka)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:38pm UTC](https://forum.kirupa.com/t/possible-for-two-dynamic-mcs-to-share--level0/233877 "2007-07-27T17:38:57Z")

</div>

Hi, I'm trying to keep all of my Flash project on \_level0 for my Content Management System's purposes. I'm trying to have two movie clips containing all the project on \_level0, but the new movie always bumps the other. …

---

## [Full Browser flash question](https://forum.kirupa.com/t/full-browser-flash-question/233876)

<div class="topic-metadata">

**Author:** [@Big\_Shooter](https://forum.kirupa.com/u/Big_Shooter)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:31pm UTC](https://forum.kirupa.com/t/full-browser-flash-question/233876 "2007-07-27T17:31:04Z")

</div>

Hi there, Can someone please give me a hand, I'm using one of kirupas examples for load emptymc. The document size is 800x600, which is white, but the background color will change around it when the user clicks on a…

---

## [Array.sortOn with objects of a custom class?](https://forum.kirupa.com/t/array-sorton-with-objects-of-a-custom-class/233872)

<div class="topic-metadata">

**Author:** [@daveistheword](https://forum.kirupa.com/u/daveistheword)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:02pm UTC](https://forum.kirupa.com/t/array-sorton-with-objects-of-a-custom-class/233872 "2007-07-27T17:02:20Z")

</div>

I have a problem - I'm trying to do Array.sortOn on an array of custom-class objects. It's not working, though nothing in the documentation suggests that this is a problem. Below is the code. I'm confident the MetricReco…

---

## [How To Do This](https://forum.kirupa.com/t/how-to-do-this/233870)

<div class="topic-metadata">

**Author:** [@michaelus82](https://forum.kirupa.com/u/michaelus82)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 4:29pm UTC](https://forum.kirupa.com/t/how-to-do-this/233870 "2007-07-27T16:29:38Z")

</div>

a

---

## [ReferenceError: Error #1037: Cannot assign to a method myFunction on myClass](https://forum.kirupa.com/t/referenceerror-error-1037-cannot-assign-to-a-method-myfunction-on-myclass/233864)

<div class="topic-metadata">

**Author:** [@cesig](https://forum.kirupa.com/u/cesig)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 4:05pm UTC](https://forum.kirupa.com/t/referenceerror-error-1037-cannot-assign-to-a-method-myfunction-on-myclass/233864 "2007-07-27T16:05:58Z")

</div>

I'm trying to combine two classes to create a larger ui component. I have a paging widget and a slider. On the paging widget, a user can click on the left or right arrows to page down or up. The slider has a number…

---

## [PHP - converting array into sub arrays](https://forum.kirupa.com/t/php-converting-array-into-sub-arrays/233863)

<div class="topic-metadata">

**Author:** [@Neolumi](https://forum.kirupa.com/u/Neolumi)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 3:59pm UTC](https://forum.kirupa.com/t/php-converting-array-into-sub-arrays/233863 "2007-07-27T15:59:33Z")

</div>

Hi people, I'm sure theres a function or something for this but I havent found it yet. What I've got is a form posting the current values: Array ( \[pr\_quant\_1\] =\> 6 \[pr\_id\_1\] =\> 3 \[pr\_attr\_1\] =\> 1 \[pr\_quant\_2\] =\> 2 \[…

---

## [loadMovie AS3 style](https://forum.kirupa.com/t/loadmovie-as3-style/233862)

<div class="topic-metadata">

**Author:** [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 3:53pm UTC](https://forum.kirupa.com/t/loadmovie-as3-style/233862 "2007-07-27T15:53:14Z")

</div>

i just started using AS3 and was trying to do a loadMovie, but that method is not supported, can some one tell me how to do a loadMovie in AS3?:b:

---

## [Javascript not working in IE, does anyone know why?](https://forum.kirupa.com/t/javascript-not-working-in-ie-does-anyone-know-why/233859)

<div class="topic-metadata">

**Author:** [@fr\_ode](https://forum.kirupa.com/u/fr_ode)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 3:12pm UTC](https://forum.kirupa.com/t/javascript-not-working-in-ie-does-anyone-know-why/233859 "2007-07-27T15:12:42Z")

</div>

I'm building a site with a background image that fills the browser viewport. It's working great in Mozilla and Safari, but IE doesn't work at all, and I have no idea why. Any ideas? Here's my HTML containing the Javasc…

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

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