# programming

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

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

**Page:** 1397

---

## [How can I manipulate text fields?](https://forum.kirupa.com/t/how-can-i-manipulate-text-fields/249338)

<div class="topic-metadata">

**Author:** [@goetzs](https://forum.kirupa.com/u/goetzs)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 5:39pm UTC](https://forum.kirupa.com/t/how-can-i-manipulate-text-fields/249338 "2008-01-17T17:39:53Z")

</div>

I am creating an xml slideshow off of the tutorial on this site and its working great. Im hung up on one thing though. I need to be able to manipulate text fields depending on which slide is being loaded, and im not sure…

---

## [Referring to Variables Outside of Functions](https://forum.kirupa.com/t/referring-to-variables-outside-of-functions/249337)

<div class="topic-metadata">

**Author:** [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 5:30pm UTC](https://forum.kirupa.com/t/referring-to-variables-outside-of-functions/249337 "2008-01-17T17:30:57Z")

</div>

There's gotta be a simple answer for this... How does one refer to a variable that was defined inside a function when you're outside of that function? For example: setMyVariable = function() { var myVariable:Number…

---

## [\[Flash 8\] How do I get rid of a movieclip when I return to the keyframe a second time](https://forum.kirupa.com/t/flash-8-how-do-i-get-rid-of-a-movieclip-when-i-return-to-the-keyframe-a-second-time/249336)

<div class="topic-metadata">

**Author:** [@cjengvall](https://forum.kirupa.com/u/cjengvall)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 5:24pm UTC](https://forum.kirupa.com/t/flash-8-how-do-i-get-rid-of-a-movieclip-when-i-return-to-the-keyframe-a-second-time/249336 "2008-01-17T17:24:06Z")

</div>

I have a big Flash project that I want to update with a sort of "Breaking news"-pop up. I load my pop-up in a movieclip "Target\_MC" simply by adding the action script: loadMovie("extra.swf", Target\_MC); In my "extr…

---

## [Flash CS3 Slideshow - captions/slow preloader](https://forum.kirupa.com/t/flash-cs3-slideshow-captions-slow-preloader/249335)

<div class="topic-metadata">

**Author:** [@mbailey](https://forum.kirupa.com/u/mbailey)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 5:22pm UTC](https://forum.kirupa.com/t/flash-cs3-slideshow-captions-slow-preloader/249335 "2008-01-17T17:22:08Z")

</div>

Hello everyone! I successfully completed a Flash CS3 slideshow. The slideshow contains picture transitions with coordinating captions and can be updated from an XML file. After figuring out how to get the captions to r…

---

## [Tabing out of flash](https://forum.kirupa.com/t/tabing-out-of-flash/249330)

<div class="topic-metadata">

**Author:** [@kgmata](https://forum.kirupa.com/u/kgmata)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 4:42pm UTC](https://forum.kirupa.com/t/tabing-out-of-flash/249330 "2008-01-17T16:42:01Z")

</div>

Hi I have a accessibility issues. 2 questions I am trying to get flash to not go on in a loop when i click the tab key between my buttons and actually get back into the HTML after it hits all the buttons. Is there a f…

---

## [Infinite menu help?](https://forum.kirupa.com/t/infinite-menu-help/249326)

<div class="topic-metadata">

**Author:** [@tyeness](https://forum.kirupa.com/u/tyeness)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 4:03pm UTC](https://forum.kirupa.com/t/infinite-menu-help/249326 "2008-01-17T16:03:40Z")

</div>

Hi all I'm trying to convert this infinite menu tutorial to have a constant speed but can't work out how? Can anyone point this out? My actionscript is awful \[frowning\] Thanks in advance...

---

## [XMLLoader Class - Accessing data](https://forum.kirupa.com/t/xmlloader-class-accessing-data/249324)

<div class="topic-metadata">

**Author:** [@benny\_hill](https://forum.kirupa.com/u/benny_hill)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 3:57pm UTC](https://forum.kirupa.com/t/xmlloader-class-accessing-data/249324 "2008-01-17T15:57:43Z")

</div>

I made this simple xml loader class: package { import flash.net.\*; import flash.display.Sprite; import flash.events.\*; public class XMLLoader extends Sprite { private var xml:XML; private var xmlLoader:URLLo…

---

## [Embed a webpage into a Flash Movie (swf)!](https://forum.kirupa.com/t/embed-a-webpage-into-a-flash-movie-swf/249321)

<div class="topic-metadata">

**Author:** [@Rajeev\_VM](https://forum.kirupa.com/u/Rajeev_VM)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 3:43pm UTC](https://forum.kirupa.com/t/embed-a-webpage-into-a-flash-movie-swf/249321 "2008-01-17T15:43:04Z")

</div>

\[FONT=Times New Roman\] \[COLOR=red\]Hi,\[/COLOR\] \[/FONT\] \[FONT=Times New Roman\] \[COLOR=red\]How do I embed a webpage (for eg:- gmail log-in page) inside our flash swf file? I want that whole content to be lo…

---

## [Change the image according to monitor resolution](https://forum.kirupa.com/t/change-the-image-according-to-monitor-resolution/249318)

<div class="topic-metadata">

**Author:** [@Thanigaivel](https://forum.kirupa.com/u/Thanigaivel)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 2:43pm UTC](https://forum.kirupa.com/t/change-the-image-according-to-monitor-resolution/249318 "2008-01-17T14:43:01Z")

</div>

\[FONT=Verdana\]Hi All\[/FONT\] \[FONT=Verdana\]I am trying to create a photographer site using flash 8, that client was very specific that his image should not get pixelated and also it should not scroll in any direction,…

---

## [AS3 goes 3D, what engine do you use](https://forum.kirupa.com/t/as3-goes-3d-what-engine-do-you-use/249316)

<div class="topic-metadata">

**Author:** [@kkos](https://forum.kirupa.com/u/kkos)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 2:15pm UTC](https://forum.kirupa.com/t/as3-goes-3d-what-engine-do-you-use/249316 "2008-01-17T14:15:47Z")

</div>

Well, this is slightly off topic, but would like to ask the community what 3d engine they prefer: Away3D, Sandy3D or Papervision. I guess, Papervision is the most popular and has the largest core developer team. The do…

---

## [Flash AS3.0 and MSN messenger](https://forum.kirupa.com/t/flash-as3-0-and-msn-messenger/249314)

<div class="topic-metadata">

**Author:** [@groot406](https://forum.kirupa.com/u/groot406)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 2:03pm UTC](https://forum.kirupa.com/t/flash-as3-0-and-msn-messenger/249314 "2008-01-17T14:03:16Z")

</div>

Hi, I've been busy to find out about the MSN messenger protocol, and how to use it with flash, and I've succeeded in a way. If you like to see the current result, you can download it here, there also is a little …

---

## [Problems with fake query XML refresh method](https://forum.kirupa.com/t/problems-with-fake-query-xml-refresh-method/249313)

<div class="topic-metadata">

**Author:** [@geoken](https://forum.kirupa.com/u/geoken)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 1:51pm UTC](https://forum.kirupa.com/t/problems-with-fake-query-xml-refresh-method/249313 "2008-01-17T13:51:45Z")

</div>

Have any of you ever had problems with the common technique of forcing an XML to not cache by passing a randomly generated fake query string in the url? I just switched hosts and uploaded a site to the new servers. I n…

---

## [Vertically and horizontally aligning a DIV](https://forum.kirupa.com/t/vertically-and-horizontally-aligning-a-div/249312)

<div class="topic-metadata">

**Author:** [@hoolagon](https://forum.kirupa.com/u/hoolagon)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 1:49pm UTC](https://forum.kirupa.com/t/vertically-and-horizontally-aligning-a-div/249312 "2008-01-17T13:49:56Z")

</div>

Happy new year everyone, Ive got a question about a problem which comes up over and over again. Ive searched online and tried loads of solutions but there always some problem or another. Do any of you fine designers kn…

---

## [Netstream - handling the progress of flv play](https://forum.kirupa.com/t/netstream-handling-the-progress-of-flv-play/249311)

<div class="topic-metadata">

**Author:** [@asscripter](https://forum.kirupa.com/u/asscripter)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 1:49pm UTC](https://forum.kirupa.com/t/netstream-handling-the-progress-of-flv-play/249311 "2008-01-17T13:49:17Z")

</div>

Hi, This might be an minuscule problem, but i really cudn't locate an answer! I am making an flv player using NetConnection/NetStream concept. As the video plays i'm wanted to show the elapsed time of the flv in a te…

---

## [XML firstChild](https://forum.kirupa.com/t/xml-firstchild/249309)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 1:08pm UTC](https://forum.kirupa.com/t/xml-firstchild/249309 "2008-01-17T13:08:15Z")

</div>

Hello, My XML File looks like this: \<box\> \<details colour = "blue" /\> \</box\> \<news\> \<page contents = "Insert this text"/\> \</news\> Now as I understand it, this.firstChild = box How would I write ??? = news I know…

---

## [Enter Key Listener in TextArea](https://forum.kirupa.com/t/enter-key-listener-in-textarea/249306)

<div class="topic-metadata">

**Author:** [@Saddu](https://forum.kirupa.com/u/Saddu)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 12:22pm UTC](https://forum.kirupa.com/t/enter-key-listener-in-textarea/249306 "2008-01-17T12:22:13Z")

</div>

Hi All, Am using a TextArea component in my file, i want to detect when the enter key is pressed inside the TextArea, how can i do this? Any help would be appreciated.. Thanks, Saddu.

---

## [Edit .txt files](https://forum.kirupa.com/t/edit-txt-files/249305)

<div class="topic-metadata">

**Author:** [@matoft](https://forum.kirupa.com/u/matoft)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 12:19pm UTC](https://forum.kirupa.com/t/edit-txt-files/249305 "2008-01-17T12:19:10Z")

</div>

Hi! I am currently making a flash site for sharing and editing text and information. (A business thing) In this webpage i am importing text from .txt files into dynamic text fields using LoadVars. I would like to make …

---

## [Buttons with Style Element](https://forum.kirupa.com/t/buttons-with-style-element/249304)

<div class="topic-metadata">

**Author:** [@vinay016](https://forum.kirupa.com/u/vinay016)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 12:13pm UTC](https://forum.kirupa.com/t/buttons-with-style-element/249304 "2008-01-17T12:13:26Z")

</div>

Hi, I previously created a rollover button using style tag and it was based on .gif image. Here the source goes: .rollover a { display:block; width: 90px; padding:10px 10px 10px 7px; font: bold 13px sans-serif;; colo…

---

## [Ho to Fix the focus to the particular button?](https://forum.kirupa.com/t/ho-to-fix-the-focus-to-the-particular-button/249303)

<div class="topic-metadata">

**Author:** [@balaji\_r](https://forum.kirupa.com/u/balaji_r)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 12:05pm UTC](https://forum.kirupa.com/t/ho-to-fix-the-focus-to-the-particular-button/249303 "2008-01-17T12:05:05Z")

</div>

hi, i want to fix the focus to the particular button Using ActionScript 3.0. please help me..

---

## [How to get the name of the currently selected button name?](https://forum.kirupa.com/t/how-to-get-the-name-of-the-currently-selected-button-name/249302)

<div class="topic-metadata">

**Author:** [@balaji\_r](https://forum.kirupa.com/u/balaji_r)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 12:01pm UTC](https://forum.kirupa.com/t/how-to-get-the-name-of-the-currently-selected-button-name/249302 "2008-01-17T12:01:32Z")

</div>

hi, I set the tabIndex for buttons. i want get the button name of the currently selected button. plase help me.

---

## [How to manage timeout](https://forum.kirupa.com/t/how-to-manage-timeout/249301)

<div class="topic-metadata">

**Author:** [@dinchu37](https://forum.kirupa.com/u/dinchu37)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 11:55am UTC](https://forum.kirupa.com/t/how-to-manage-timeout/249301 "2008-01-17T11:55:13Z")

</div>

have a serious problem, i need to get data from a page like this: http://gostanford.cstv.com/sports/m-.../teamcume.html when i opne it on my browser it works fine, but when i try caching it by php it takes longer tha…

---

## [Help with REGEX and PHP](https://forum.kirupa.com/t/help-with-regex-and-php/249300)

<div class="topic-metadata">

**Author:** [@dinchu37](https://forum.kirupa.com/u/dinchu37)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 11:54am UTC](https://forum.kirupa.com/t/help-with-regex-and-php/249300 "2008-01-17T11:54:14Z")

</div>

i'm trying to make a very simple scraper, i cannot find the right regex to cut in a string everything what is between the tag \<PRE\> and \<PRE\>. i also need to recognize as good \<PRE CLASS="anything"\>. when i try this, i…

---

## [XML attribute to Dynamic Text Box](https://forum.kirupa.com/t/xml-attribute-to-dynamic-text-box/249298)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 11:52am UTC](https://forum.kirupa.com/t/xml-attribute-to-dynamic-text-box/249298 "2008-01-17T11:52:18Z")

</div>

Hi, I am trying to dynamically add titles to boxes from XML. My boxes are named block1, block2 etc my XML Contents follow \<content\> \<clip link="test1"/\> \<clip link="test2"/\> \<clip link="test3"/\> \</content\> My code is …

---

## [How to Load the Moviclip from reverse order?](https://forum.kirupa.com/t/how-to-load-the-moviclip-from-reverse-order/249296)

<div class="topic-metadata">

**Author:** [@balaji\_r](https://forum.kirupa.com/u/balaji_r)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 11:46am UTC](https://forum.kirupa.com/t/how-to-load-the-moviclip-from-reverse-order/249296 "2008-01-17T11:46:36Z")

</div>

Hi to all, I am new to AS 3.0. i am having 5 swf file. each swf file contains the 5 to 10 keyframes.I want to load the first swf file on to the stage, while i am click the right or down arrow from the keyboard the next k…

---

## [How to pass BitmapData thought LocalConnection](https://forum.kirupa.com/t/how-to-pass-bitmapdata-thought-localconnection/249295)

<div class="topic-metadata">

**Author:** [@bubbleball](https://forum.kirupa.com/u/bubbleball)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 11:37am UTC](https://forum.kirupa.com/t/how-to-pass-bitmapdata-thought-localconnection/249295 "2008-01-17T11:37:43Z")

</div>

I have developed an application by AS2 and want use some function of AS3, so I use Action script bridge here: http://www.gskinner.com/blog/archives/2007/07/swfbridge\_easie.html and http://www.jumpeyecomponents.com/Fla…

---

## [Generating clouds with perlin noise](https://forum.kirupa.com/t/generating-clouds-with-perlin-noise/249294)

<div class="topic-metadata">

**Author:** [@anon4341189](https://forum.kirupa.com/u/anon4341189)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 10:47am UTC](https://forum.kirupa.com/t/generating-clouds-with-perlin-noise/249294 "2008-01-17T10:47:33Z")

</div>

Hi guys, I am trying to generate some clouds with the perlin noise function. Currently, i have the follow: var channel:uint = 1 | 2 | 4 | 8; var xpos:Number = Math.floor(Math.random()\*100); var ypos:Number = Math.fl…

---

## [Help making one movieclip interact with another!](https://forum.kirupa.com/t/help-making-one-movieclip-interact-with-another/249290)

<div class="topic-metadata">

**Author:** [@Lerglas](https://forum.kirupa.com/u/Lerglas)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 9:00am UTC](https://forum.kirupa.com/t/help-making-one-movieclip-interact-with-another/249290 "2008-01-17T09:00:25Z")

</div>

I'm trying to make a flash where im using two mc:s, what I want to achive is that when the first movieclip (lets call it mc1) enters a certain frame a nested movieclip(mc2\_1) within the other mc(mc2) dissappears. Mc2\_1 s…

---

## [\[AS2.0\] Weird issue with LoadMovieNum and IE6. Please help!](https://forum.kirupa.com/t/as2-0-weird-issue-with-loadmovienum-and-ie6-please-help/249288)

<div class="topic-metadata">

**Author:** [@lorenai](https://forum.kirupa.com/u/lorenai)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 8:20am UTC](https://forum.kirupa.com/t/as2-0-weird-issue-with-loadmovienum-and-ie6-please-help/249288 "2008-01-17T08:20:35Z")

</div>

Hi there, I really hope you guys can help me, because this one has got me beat. I have a series of movies that I have created in Flash 9 using AS2.0 The structure of the files is as follows: Chapter 1 (a relatively…

---

## [Is it possible to create gradient using AS?](https://forum.kirupa.com/t/is-it-possible-to-create-gradient-using-as/249287)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 8:00am UTC](https://forum.kirupa.com/t/is-it-possible-to-create-gradient-using-as/249287 "2008-01-17T08:00:25Z")

</div>

I was wondering is it possible to create gradient like this one for example: \[image\] using actionscript and how? If anyone has an example i would really appreciate it. thanks, best regards

---

## [\[AS 2.0\] removeMovieClip not functioning](https://forum.kirupa.com/t/as-2-0-removemovieclip-not-functioning/249285)

<div class="topic-metadata">

**Author:** [@bnns](https://forum.kirupa.com/u/bnns)\
**Replies:** 0\
**Last updated:** [January 17, 2008, 7:31am UTC](https://forum.kirupa.com/t/as-2-0-removemovieclip-not-functioning/249285 "2008-01-17T07:31:36Z")

</div>

I am have problems with the removeMovieClip() function; I have tried several methods to get the function to work. see below newThis.removeMovieClip(); newThis.unloadMovie(); unloadMovie(newThis); newThis…

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

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