# programming

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

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

**Page:** 103

---

## [ASIII Buttons help](https://forum.kirupa.com/t/asiii-buttons-help/332141)

<div class="topic-metadata">

**Author:** [@chevron8669](https://forum.kirupa.com/u/chevron8669)\
**Replies:** 0\
**Last updated:** [February 13, 2014, 2:21pm UTC](https://forum.kirupa.com/t/asiii-buttons-help/332141 "2014-02-13T14:21:32Z")

</div>

Hi guy's I was wondering if I could get some help with AS-III, I am learning the changes from AS-II to III and I am having trouble with how they have changed the button targeting. Targeting a button on the main timeline …

---

## [Flash CS5.5 AS2 Key question](https://forum.kirupa.com/t/flash-cs5-5-as2-key-question/332140)

<div class="topic-metadata">

**Author:** [@keiwoo1](https://forum.kirupa.com/u/keiwoo1)\
**Replies:** 0\
**Last updated:** [February 13, 2014, 3:10am UTC](https://forum.kirupa.com/t/flash-cs5-5-as2-key-question/332140 "2014-02-13T03:10:25Z")

</div>

onClipEvent (enterFrame) { if (Key.isDown(65)) { this.gotoAndStop("attack1"); The problem is, when i press letter "a" (key.isDown(65)"" it will animate "attack1" but it will not finish the animation unless i hold th…

---

## [I'm not getting any errors, but i'm making a trivia game](https://forum.kirupa.com/t/im-not-getting-any-errors-but-im-making-a-trivia-game/332139)

<div class="topic-metadata">

**Author:** [@coldkevin2](https://forum.kirupa.com/u/coldkevin2)\
**Replies:** 0\
**Last updated:** [February 13, 2014, 1:10am UTC](https://forum.kirupa.com/t/im-not-getting-any-errors-but-im-making-a-trivia-game/332139 "2014-02-13T01:10:42Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I'm not getting any errors, but i'm making a trivia game (Specifically a free answer section) In the stage, there is an input textbox, and a button. I'm trying to make it so that a user could t…

---

## [SVG Scripting Help Needed](https://forum.kirupa.com/t/svg-scripting-help-needed/332135)

<div class="topic-metadata">

**Author:** [@Xeopuppy](https://forum.kirupa.com/u/Xeopuppy)\
**Replies:** 0\
**Last updated:** [February 12, 2014, 2:19pm UTC](https://forum.kirupa.com/t/svg-scripting-help-needed/332135 "2014-02-12T14:19:00Z")

</div>

Hi All, I'm trying to write an SVG script for my site, I want to press a button, which is a gradient circle and the XML code is in my HTML file, between an \<article\> tag, the SVG has an ID tag called Button, there is a…

---

## [Inheritance issues inside package](https://forum.kirupa.com/t/inheritance-issues-inside-package/332131)

<div class="topic-metadata">

**Author:** [@FatWednesday](https://forum.kirupa.com/u/FatWednesday)\
**Replies:** 0\
**Last updated:** [February 12, 2014, 12:06am UTC](https://forum.kirupa.com/t/inheritance-issues-inside-package/332131 "2014-02-12T00:06:51Z")

</div>

Hello folks of Kirupa. Putting together some classes for a project using Flash CS5 and FlashDevelop(for script editing). At first the classes were all just in the root folder with the fla file, none using a specific pa…

---

## [String null vs. ""](https://forum.kirupa.com/t/string-null-vs/332130)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [February 10, 2014, 6:57pm UTC](https://forum.kirupa.com/t/string-null-vs/332130 "2014-02-10T18:57:08Z")

</div>

The difference between null and "" for a string? Meaning: var str:String = null; var str:String = "";

---

## [applyFilter vs filters = \[array\] performance](https://forum.kirupa.com/t/applyfilter-vs-filters-array-performance/332128)

<div class="topic-metadata">

**Author:** [@NiallTL](https://forum.kirupa.com/u/NiallTL)\
**Replies:** 0\
**Last updated:** [February 9, 2014, 11:22pm UTC](https://forum.kirupa.com/t/applyfilter-vs-filters-array-performance/332128 "2014-02-09T23:22:28Z")

</div>

Hello! I've been working on a project that uses a bitmapdata with a few filters applied to it. As my BitmapData is cleared at each step of an enterFrame event, I need to re-apply each individual filter to it using applyF…

---

## [Referencing multiple movieclips with similar instance names](https://forum.kirupa.com/t/referencing-multiple-movieclips-with-similar-instance-names/332124)

<div class="topic-metadata">

**Author:** [@cyanampersand](https://forum.kirupa.com/u/cyanampersand)\
**Replies:** 0\
**Last updated:** [February 8, 2014, 4:04pm UTC](https://forum.kirupa.com/t/referencing-multiple-movieclips-with-similar-instance-names/332124 "2014-02-08T16:04:48Z")

</div>

I have a player movieclip and six obstacle movieclips with instance names "obs1", "obs2", up to "obs6". If the player hits any of the obstacles, the variable dead is set to true. The code I have at the moment is: if (…

---

## [Easier way to target an XML element](https://forum.kirupa.com/t/easier-way-to-target-an-xml-element/332122)

<div class="topic-metadata">

**Author:** [@aidanmack](https://forum.kirupa.com/u/aidanmack)\
**Replies:** 0\
**Last updated:** [February 7, 2014, 12:11pm UTC](https://forum.kirupa.com/t/easier-way-to-target-an-xml-element/332122 "2014-02-07T12:11:15Z")

</div>

Hi, Im using a for statment to run through the "event" items in the below xml. If I was looking for the event that's time was "morning" I would create an if statment in the for statment to look for it. Is their an easi…

---

## [What's the event listener?](https://forum.kirupa.com/t/whats-the-event-listener/332119)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [February 6, 2014, 7:03pm UTC](https://forum.kirupa.com/t/whats-the-event-listener/332119 "2014-02-06T19:03:29Z")

</div>

Say I have the following Class structure: Demo ...Manager ......Console .........Child1 .........Child2 .........Child3 ............Grandchi…

---

## [Cross Device Resume](https://forum.kirupa.com/t/cross-device-resume/332118)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [February 5, 2014, 8:38pm UTC](https://forum.kirupa.com/t/cross-device-resume/332118 "2014-02-05T20:38:06Z")

</div>

Hey All, I've been doing a little research on a new feature "cross device resume" and I'm trying to figure out how possible this is to implement. If a user is watching a video on a site, and they pause it, then later…

---

## [Does it make sense to keep BitmapData globaly locked](https://forum.kirupa.com/t/does-it-make-sense-to-keep-bitmapdata-globaly-locked/332116)

<div class="topic-metadata">

**Author:** [@psykovsky](https://forum.kirupa.com/u/psykovsky)\
**Replies:** 0\
**Last updated:** [February 4, 2014, 10:49pm UTC](https://forum.kirupa.com/t/does-it-make-sense-to-keep-bitmapdata-globaly-locked/332116 "2014-02-04T22:49:44Z")

</div>

\[FONT=georgia\]Hello, I'm making an app that applies various effects on live cam feed - that's a lot of BitmapData manipulations. So my question is - does it make sense to lock all BitmapData objects that never show on th…

---

## [Save the coordinates position of a child](https://forum.kirupa.com/t/save-the-coordinates-position-of-a-child/332114)

<div class="topic-metadata">

**Author:** [@Stephan\_Berger](https://forum.kirupa.com/u/Stephan_Berger)\
**Replies:** 0\
**Last updated:** [February 4, 2014, 10:51am UTC](https://forum.kirupa.com/t/save-the-coordinates-position-of-a-child/332114 "2014-02-04T10:51:48Z")

</div>

Hi all, I've got these functions : private function onEmptySpaceClicked(e:MouseEvent):void{ var myVar = e.currentTarget.name; if (e.currentTarget.name == "ES1"){ trace("click on one"); clickPuzzles.cl…

---

## [Number of times downloaded](https://forum.kirupa.com/t/number-of-times-downloaded/332112)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [February 3, 2014, 10:56am UTC](https://forum.kirupa.com/t/number-of-times-downloaded/332112 "2014-02-03T10:56:56Z")

</div>

Hi guys ... I have files on my web address that I want to keep track how many times these files are downloaded. Tried looking google but keeps coming up with speed check rubbish. Any help greatly appreciated Steven

---

## [Vertical Scrollbar missing in Firefox for Flash 8 website](https://forum.kirupa.com/t/vertical-scrollbar-missing-in-firefox-for-flash-8-website/332111)

<div class="topic-metadata">

**Author:** [@zodiacc](https://forum.kirupa.com/u/zodiacc)\
**Replies:** 0\
**Last updated:** [February 2, 2014, 12:01am UTC](https://forum.kirupa.com/t/vertical-scrollbar-missing-in-firefox-for-flash-8-website/332111 "2014-02-02T00:01:58Z")

</div>

Hi, I have a website that I designed in Flash 8 (AS2) but when I upload the files onto the web the vertical scrollbar is missing in Firefox. I had fixed this problem before by linking the HTML file created by Flash to a …

---

## [How to get localStorage value from other domain](https://forum.kirupa.com/t/how-to-get-localstorage-value-from-other-domain/332109)

<div class="topic-metadata">

**Author:** [@rprasaths](https://forum.kirupa.com/u/rprasaths)\
**Replies:** 0\
**Last updated:** [January 31, 2014, 6:05am UTC](https://forum.kirupa.com/t/how-to-get-localstorage-value-from-other-domain/332109 "2014-01-31T06:05:12Z")

</div>

for example i am working in localhost/abc/Load page and i am saving a value into localStorage. if i move to other work space like localhost/xyz/settings page, can i access the localstorage value which is saved in local…

---

## [How to make Hook\_mc to move along with the Rope\_mc but no change in its shape?](https://forum.kirupa.com/t/how-to-make-hook-mc-to-move-along-with-the-rope-mc-but-no-change-in-its-shape/332107)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [January 30, 2014, 3:59pm UTC](https://forum.kirupa.com/t/how-to-make-hook-mc-to-move-along-with-the-rope-mc-but-no-change-in-its-shape/332107 "2014-01-30T15:59:48Z")

</div>

Hi, I want the Hook\_mc to be attached to the Rope\_mc to it's bottom and no change in shape while increasing the Rope\_mc's height to show Industrial in action. These both MC's are grouped in Lifting\_mc. Total 3 Movie…

---

## [Boolean "false" equals true](https://forum.kirupa.com/t/boolean-false-equals-true/332106)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [January 30, 2014, 12:38pm UTC](https://forum.kirupa.com/t/boolean-false-equals-true/332106 "2014-01-30T12:38:35Z")

</div>

I have a string returned from a function and number works well, because it is possible to cast a number with Number(); But for a boolean, this seems not to work? Is it really necessary to parse the string "true" and "f…

---

## [Where I have to edit for resizing the image](https://forum.kirupa.com/t/where-i-have-to-edit-for-resizing-the-image/332104)

<div class="topic-metadata">

**Author:** [@vishalonne](https://forum.kirupa.com/u/vishalonne)\
**Replies:** 0\
**Last updated:** [January 29, 2014, 10:24pm UTC](https://forum.kirupa.com/t/where-i-have-to-edit-for-resizing-the-image/332104 "2014-01-29T22:24:38Z")

</div>

Hello I am new to actionscript. I want smaller size of captured image via webcam but I am confused where I have to edit in the below code to change the captured image. Now the image size is is 320x240 I need the images o…

---

## [Help on actionscript](https://forum.kirupa.com/t/help-on-actionscript/332103)

<div class="topic-metadata">

**Author:** [@Ruwan\_Perera](https://forum.kirupa.com/u/Ruwan_Perera)\
**Replies:** 0\
**Last updated:** [January 29, 2014, 3:35am UTC](https://forum.kirupa.com/t/help-on-actionscript/332103 "2014-01-29T03:35:11Z")

</div>

im using this actionscript code to generate fire effect on my flash ad but i want this code to disable in a frame when the ad plays, can you pls help me on this. function mover(){ this.\_y += this.speed; } function …

---

## [Proportional UV coorinate rotation problem](https://forum.kirupa.com/t/proportional-uv-coorinate-rotation-problem/332102)

<div class="topic-metadata">

**Author:** [@psykovsky](https://forum.kirupa.com/u/psykovsky)\
**Replies:** 0\
**Last updated:** [January 29, 2014, 12:21am UTC](https://forum.kirupa.com/t/proportional-uv-coorinate-rotation-problem/332102 "2014-01-29T00:21:50Z")

</div>

Hello, I’m trying to make tool to be able to select area of interest in a bitmap so that later on I could use it in other graphical and 3D manipulations. The fastest way for that, in my opinion, is adjusting the UV coor…

---

## [Best practice for adding many of the same mc's that have several buttons inside it](https://forum.kirupa.com/t/best-practice-for-adding-many-of-the-same-mcs-that-have-several-buttons-inside-it/332100)

<div class="topic-metadata">

**Author:** [@JmacUSAF](https://forum.kirupa.com/u/JmacUSAF)\
**Replies:** 0\
**Last updated:** [January 28, 2014, 9:46pm UTC](https://forum.kirupa.com/t/best-practice-for-adding-many-of-the-same-mcs-that-have-several-buttons-inside-it/332100 "2014-01-28T21:46:06Z")

</div>

Hi everyone, Before I dig deeper in this project I am doing, I am wondering if someone could help me be efficient. I have a list of names that show up from a teacher's class. As each name gets added, a corresponding …

---

## [Help needed about making a Swipe effect](https://forum.kirupa.com/t/help-needed-about-making-a-swipe-effect/332094)

<div class="topic-metadata">

**Author:** [@khoonboy](https://forum.kirupa.com/u/khoonboy)\
**Replies:** 0\
**Last updated:** [January 27, 2014, 6:56am UTC](https://forum.kirupa.com/t/help-needed-about-making-a-swipe-effect/332094 "2014-01-27T06:56:05Z")

</div>

As title said, I need to create a swipe effect for my swf file, I couldn't use the EventGesture because it doesn't support swf file. I found a good tutorial about it at http://www.emanueleferonato.com/2013/09/12/detect-s…

---

## [Facebook API - User really the user?](https://forum.kirupa.com/t/facebook-api-user-really-the-user/332093)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [January 27, 2014, 1:05am UTC](https://forum.kirupa.com/t/facebook-api-user-really-the-user/332093 "2014-01-27T01:05:19Z")

</div>

I am writing some functions for a Facebook app using the Facebook API. The function I am writing now is a function to remove a message the user has written. What I send from the client is the users ID and also the commen…

---

## [Action Script 3 - timeline skipping action](https://forum.kirupa.com/t/action-script-3-timeline-skipping-action/332091)

<div class="topic-metadata">

**Author:** [@c0077](https://forum.kirupa.com/u/c0077)\
**Replies:** 0\
**Last updated:** [January 25, 2014, 11:11am UTC](https://forum.kirupa.com/t/action-script-3-timeline-skipping-action/332091 "2014-01-25T11:11:32Z")

</div>

Hi. I have a problem with my code. I want to make a home page and another 3 pages ( 1,2,3 ). When I click from home page to page 1, the prev-next arrows are working but if I want to jump from home page to page 2 or 3, …

---

## [Need some help with a scale map of the solar system](https://forum.kirupa.com/t/need-some-help-with-a-scale-map-of-the-solar-system/332090)

<div class="topic-metadata">

**Author:** [@misterjworth](https://forum.kirupa.com/u/misterjworth)\
**Replies:** 0\
**Last updated:** [January 24, 2014, 11:08pm UTC](https://forum.kirupa.com/t/need-some-help-with-a-scale-map-of-the-solar-system/332090 "2014-01-24T23:08:36Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]I’m working on a scale map of the solar system (just for fun) and I’m pretty far along, but I’m trying to implement a feature that’s a little over my head. I was hoping someone smarter might ha…

---

## [Blitting Vector Objects?](https://forum.kirupa.com/t/blitting-vector-objects/332088)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [January 23, 2014, 3:16pm UTC](https://forum.kirupa.com/t/blitting-vector-objects/332088 "2014-01-23T15:16:54Z")

</div>

Hi Everyone, I have recently been looking into blitting, and from what I understand is that you draw all your objects onto a single bitmap and then display only that bitmap (like painting on a canvas). In the past I have…

---

## [Sync scrollpanes?](https://forum.kirupa.com/t/sync-scrollpanes/332085)

<div class="topic-metadata">

**Author:** [@JmacUSAF](https://forum.kirupa.com/u/JmacUSAF)\
**Replies:** 0\
**Last updated:** [January 22, 2014, 11:21pm UTC](https://forum.kirupa.com/t/sync-scrollpanes/332085 "2014-01-22T23:21:39Z")

</div>

Totally crazy question. Can you sync 2 different scrollpanes? Like if you scroll down on one, the other scrolls down with it? Or is there another way to do that without using panes? Trying to scroll down a list of…

---

## [Problem With .as3 Guestbook Code](https://forum.kirupa.com/t/problem-with-as3-guestbook-code/332084)

<div class="topic-metadata">

**Author:** [@jimmyb29](https://forum.kirupa.com/u/jimmyb29)\
**Replies:** 0\
**Last updated:** [January 21, 2014, 11:16pm UTC](https://forum.kirupa.com/t/problem-with-as3-guestbook-code/332084 "2014-01-21T23:16:08Z")

</div>

Hi, I'm a newbie and, at the same time, an OLD person! I've built a website and purchased a downloaded Guestbook. I keep getting an .as3 error when I try to debug it in Flash. Here's the first part of the code, where …

---

## [Video Object Controls](https://forum.kirupa.com/t/video-object-controls/332083)

<div class="topic-metadata">

**Author:** [@quest20](https://forum.kirupa.com/u/quest20)\
**Replies:** 0\
**Last updated:** [January 21, 2014, 2:33pm UTC](https://forum.kirupa.com/t/video-object-controls/332083 "2014-01-21T14:33:08Z")

</div>

\[TABLE\] \[TR\] \[TD="class: votecell"\] \[/TD\] \[TD="class: postcell"\]I am working with Flash Media Server. In Flash Pro. I have a video object on stage. I would like to embed and display a mute button, or a volume slider c…

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

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