# programming

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

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

**Page:** 934

---

## [How may I change the variable from var1 to var2 in the parent MC?](https://forum.kirupa.com/t/how-may-i-change-the-variable-from-var1-to-var2-in-the-parent-mc/280951)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 11:08am UTC](https://forum.kirupa.com/t/how-may-i-change-the-variable-from-var1-to-var2-in-the-parent-mc/280951 "2009-02-03T11:08:27Z")

</div>

I must admit... I am not programming with classes - mainly because I've bought somescripts online and did not manage to modify them into classes since I'm of the victoms of AS3's learning curve! I've created a tab men…

---

## [Sectioning an XML output (using E4x?)](https://forum.kirupa.com/t/sectioning-an-xml-output-using-e4x/280950)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 10:38am UTC](https://forum.kirupa.com/t/sectioning-an-xml-output-using-e4x/280950 "2009-02-03T10:38:41Z")

</div>

Hello I am displaying the followinf XML in the output window using trace: \</profile\> \<profile quote="&quot;The EPT Prague was pretty amazing for me!&quot;"\> \<xpos\>3\</xpos\> \<ypos\>-49\</ypos\> \<profilename\>Nasr El…

---

## [\_root replacement / javascript to ActionScript](https://forum.kirupa.com/t/-root-replacement-javascript-to-actionscript/280949)

<div class="topic-metadata">

