# programming

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

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

**Page:** 927

---

## [Refresh webpage?](https://forum.kirupa.com/t/refresh-webpage/281391)

<div class="topic-metadata">

**Author:** [@iamthwee](https://forum.kirupa.com/u/iamthwee)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 10:18pm UTC](https://forum.kirupa.com/t/refresh-webpage/281391 "2009-02-08T22:18:57Z")

</div>

Ok, basically I have a flash application that is reading an xml file across a server. The xml file changes when the user edits something in the flash application. What is the best way to refresh the page to respond t…

---

## [Xml Menu, how to open in the same window?](https://forum.kirupa.com/t/xml-menu-how-to-open-in-the-same-window/281390)

<div class="topic-metadata">

**Author:** [@sandra\_svensson](https://forum.kirupa.com/u/sandra_svensson)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 9:47pm UTC](https://forum.kirupa.com/t/xml-menu-how-to-open-in-the-same-window/281390 "2009-02-08T21:47:19Z")

</div>

Hey guys!! I've made a menu in xml, and donno how the code should look like If I want the links to open in the same window (target="\_parent") were should I put this in my code? \<item Name="Link" Action ="getURL" T…

---

## [FLASH Secure score submit?](https://forum.kirupa.com/t/flash-secure-score-submit/281389)

<div class="topic-metadata">

**Author:** [@atakan\_1907](https://forum.kirupa.com/u/atakan_1907)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 9:44pm UTC](https://forum.kirupa.com/t/flash-secure-score-submit/281389 "2009-02-08T21:44:04Z")

</div>

Hi everybody, I'm building a flash-game-site for a while. The big trouble is Secure Score Submitting System \[stuck\_out\_tongue\] I search on the net and find some ineffective techniques: -Secret word method: there is an …

---

## [Changing text in textfield with buttons](https://forum.kirupa.com/t/changing-text-in-textfield-with-buttons/281388)

<div class="topic-metadata">

**Author:** [@Grunty](https://forum.kirupa.com/u/Grunty)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 9:35pm UTC](https://forum.kirupa.com/t/changing-text-in-textfield-with-buttons/281388 "2009-02-08T21:35:08Z")

</div>

First, background knowledge: I know nothing about AS. With that out of the way, how can I make buttons that change the text inside of a textfield? What coding would need to be used? If you could actually write out one …

---

## [Random Goto](https://forum.kirupa.com/t/random-goto/281387)

<div class="topic-metadata">

**Author:** [@Danief](https://forum.kirupa.com/u/Danief)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 8:15pm UTC](https://forum.kirupa.com/t/random-goto/281387 "2009-02-08T20:15:54Z")

</div>

Could somebody walk me though the process of making code that you would place in a frame, so that when the timeline hits that code, it will randomly jump to one of the predetermined frame numbers. thanks. \[link\]:jag::top…

---

## [Heavy calculation prevents screen update?](https://forum.kirupa.com/t/heavy-calculation-prevents-screen-update/281385)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 6:32pm UTC](https://forum.kirupa.com/t/heavy-calculation-prevents-screen-update/281385 "2009-02-08T18:32:21Z")

</div>

I'm not 100% sure thats the problem, but It seems so. One other thing it could be, is maybe the screen doesnt update untill an event listener has completely finished? Anyway here is my problem: My app does some prett…

---

## [getBounds doesn't works, how to?](https://forum.kirupa.com/t/getbounds-doesnt-works-how-to/281384)

<div class="topic-metadata">

**Author:** [@enridp](https://forum.kirupa.com/u/enridp)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 6:21pm UTC](https://forum.kirupa.com/t/getbounds-doesnt-works-how-to/281384 "2009-02-08T18:21:55Z")

</div>

Hello ! This is my problem, I have a MC, it contains many others MCx, and I need to test if these MCx are inside a zone, even when I rotate my MC, I'm doing this with getbounds(), and it works great but only when my MCx …

---

## [AS2 stop all commands](https://forum.kirupa.com/t/as2-stop-all-commands/281383)

<div class="topic-metadata">

**Author:** [@marcogiannini](https://forum.kirupa.com/u/marcogiannini)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 6:21pm UTC](https://forum.kirupa.com/t/as2-stop-all-commands/281383 "2009-02-08T18:21:01Z")

</div>

Hi all, I'm building a point&click application with hundreds of buttons, functions and so on I've added to the main gamepanel two buttons, one opening a navigation map and the other opening a paper with a long text. Ther…

---

## [Finally it works...and bugs alot](https://forum.kirupa.com/t/finally-it-works-and-bugs-alot/281379)

<div class="topic-metadata">

**Author:** [@Theofiel](https://forum.kirupa.com/u/Theofiel)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 5:50pm UTC](https://forum.kirupa.com/t/finally-it-works-and-bugs-alot/281379 "2009-02-08T17:50:22Z")

</div>

Hi all, SO finally after a long time strungeling and searching Kirupa forum I have managed to more or less get my presentation working. I want to use my flash movie as a presentation and ofcourse as a learning as3 projec…

---

## [AS 3.0 Button Frenzy](https://forum.kirupa.com/t/as-3-0-button-frenzy/281377)

<div class="topic-metadata">

**Author:** [@drewmerl](https://forum.kirupa.com/u/drewmerl)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 5:31pm UTC](https://forum.kirupa.com/t/as-3-0-button-frenzy/281377 "2009-02-08T17:31:56Z")

</div>

Good Day to All, I figure I would start my venture into AS 3.0 with the simple stuff considering my AS 2.0 endeavors have not been exactly smooth sailing. Motion tweening was easy as pie. I was able to update my clip…

---

## [hitTest glitch with ball and wall](https://forum.kirupa.com/t/hittest-glitch-with-ball-and-wall/281376)

<div class="topic-metadata">

**Author:** [@xZeRo23](https://forum.kirupa.com/u/xZeRo23)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 5:28pm UTC](https://forum.kirupa.com/t/hittest-glitch-with-ball-and-wall/281376 "2009-02-08T17:28:06Z")

</div>

I'm making a game where the ball bounces off several walls to get to its destination: the portal. When the ball reaches a high speed it glitches through most of the walls. Here is my scene for the 3rd level of my game…

---

## [Cool new knobs and faders?](https://forum.kirupa.com/t/cool-new-knobs-and-faders/281374)

<div class="topic-metadata">

**Author:** [@dexa\_007](https://forum.kirupa.com/u/dexa_007)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 2:17pm UTC](https://forum.kirupa.com/t/cool-new-knobs-and-faders/281374 "2009-02-08T14:17:24Z")

</div>

Friends, Are there any "new" knobs and/or faders available for download on the Internet? The common library in Flash MX comes with some cool stuff, but are there other items now available out there? Any leads / tips…

---

## [Dynamically Load External ActionScript File](https://forum.kirupa.com/t/dynamically-load-external-actionscript-file/281372)

<div class="topic-metadata">

**Author:** [@cs3\_newbie](https://forum.kirupa.com/u/cs3_newbie)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 2:08pm UTC](https://forum.kirupa.com/t/dynamically-load-external-actionscript-file/281372 "2009-02-08T14:08:08Z")

</div>

Hi guys, I have a question for you. I am trying to dynamically import an external actionscript file into a flash movie. The actionscript file is created on the fly by a web server and I am trying to include this file i…

---

## [Possibility to memory-read Flash applications?](https://forum.kirupa.com/t/possibility-to-memory-read-flash-applications/281369)

<div class="topic-metadata">

**Author:** [@Zomis](https://forum.kirupa.com/u/Zomis)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 12:56pm UTC](https://forum.kirupa.com/t/possibility-to-memory-read-flash-applications/281369 "2009-02-08T12:56:55Z")

</div>

Is it possible to create/use third party utils to read the memory of Flash applications targeted for Flash Player 9 and later and thus making it possible to cheat in some Flash games?

---

## [Adding a constant interface to my component](https://forum.kirupa.com/t/adding-a-constant-interface-to-my-component/281367)

<div class="topic-metadata">

**Author:** [@grozavpaul](https://forum.kirupa.com/u/grozavpaul)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 12:18pm UTC](https://forum.kirupa.com/t/adding-a-constant-interface-to-my-component/281367 "2009-02-08T12:18:27Z")

</div>

I have a variable named child in which i put one of my customized components such as a Button, Image or Text etc. But i want to add a focus rectangle to my child component so that no matter what kind of component child i…

---

## [AS2 Board Game Tutorials](https://forum.kirupa.com/t/as2-board-game-tutorials/281365)

<div class="topic-metadata">

**Author:** [@rimmet](https://forum.kirupa.com/u/rimmet)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 10:14am UTC](https://forum.kirupa.com/t/as2-board-game-tutorials/281365 "2009-02-08T10:14:27Z")

</div>

Hi, I am looking for some tutorials for AS2 board games. I would like to be able to make checkers or chess really. I have a fair bit of knowledge of AS2 but have only ever made games such as pong or breakout in the pas…

---

## [File Upload to different folder script (crossdomain.xml)](https://forum.kirupa.com/t/file-upload-to-different-folder-script-crossdomain-xml/281364)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 9:55am UTC](https://forum.kirupa.com/t/file-upload-to-different-folder-script-crossdomain-xml/281364 "2009-02-08T09:55:57Z")

</div>

Hi Guys, Im uploading a file using FileReference class, but the script I'm uploading to is in a different parent folder, under the same domain. So Im getting a FILE I/O error, and through some tests, the flash is not a…

---

## [PageFilp Video Problems](https://forum.kirupa.com/t/pagefilp-video-problems/281360)

<div class="topic-metadata">

**Author:** [@wideyed](https://forum.kirupa.com/u/wideyed)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 8:34am UTC](https://forum.kirupa.com/t/pagefilp-video-problems/281360 "2009-02-08T08:34:20Z")

</div>

I;m using the free version of this: http://www.pageflip.hu/ does anyone have any suggestions on how to externally load a video (flv, or one loaded in a .swf). I've tried loading a .swf into a container, but no such luc…

---

## [Buttons to change textfield](https://forum.kirupa.com/t/buttons-to-change-textfield/281357)

<div class="topic-metadata">

**Author:** [@Grunty](https://forum.kirupa.com/u/Grunty)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 7:37am UTC](https://forum.kirupa.com/t/buttons-to-change-textfield/281357 "2009-02-08T07:37:05Z")

</div>

How can I make a button that, when pressed, changes a textfield (with a scrollbar) to a different textfield (with a scrollbar) in the same place? Essentially (I think), using a button to swap an element and make it fade …

---

## [Loging in not working!](https://forum.kirupa.com/t/loging-in-not-working/281351)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 5:56am UTC](https://forum.kirupa.com/t/loging-in-not-working/281351 "2009-02-08T05:56:12Z")

</div>

I have tried like 3 people's code (well one from me, and 2 others) and they are all basically the same and they all are working fine except that when I tried to log in it won't work, it just goes straight to the error ba…

---

## [\[CS3,AS2\]Actionscript tween locking from tweening again?](https://forum.kirupa.com/t/cs3-as2-actionscript-tween-locking-from-tweening-again/281350)

<div class="topic-metadata">

**Author:** [@mauve](https://forum.kirupa.com/u/mauve)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 5:27am UTC](https://forum.kirupa.com/t/cs3-as2-actionscript-tween-locking-from-tweening-again/281350 "2009-02-08T05:27:55Z")

</div>

\*\*OK I checked back over my code and realised that i was tweening from a location to the current location of the object. Just put in manually the location I wanted to tween to and it worked. Stupid of me. Feel free to de…

---

## [Scrollpane Issue](https://forum.kirupa.com/t/scrollpane-issue/281347)

<div class="topic-metadata">

**Author:** [@evilgandhi](https://forum.kirupa.com/u/evilgandhi)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 3:54am UTC](https://forum.kirupa.com/t/scrollpane-issue/281347 "2009-02-08T03:54:21Z")

</div>

I'm posting this again because i really think im going mental, there MUST BE some one who has had this problem!! am i wording my question wrong or something can someone please help ME please go here and see it for yo…

---

## [Depth Sorting Issue - How to make MC always on "top"?](https://forum.kirupa.com/t/depth-sorting-issue-how-to-make-mc-always-on-top/281345)

<div class="topic-metadata">

**Author:** [@mileskemp](https://forum.kirupa.com/u/mileskemp)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 2:41am UTC](https://forum.kirupa.com/t/depth-sorting-issue-how-to-make-mc-always-on-top/281345 "2009-02-08T02:41:15Z")

</div>

Hey guys, I just can figure out how to make my navigation mc (named navBAR) always stay on the top layer, highest depth. Everytime the slideshow image reloads, when the navBAR is showing, it immediately becomes not visib…

---

## [Using variables with addEventListener \[renamed\]](https://forum.kirupa.com/t/using-variables-with-addeventlistener-renamed/281344)

<div class="topic-metadata">

**Author:** [@jasonlijw](https://forum.kirupa.com/u/jasonlijw)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 2:26am UTC](https://forum.kirupa.com/t/using-variables-with-addeventlistener-renamed/281344 "2009-02-08T02:26:46Z")

</div>

Can this be done? \[varible\].addEventListener(MouseEvent.CLICK, \[varible\]); If so How? I have tried 50 different ways, with no success. The names of all of my buttons are creating in a for loop and numbered from XML. …

---

## [Is php searchable](https://forum.kirupa.com/t/is-php-searchable/281340)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 9:22pm UTC](https://forum.kirupa.com/t/is-php-searchable/281340 "2009-02-07T21:22:59Z")

</div>

In order for a php string to be recognized by a search crawler like google does it have to be echoed or can a you assign a variable the string value and the variable be recognized by a crawler? Basically I have a flash…

---

## [Helping in building fast, lightweight logic and data grab app](https://forum.kirupa.com/t/helping-in-building-fast-lightweight-logic-and-data-grab-app/281339)

<div class="topic-metadata">

**Author:** [@knolseeker](https://forum.kirupa.com/u/knolseeker)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 8:47pm UTC](https://forum.kirupa.com/t/helping-in-building-fast-lightweight-logic-and-data-grab-app/281339 "2009-02-07T20:47:53Z")

</div>

This is what my application needs to do It will recieve mutliple http (posts/gets) from a seperate server (not sure if they will be sequintal) It then needs to count how many previous http posts/get it has received fr…

---

## [Multiple eMail forms on one page](https://forum.kirupa.com/t/multiple-email-forms-on-one-page/281338)

<div class="topic-metadata">

**Author:** [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 8:37pm UTC](https://forum.kirupa.com/t/multiple-email-forms-on-one-page/281338 "2009-02-07T20:37:24Z")

</div>

I wanted to know if it is possible to have multiple email forms on a single page while using only one mailer.php page.

---

## [Writing a reset function](https://forum.kirupa.com/t/writing-a-reset-function/281337)

<div class="topic-metadata">

**Author:** [@snottlebocket](https://forum.kirupa.com/u/snottlebocket)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 8:36pm UTC](https://forum.kirupa.com/t/writing-a-reset-function/281337 "2009-02-07T20:36:33Z")

</div>

Maybe I'm overlooking something really obvious here but is it possible to write a reset function in flash without keeping track and deleting all your assets and event listeners one by one in AS3? In as2 I used to make …

---

## [Decorator Pattern: Abstract Decorators](https://forum.kirupa.com/t/decorator-pattern-abstract-decorators/281336)

<div class="topic-metadata">

**Author:** [@motionsmith](https://forum.kirupa.com/u/motionsmith)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 8:28pm UTC](https://forum.kirupa.com/t/decorator-pattern-abstract-decorators/281336 "2009-02-07T20:28:15Z")

</div>

So I'm building this engine, and I'm looking to use the decorator pattern to build out the characters' functionality in a modular fashion, so the Goomba might look something like this: Concrete Character + walkDecorati…

---

## [Gotoandplay Problem](https://forum.kirupa.com/t/gotoandplay-problem/281333)

<div class="topic-metadata">

**Author:** [@cigi223](https://forum.kirupa.com/u/cigi223)\
**Replies:** 0\
**Last updated:** [February 7, 2009, 7:32pm UTC](https://forum.kirupa.com/t/gotoandplay-problem/281333 "2009-02-07T19:32:40Z")

</div>

Hi guys, I very new to AS. I'm getting an error with the below code: gotoAndPlay("scene2", 1); Error: 1067: Implicit coercion of a value of type int to an unrelated type String. Go I want to do at this point is…

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

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