# programming

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

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

**Page:** 142

---

## [Previous / Next buttons load html?](https://forum.kirupa.com/t/previous-next-buttons-load-html/329981)

<div class="topic-metadata">

**Author:** [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 9:05pm UTC](https://forum.kirupa.com/t/previous-next-buttons-load-html/329981 "2012-11-13T21:05:00Z")

</div>

Hello, I want to create a navigation for the News section of my website, where when the buttons will be clicked it will navigate the user to the next or previous html. The button must add or remove a number on the en…

---

## [Saves text with text indentation for readability. How to remove?](https://forum.kirupa.com/t/saves-text-with-text-indentation-for-readability-how-to-remove/329979)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 8:54pm UTC](https://forum.kirupa.com/t/saves-text-with-text-indentation-for-readability-how-to-remove/329979 "2012-11-13T20:54:37Z")

</div>

Hi, I have a problem with at text that is saved to a file. By default, flash seems to add automatic indentation, while the picked text does not seem to have this indentation. Come to think of it, perhaps it is because …

---

## [Code to control a flv movie using Play, Pause & Stop buttons?](https://forum.kirupa.com/t/code-to-control-a-flv-movie-using-play-pause-stop-buttons/329978)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 7:53pm UTC](https://forum.kirupa.com/t/code-to-control-a-flv-movie-using-play-pause-stop-buttons/329978 "2012-11-13T19:53:22Z")

</div>

Hi, I have a flv movie called "Surfing.flv" (Instance Name "Surfing") in VideoBox movie clip. I have 3 buttons called "Play", "Pause", "Stop". The following code for play button doesn't work. What is the full code work…

---

## [How make animation 3d as3](https://forum.kirupa.com/t/how-make-animation-3d-as3/329977)

<div class="topic-metadata">

**Author:** [@Oskil](https://forum.kirupa.com/u/Oskil)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 7:20pm UTC](https://forum.kirupa.com/t/how-make-animation-3d-as3/329977 "2012-11-13T19:20:54Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]i wanna make movie clip like \[/FONT\]\[/COLOR\]http://www.youtube.com/watch?v=cn5Q7Zfjt3A \[COLOR=#000000\]\[FONT=verdana\]but with script not tween like a video\_\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT…

---

## [Why the background shrinks when my Car cross the STAGE?](https://forum.kirupa.com/t/why-the-background-shrinks-when-my-car-cross-the-stage/329976)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 6:52pm UTC](https://forum.kirupa.com/t/why-the-background-shrinks-when-my-car-cross-the-stage/329976 "2012-11-13T18:52:09Z")

</div>

Hi, I have the following code & one \[COLOR=#ff0000\]CAR \[/COLOR\]which moves from \[COLOR=#0000ff\]right to left\[/COLOR\]. When the CAR moves out of the stage, the background gets shrink. How to solve this problem? The Co…

---

## [Adding subpage](https://forum.kirupa.com/t/adding-subpage/329975)

<div class="topic-metadata">

**Author:** [@noName123](https://forum.kirupa.com/u/noName123)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 6:15pm UTC](https://forum.kirupa.com/t/adding-subpage/329975 "2012-11-13T18:15:46Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hi there,\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I downloaded this page from web \[/FONT\]\[/COLOR\]http://www.flashmo.com/preview/flashmo\_220\_nature \[COLOR=#000000\]\[FONT=verdana\]I want to…

---

## [SPAM filter](https://forum.kirupa.com/t/spam-filter/329974)

<div class="topic-metadata">

**Author:** [@Hans\_Erneborg](https://forum.kirupa.com/u/Hans_Erneborg)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 4:37pm UTC](https://forum.kirupa.com/t/spam-filter/329974 "2012-11-13T16:37:08Z")

</div>

I'm using Kirupa standard format mail. Is there any way to protect the form from SPAM without using CAPTCHA?

---

## [Help a Noob out :)](https://forum.kirupa.com/t/help-a-noob-out/329971)

<div class="topic-metadata">

**Author:** [@bradholz](https://forum.kirupa.com/u/bradholz)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 8:52am UTC](https://forum.kirupa.com/t/help-a-noob-out/329971 "2012-11-13T08:52:55Z")

</div>

Hi guys fairly new to as3 and would really love some help with this awsome live search script i found on the net i want to be able to load a movieclip from the library when the objectClick function is called th…

---

## [Assigned numbers to movie clip to plug in formula... not working](https://forum.kirupa.com/t/assigned-numbers-to-movie-clip-to-plug-in-formula-not-working/329969)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 7:57am UTC](https://forum.kirupa.com/t/assigned-numbers-to-movie-clip-to-plug-in-formula-not-working/329969 "2012-11-13T07:57:23Z")

</div>

So I am attempting to vertically evenly space these movie clips so I came up with a math formula involving n( the button number) but Its not working. \*\*Here is my code: \*\*var buttonArray:Array = \[ side\_banner.btn1, s…

---

## [How to use ns.send()](https://forum.kirupa.com/t/how-to-use-ns-send/329968)

<div class="topic-metadata">

**Author:** [@Ugur\_Yilmaz](https://forum.kirupa.com/u/Ugur_Yilmaz)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 4:12am UTC](https://forum.kirupa.com/t/how-to-use-ns-send/329968 "2012-11-13T04:12:47Z")

</div>

I have been trying to use ns.send(), but it won't work. -Can i use ns.send() without creating a class? -How do i use ns.send() ?

---

## [Swf resize doesn't work when published in HTML](https://forum.kirupa.com/t/swf-resize-doesnt-work-when-published-in-html/329965)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [November 13, 2012, 12:58am UTC](https://forum.kirupa.com/t/swf-resize-doesnt-work-when-published-in-html/329965 "2012-11-13T00:58:21Z")

</div>

When I publish in flash the swf works perfectly resizes/ scales appropriately however when I publish its like there is no scaling function, and doesn't scale to fit screen when I adjust the window size. Is there somethi…

---

## [Typed Objects](https://forum.kirupa.com/t/typed-objects/329964)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [November 12, 2012, 9:11pm UTC](https://forum.kirupa.com/t/typed-objects/329964 "2012-11-12T21:11:31Z")

</div>

Is there any way to create typed objects in AS3? I have had issues with non typed objects causing errors because of NaN and null I think... Eg... var myObject:Object.\<int\> = new Object.\<int\>(); myObject.Row = 22; my…

---

## [Hit testing between classes](https://forum.kirupa.com/t/hit-testing-between-classes/329961)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [November 12, 2012, 6:25pm UTC](https://forum.kirupa.com/t/hit-testing-between-classes/329961 "2012-11-12T18:25:07Z")

</div>

Hi once again my project is stuck on a hit test requirement. Basically I have a main class where the stage objects are created so theRoller = new Roller(stage); stage.addChild(theRoller); On the Stage is another movie…

---

## [Remote Shared Object](https://forum.kirupa.com/t/remote-shared-object/329960)

<div class="topic-metadata">

**Author:** [@flashnve](https://forum.kirupa.com/u/flashnve)\
**Replies:** 0\
**Last updated:** [November 12, 2012, 2:00pm UTC](https://forum.kirupa.com/t/remote-shared-object/329960 "2012-11-12T14:00:16Z")

</div>

Hello I am new to ActionScript. I have a couple of questions in regards to SharedObjects in as3. Okey, what is the difference between a persistent SharedObject and a nonPersistent SharedObject? I am trying to build a sma…

---

## [Quảng Bá website , thiết kế website](https://forum.kirupa.com/t/qu-ng-ba-website-thi-t-k-website/329959)

<div class="topic-metadata">

**Author:** [@TuanAnh09](https://forum.kirupa.com/u/TuanAnh09)\
**Replies:** 0\
**Last updated:** [November 12, 2012, 9:16am UTC](https://forum.kirupa.com/t/qu-ng-ba-website-thi-t-k-website/329959 "2012-11-12T09:16:08Z")

</div>

\*\* \[CENTER\] Chào Mừng Bạn Đến Với Webhn.net \[/CENTER\] \*\* Website trọn gói chỉ 1.200.000đ (website giá rẻ) tích hợp SEO giúp tiết kiệm được các khoản chi phí, cam kết đem lại lợi nhuận về cho doanh nghiệp. Với phươn…

---

## [Textboxes on different frames from one array](https://forum.kirupa.com/t/textboxes-on-different-frames-from-one-array/329957)

<div class="topic-metadata">

**Author:** [@sarumitai](https://forum.kirupa.com/u/sarumitai)\
**Replies:** 0\
**Last updated:** [November 12, 2012, 5:42am UTC](https://forum.kirupa.com/t/textboxes-on-different-frames-from-one-array/329957 "2012-11-12T05:42:34Z")

</div>

I have a concentration style game where each thing pulls from a different frame. That works fine. Rather than constantly changing each frame I want to have an array one the first frame and have each textbox be populate…

---

## [Google Maps/XML problem](https://forum.kirupa.com/t/google-maps-xml-problem/329955)

<div class="topic-metadata">

**Author:** [@feelgoodinc426](https://forum.kirupa.com/u/feelgoodinc426)\
**Replies:** 0\
**Last updated:** [November 12, 2012, 3:51am UTC](https://forum.kirupa.com/t/google-maps-xml-problem/329955 "2012-11-12T03:51:34Z")

</div>

I've built a flash application for school using Google Maps, as well as parsing two XML files. The problem is, when I test out my application locally (ctrl+enter), it all works fine. However, when I publish the program, …

---

## [Typing lag in Vista Ultimate with CS5+, Not XP SP2](https://forum.kirupa.com/t/typing-lag-in-vista-ultimate-with-cs5-not-xp-sp2/329954)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [November 12, 2012, 3:38am UTC](https://forum.kirupa.com/t/typing-lag-in-vista-ultimate-with-cs5-not-xp-sp2/329954 "2012-11-12T03:38:53Z")

</div>

I just upgraded my PC to Vista Ultimate SP2 again and the typing lag in class files in Flash CS5.5 and CS6 is hellish... In a file beyond two pages it's ridiculous! I just remembered why I downgraded to windows XP SP2 …

---

## [Rotation and Move a movieclip](https://forum.kirupa.com/t/rotation-and-move-a-movieclip/329951)

<div class="topic-metadata">

**Author:** [@FJW](https://forum.kirupa.com/u/FJW)\
**Replies:** 0\
**Last updated:** [November 11, 2012, 12:55pm UTC](https://forum.kirupa.com/t/rotation-and-move-a-movieclip/329951 "2012-11-11T12:55:20Z")

</div>

Hi I am trying to create a simple 'rotate and move to the left, STOP, rotate and move to the right animation. The function I have works in that the clip rotates and moves to the left and stops at -100. It never reverses …

---

## [Problem with in game action](https://forum.kirupa.com/t/problem-with-in-game-action/329947)

<div class="topic-metadata">

**Author:** [@Dave\_Whalen](https://forum.kirupa.com/u/Dave_Whalen)\
**Replies:** 0\
**Last updated:** [November 11, 2012, 4:53am UTC](https://forum.kirupa.com/t/problem-with-in-game-action/329947 "2012-11-11T04:53:54Z")

</div>

OK my game is below (yes i am just starting) so my problem is when you pick up the key in room 1 and go to room 2 the key disappears from your inventory slot and goes back onto the floor in room 1. It is supposed to (if …

---

## [Issue with visibiliy of dynamic text and hyperlinks](https://forum.kirupa.com/t/issue-with-visibiliy-of-dynamic-text-and-hyperlinks/329942)

<div class="topic-metadata">

**Author:** [@Karim\_Bizid](https://forum.kirupa.com/u/Karim_Bizid)\
**Replies:** 0\
**Last updated:** [November 10, 2012, 8:28pm UTC](https://forum.kirupa.com/t/issue-with-visibiliy-of-dynamic-text-and-hyperlinks/329942 "2012-11-10T20:28:39Z")

</div>

Hi everyone, It's been way back since I've build Flash site's, but the project I've just started seemed so easy... Scenario: I've made a AS which simply reads the last 5 tweets from Twitter and shows them in Flash. …

---

## [How do I create a "Terms of Agreement" checkbox/submit button?](https://forum.kirupa.com/t/how-do-i-create-a-terms-of-agreement-checkbox-submit-button/329941)

<div class="topic-metadata">

**Author:** [@mrhines1](https://forum.kirupa.com/u/mrhines1)\
**Replies:** 0\
**Last updated:** [November 10, 2012, 8:25pm UTC](https://forum.kirupa.com/t/how-do-i-create-a-terms-of-agreement-checkbox-submit-button/329941 "2012-11-10T20:25:37Z")

</div>

I would like to set up a page that has a submit button that is not clickable until a "Terms of Agreement" checkbox is selected but I am having trouble finding out how to go about it. Any ideas? Thanks!

---

## [Help me to translate into looping](https://forum.kirupa.com/t/help-me-to-translate-into-looping/329939)

<div class="topic-metadata">

**Author:** [@Azry\_Syafiqah](https://forum.kirupa.com/u/Azry_Syafiqah)\
**Replies:** 0\
**Last updated:** [November 10, 2012, 12:36pm UTC](https://forum.kirupa.com/t/help-me-to-translate-into-looping/329939 "2012-11-10T12:36:55Z")

</div>

Hi there, I need help on this following syntax to translate it into looping, as I will use it for a lot more movie clips. Please help me. Urgent T\_T var xPos:int; var yPos:int; var xPosK:int; var yPosK:int; nextbtn.v…

---

## [Help with removing items from list](https://forum.kirupa.com/t/help-with-removing-items-from-list/329938)

<div class="topic-metadata">

**Author:** [@jockey\_zone](https://forum.kirupa.com/u/jockey_zone)\
**Replies:** 0\
**Last updated:** [November 10, 2012, 11:00am UTC](https://forum.kirupa.com/t/help-with-removing-items-from-list/329938 "2012-11-10T11:00:11Z")

</div>

Hi Everyone, Please I need a help with my problem i'm making a time report app for workers in my company"Air Desktop App" the user choose his work shift and after choosing a list with names appears and he can delete t…

---

## [Saving files in Zend CE](https://forum.kirupa.com/t/saving-files-in-zend-ce/329937)

<div class="topic-metadata">

**Author:** [@drstardust](https://forum.kirupa.com/u/drstardust)\
**Replies:** 0\
**Last updated:** [November 10, 2012, 10:51am UTC](https://forum.kirupa.com/t/saving-files-in-zend-ce/329937 "2012-11-10T10:51:02Z")

</div>

Hi, I was wondering if anyone could help me with saving files in Zend CE? When I try to save to the root directory, I get a message saying that that pathname doesn't exist. I've tried several different variations, based …

---

## [MultiResolution App](https://forum.kirupa.com/t/multiresolution-app/329935)

<div class="topic-metadata">

**Author:** [@feap](https://forum.kirupa.com/u/feap)\
**Replies:** 0\
**Last updated:** [November 9, 2012, 9:07pm UTC](https://forum.kirupa.com/t/multiresolution-app/329935 "2012-11-09T21:07:14Z")

</div>

Hi guys, This is my first thread on kirupa.com and i would like to thank to everyone contributing to that great forum. Im working on a multidevice supported (multiresolution) project, however, changing the stage's w…

---

## [Unable to play the current frame actionscript 3](https://forum.kirupa.com/t/unable-to-play-the-current-frame-actionscript-3/329934)

<div class="topic-metadata">

**Author:** [@Azry\_Syafiqah](https://forum.kirupa.com/u/Azry_Syafiqah)\
**Replies:** 0\
**Last updated:** [November 9, 2012, 8:41pm UTC](https://forum.kirupa.com/t/unable-to-play-the-current-frame-actionscript-3/329934 "2012-11-09T20:41:54Z")

</div>

Hi, I have a problem on playing the current frame. which means to replay the frame. I have need to play back the frame 5, however it end up on playing the frame 6 which is the next frame. I couldnt brain this as I am stu…

---

## [AS3 'drawPath' simple triangle not drawing correctly - why?](https://forum.kirupa.com/t/as3-drawpath-simple-triangle-not-drawing-correctly-why/329932)

<div class="topic-metadata">

**Author:** [@Flivor2012](https://forum.kirupa.com/u/Flivor2012)\
**Replies:** 0\
**Last updated:** [November 9, 2012, 3:16pm UTC](https://forum.kirupa.com/t/as3-drawpath-simple-triangle-not-drawing-correctly-why/329932 "2012-11-09T15:16:19Z")

</div>

I want to draw a simple triangle in ActionScript 3. I use the 'drawPath' method of 'Graphics' class. here is the code snippet: stage.stage.quality = StageQuality.LOW; // Change quality to low so no anti-al…

---

## [Tutorial: Checking If a File Exists!](https://forum.kirupa.com/t/tutorial-checking-if-a-file-exists/329931)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [November 9, 2012, 8:14am UTC](https://forum.kirupa.com/t/tutorial-checking-if-a-file-exists/329931 "2012-11-09T08:14:03Z")

</div>

\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#3333…

---

## [addChild() does not work for a button within a class](https://forum.kirupa.com/t/addchild-does-not-work-for-a-button-within-a-class/329930)

<div class="topic-metadata">

**Author:** [@Yo\_Rikas](https://forum.kirupa.com/u/Yo_Rikas)\
**Replies:** 0\
**Last updated:** [November 9, 2012, 5:08am UTC](https://forum.kirupa.com/t/addchild-does-not-work-for-a-button-within-a-class/329930 "2012-11-09T05:08:11Z")

</div>

Hi I'm trying to build a simple slot machine. I've made a class SlotMachine, a class SlotReel. I create the reels instances inside the SlotMachine class and they appear on stage. But when I try to add a button it won't…

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

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