**Author:** [@MaGiCpt](https://forum.kirupa.com/u/MaGiCpt)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 10:36am UTC](https://forum.kirupa.com/t/-root-replacement-javascript-to-actionscript/280949 "2009-02-03T10:36:07Z")

</div>

Howdy, Im having a little problem making javascript communicate with actionScript, perhaps some expert advice might help me \[stuck\_out\_tongue\] Here is the problem, i have a application that uses javascript to comm…

---

## [Sending CSV file](https://forum.kirupa.com/t/sending-csv-file/280946)

<div class="topic-metadata">

**Author:** [@stedem](https://forum.kirupa.com/u/stedem)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:34am UTC](https://forum.kirupa.com/t/sending-csv-file/280946 "2009-02-03T08:34:53Z")

</div>

Hi, I have a working php page that hides a real location of a pdf file and then sends it to the visitor. Now i want to do this with a xls or csv file header('Content-type: application/pdf'); header('Content-Disposit…

---

## [AS2 - throw / friction / snap](https://forum.kirupa.com/t/as2-throw-friction-snap/280944)

<div class="topic-metadata">

**Author:** [@Pixeljunkie](https://forum.kirupa.com/u/Pixeljunkie)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:27am UTC](https://forum.kirupa.com/t/as2-throw-friction-snap/280944 "2009-02-03T08:27:37Z")

</div>

I'm stuck trying to achieve something in AS2. The principle is easy: the user can drag/throw a timeline (with thumbnails) around, but I want it to snap to certain positions. I've created an example to show what I need Y…

---

## [0 arguments expected?](https://forum.kirupa.com/t/0-arguments-expected/280943)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:05am UTC](https://forum.kirupa.com/t/0-arguments-expected/280943 "2009-02-03T08:05:56Z")

</div>

Hello, Does anyone know why this code: var subPoints:Point = new Point(subObject.x, subObject.y); is generating this error? 1136: Incorrect number of arguments. Expected 0.

---

## [TypeError: Error #1009: Cannot access a property or method of a null object referenc](https://forum.kirupa.com/t/typeerror-error-1009-cannot-access-a-property-or-method-of-a-null-object-referenc/280942)

<div class="topic-metadata">

**Author:** [@thedark\_master](https://forum.kirupa.com/u/thedark_master)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:16am UTC](https://forum.kirupa.com/t/typeerror-error-1009-cannot-access-a-property-or-method-of-a-null-object-referenc/280942 "2009-02-03T07:16:00Z")

</div>

It appears when I click the Next button on the window with the likert scale. I have no idea why its giving this error. Please help TypeError: Error #1009: Cannot access a property or method of a null object reference…

---

## [Myspace problem (big image)](https://forum.kirupa.com/t/myspace-problem-big-image/280940)

<div class="topic-metadata">

**Author:** [@Zondasc12](https://forum.kirupa.com/u/Zondasc12)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 6:25am UTC](https://forum.kirupa.com/t/myspace-problem-big-image/280940 "2009-02-03T06:25:50Z")

</div>

Ok this isn’t as much of a flash issue but I can’t figure out why the page loads this way. For those that can’t see the image when myspace loads it automatically has the typing indicator on the search bar so if one of my…

---

## [Drop-Down Menus & MySQL/PHP](https://forum.kirupa.com/t/drop-down-menus-mysql-php/280934)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 4:23am UTC](https://forum.kirupa.com/t/drop-down-menus-mysql-php/280934 "2009-02-03T04:23:56Z")

</div>

Hi there, I am trying to create drop-down menu in HTML so that when I hit submit on the form, the PHP tells the value selected to send that value into the database. I have been searching all over for this and can't se…

---

## [Problem found on creating elements dynamically in a “for” loop](https://forum.kirupa.com/t/problem-found-on-creating-elements-dynamically-in-a-for-loop/280930)

<div class="topic-metadata">

**Author:** [@Paradise\_Wolf](https://forum.kirupa.com/u/Paradise_Wolf)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 3:20am UTC](https://forum.kirupa.com/t/problem-found-on-creating-elements-dynamically-in-a-for-loop/280930 "2009-02-03T03:20:08Z")

</div>

I would be grateful if a host could delete this post. It is late in the night, I am quite sleepy and I posted in the wrong place.

---

## [Flash website resize according to browser's size](https://forum.kirupa.com/t/flash-website-resize-according-to-browsers-size/280929)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 3:13am UTC](https://forum.kirupa.com/t/flash-website-resize-according-to-browsers-size/280929 "2009-02-03T03:13:45Z")

</div>

Hi, I've searched google and kirupa but I haven't managed to find anything. How do I get the website to change it's size according to the browser's size? and Have a max and min size the site can resize to? Thanks …

---

## [Access attribute values via variable name](https://forum.kirupa.com/t/access-attribute-values-via-variable-name/280928)

<div class="topic-metadata">

**Author:** [@j1mb0](https://forum.kirupa.com/u/j1mb0)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 2:38am UTC](https://forum.kirupa.com/t/access-attribute-values-via-variable-name/280928 "2009-02-03T02:38:35Z")

</div>

Hi, I have a flex app where I need to be able to access and modify component attributes using variable names. eg, say I want to edit the text attributes of text label. I am not sure what object or attribute will…

---

## [Java tweening engine](https://forum.kirupa.com/t/java-tweening-engine/280923)

<div class="topic-metadata">

**Author:** [@Dom\_1](https://forum.kirupa.com/u/Dom_1)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 12:51am UTC](https://forum.kirupa.com/t/java-tweening-engine/280923 "2009-02-03T00:51:20Z")

</div>

Hi all, does anyone know about any tweening engine for Java ? Google kind of let me down on this one. I don't think there are any tweening engine for Java, but I can always live and hope. thx

---

## [How to getURL an addressbarless window?](https://forum.kirupa.com/t/how-to-geturl-an-addressbarless-window/280922)

<div class="topic-metadata">

**Author:** [@Roboman](https://forum.kirupa.com/u/Roboman)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 12:50am UTC](https://forum.kirupa.com/t/how-to-geturl-an-addressbarless-window/280922 "2009-02-03T00:50:04Z")

</div>

Hey all, From Flash, I'd like to launch a new browser window just like getURL() does, but I've had some trouble finding a way to make the new window addressbar-less. I'd like it so you click a button in flash and it po…

---

## [Dynamic textfield in button not displaying](https://forum.kirupa.com/t/dynamic-textfield-in-button-not-displaying/280917)

<div class="topic-metadata">

**Author:** [@John\_Barbarossa](https://forum.kirupa.com/u/John_Barbarossa)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 11:35pm UTC](https://forum.kirupa.com/t/dynamic-textfield-in-button-not-displaying/280917 "2009-02-02T23:35:21Z")

</div>

Hello I have a dynamic textfield, which is supposed to sit inside a button and call a variable from an array, but for some reason, it doesn't want to work. I've attached it, but I'll put the code here too, as it's quit…

---

## [Number type acting whacky... storing incorrect number](https://forum.kirupa.com/t/number-type-acting-whacky-storing-incorrect-number/280916)

<div class="topic-metadata">

**Author:** [@sberry2a](https://forum.kirupa.com/u/sberry2a)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 11:17pm UTC](https://forum.kirupa.com/t/number-type-acting-whacky-storing-incorrect-number/280916 "2009-02-02T23:17:27Z")

</div>

Can someone please explain this... var i:Number = 7059467160524343000; trace(i); i = 7059467160524343700; trace(i); i = 7059467160524343999; trace(i); i = 7059467160524344000; trace(i); i = 7059467160524344001; trace(i…

---

## [Creating a glowing, animated abstract shape](https://forum.kirupa.com/t/creating-a-glowing-animated-abstract-shape/280915)

<div class="topic-metadata">

**Author:** [@acketon](https://forum.kirupa.com/u/acketon)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 11:05pm UTC](https://forum.kirupa.com/t/creating-a-glowing-animated-abstract-shape/280915 "2009-02-02T23:05:57Z")

</div>

Hi everyone, I need to look into creating a kind of abstract glowing effect. It is used a lot in templates on Template Monster.com such as these: http://www.templatemonster.com/flash-templates/22700.html http://www.t…

---

## [Elastic menu component works in test but not in publish](https://forum.kirupa.com/t/elastic-menu-component-works-in-test-but-not-in-publish/280914)

<div class="topic-metadata">

**Author:** [@justlizzay](https://forum.kirupa.com/u/justlizzay)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:59pm UTC](https://forum.kirupa.com/t/elastic-menu-component-works-in-test-but-not-in-publish/280914 "2009-02-02T22:59:44Z")

</div>

I purchased an elastic menu flash component that uses AS3. Unfortunately, I've only just waded into AS2. I'm trying to replace the generic colored background with an image that is masked. Unfortunately, turning the lay…

---

## [Hiding from mouse events?](https://forum.kirupa.com/t/hiding-from-mouse-events/280913)

<div class="topic-metadata">

**Author:** [@Brent\_Summers](https://forum.kirupa.com/u/Brent_Summers)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:55pm UTC](https://forum.kirupa.com/t/hiding-from-mouse-events/280913 "2009-02-02T22:55:55Z")

</div>

I am building an interactive map and have run into a very interesting problem. After adding a floating cloud layer on top of the map all the elements below the cloud layer are inaccessible as the cloud layer is the onl…

---

## [Mail Form Issue](https://forum.kirupa.com/t/mail-form-issue/280912)

<div class="topic-metadata">

**Author:** [@DarkLogan](https://forum.kirupa.com/u/DarkLogan)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:52pm UTC](https://forum.kirupa.com/t/mail-form-issue/280912 "2009-02-02T22:52:52Z")

</div>

I built a website in flash. I added a place where ppl can type a msg and click send and it would send that msg to my email simple enough right. Well then I learned that its a php script/file that i need to make it work. …

---

## [Using sub-domains for webpage instead of the usual /](https://forum.kirupa.com/t/using-sub-domains-for-webpage-instead-of-the-usual/280911)

<div class="topic-metadata">

**Author:** [@Utech22](https://forum.kirupa.com/u/Utech22)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:48pm UTC](https://forum.kirupa.com/t/using-sub-domains-for-webpage-instead-of-the-usual/280911 "2009-02-02T22:48:48Z")

</div>

I want to get some thoughts on : \[LIST\] \[\*\]using sub domain for web pages - eg. http://aboutus.site.com, http://home.site.com \[\*\]using the usual / - eg. www.site.com/aboutus.php, www.site.com/home.php \[/LIST\] I want to…

---

## [Anchor Links with Safari](https://forum.kirupa.com/t/anchor-links-with-safari/280909)

<div class="topic-metadata">

**Author:** [@jbig](https://forum.kirupa.com/u/jbig)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:43pm UTC](https://forum.kirupa.com/t/anchor-links-with-safari/280909 "2009-02-02T22:43:47Z")

</div>

I'm having trouble making my anchor links work in Safari (both FF and IE work fine). I have a few PHP pages with a list of school classes, each with unique IDs. For example, I have a page for the beginning classes, anoth…

---

## [MS Outlook - New Meeting Request](https://forum.kirupa.com/t/ms-outlook-new-meeting-request/280907)

<div class="topic-metadata">

**Author:** [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:34pm UTC](https://forum.kirupa.com/t/ms-outlook-new-meeting-request/280907 "2009-02-02T22:34:26Z")

</div>

This is an odd question for Kirupa, I know... But, does anybody know if it's possible to send a new meeting request to an Outlook user from outside of outlook itself? To explain: I'm working on a project management pro…

---

## [Convert back to cs3 form cs4](https://forum.kirupa.com/t/convert-back-to-cs3-form-cs4/280905)

<div class="topic-metadata">

**Author:** [@BIGCURT](https://forum.kirupa.com/u/BIGCURT)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:20pm UTC](https://forum.kirupa.com/t/convert-back-to-cs3-form-cs4/280905 "2009-02-02T22:20:56Z")

</div>

I have Flash CS4 but my school has CS3, i did a project in CS4 brought it to the school and the file will not open, what sould i do about this? :q: How do i change the file format? The error message was unable to open fi…

---

## [XML? AS question](https://forum.kirupa.com/t/xml-as-question/280903)

<div class="topic-metadata">

**Author:** [@jxmckenzie](https://forum.kirupa.com/u/jxmckenzie)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:05pm UTC](https://forum.kirupa.com/t/xml-as-question/280903 "2009-02-02T22:05:16Z")

</div>

I am building a simple photo slideshow and I need to create a way for the client to remove and add photos to it (w/o opening and editing the .fla). Can this be done with XML? Where I use a small line of script to call …

---

## [How to Remove these Event Listeners](https://forum.kirupa.com/t/how-to-remove-these-event-listeners/280901)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 10:02pm UTC](https://forum.kirupa.com/t/how-to-remove-these-event-listeners/280901 "2009-02-02T22:02:52Z")

</div>

I've placed listeners on the var "topic\_mc" (below), but I'm not sure how to remove them properly: private function layoutTopics(modNum:Number, attachTo:MovieClip):void { topicLength = MainMenu.mod…

---

## [Animating jpeg/flickering](https://forum.kirupa.com/t/animating-jpeg-flickering/280900)

<div class="topic-metadata">

**Author:** [@mcstefan](https://forum.kirupa.com/u/mcstefan)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 9:58pm UTC](https://forum.kirupa.com/t/animating-jpeg-flickering/280900 "2009-02-02T21:58:06Z")

</div>

Hi, everyone. This is driving me mad, so I hope somebody understand this better than me. I have a movieclip (which contains a jpg that's twice as wide as the stage) that I'm moving across the stage (x-direction, with…

---

## [Utter Frustration With Papervision3D](https://forum.kirupa.com/t/utter-frustration-with-papervision3d/280898)

<div class="topic-metadata">

**Author:** [@NotSatoshi](https://forum.kirupa.com/u/NotSatoshi)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 9:31pm UTC](https://forum.kirupa.com/t/utter-frustration-with-papervision3d/280898 "2009-02-02T21:31:06Z")

</div>

I followed all the tutorials I could find for Papervision3D, both for Flash and Flex, and I always get compilation errors. I followed all the instructions from the very beginning, and nothing ever works. The examples g…

---

## [Delete a tween after use](https://forum.kirupa.com/t/delete-a-tween-after-use/280897)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 9:15pm UTC](https://forum.kirupa.com/t/delete-a-tween-after-use/280897 "2009-02-02T21:15:11Z")

</div>

I'm just learning about the Tween class and it's going fine. However I have a case where I want a tween to run one time and then become inactive. I have an airphoto which the user can click anywhere to zoom in on and usi…

---

## [Lading data from txt file shows undefined?](https://forum.kirupa.com/t/lading-data-from-txt-file-shows-undefined/280893)

<div class="topic-metadata">

**Author:** [@gunko2](https://forum.kirupa.com/u/gunko2)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 7:53pm UTC](https://forum.kirupa.com/t/lading-data-from-txt-file-shows-undefined/280893 "2009-02-02T19:53:21Z")

</div>

Hi, I have this little code, just loading text from a file, but as the title says, the variable s seams to remain unchanged :S var s:String; var loadText:LoadVars = new LoadVars(); loadText.onData = function(thisIsATe…

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

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