# programming

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

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

**Page:** 1697

---

## [Recalling data from a pushed array](https://forum.kirupa.com/t/recalling-data-from-a-pushed-array/227511)

<div class="topic-metadata">

**Author:** [@daveyfromjersey](https://forum.kirupa.com/u/daveyfromjersey)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 10:50pm UTC](https://forum.kirupa.com/t/recalling-data-from-a-pushed-array/227511 "2007-05-30T22:50:05Z")

</div>

I must be missing something small, but it sure makes a difference. My array contains five states each with an abbreviation (abr, such as "NJ", "NY") and either enabled or disabled (hot, either "true" or "false"). When I …

---

## [Jpeg distortion](https://forum.kirupa.com/t/jpeg-distortion/227510)

<div class="topic-metadata">

**Author:** [@tsj4](https://forum.kirupa.com/u/tsj4)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 10:44pm UTC](https://forum.kirupa.com/t/jpeg-distortion/227510 "2007-05-30T22:44:17Z")

</div>

How do you smooth an image that has been slightly angled?

---

## [Adding a TextInput Component changes Sprite Height?](https://forum.kirupa.com/t/adding-a-textinput-component-changes-sprite-height/227509)

<div class="topic-metadata">

**Author:** [@BradLee](https://forum.kirupa.com/u/BradLee)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 10:28pm UTC](https://forum.kirupa.com/t/adding-a-textinput-component-changes-sprite-height/227509 "2007-05-30T22:28:36Z")

</div>

I've come across a rather puzzling (to me anyway) problem. When I try to add a TextInput component to a sprite it changes the value of the sprite's height variable to something odd. For example... package { impo…

---

## [Color difference - psd/png](https://forum.kirupa.com/t/color-difference-psd-png/227508)

<div class="topic-metadata">

**Author:** [@Felipe\_Bastos](https://forum.kirupa.com/u/Felipe_Bastos)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 10:23pm UTC](https://forum.kirupa.com/t/color-difference-psd-png/227508 "2007-05-30T22:23:55Z")

</div>

Hi everyone! Can someone explain me what happens with the colors of the pictures that I export to png and import into flash?! I use a mac and photoshop cs2. I dont understand anything about color profile. I have tried to…

---

## [ActionScript For Buttons](https://forum.kirupa.com/t/actionscript-for-buttons/227500)

<div class="topic-metadata">

**Author:** [@macmar](https://forum.kirupa.com/u/macmar)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 7:34pm UTC](https://forum.kirupa.com/t/actionscript-for-buttons/227500 "2007-05-30T19:34:13Z")

</div>

I have 7 buttons (one button is a drop down with 3 sub menus) that are located on level 200. I have movie1.swf loaded on level 10. Is there any action script that I can use for the buttons that say-- if movie1.swf is…

---

## [Resize background image to browser in scale](https://forum.kirupa.com/t/resize-background-image-to-browser-in-scale/227496)

<div class="topic-metadata">

**Author:** [@luckypp](https://forum.kirupa.com/u/luckypp)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 7:17pm UTC](https://forum.kirupa.com/t/resize-background-image-to-browser-in-scale/227496 "2007-05-30T19:17:10Z")

</div>

I am hoping that someone can give me a hand with something. I am trying to achieve an effect seen as on this website. www.viaduct.com I want to have a background image that resizes to the browser window (my other ele…

---

## [Class and listners](https://forum.kirupa.com/t/class-and-listners/227492)

<div class="topic-metadata">

**Author:** [@Fariska](https://forum.kirupa.com/u/Fariska)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 5:56pm UTC](https://forum.kirupa.com/t/class-and-listners/227492 "2007-05-30T17:56:53Z")

</div>

I'm having a problem setting some listeners in a class which extends Movie Clip class ContDisplay extends MovieClip{ //Arrays annd data repository private var images:Array; private var path:String; //Movicel…

---

## [Can a created "createEmptyMovieClip" movieclip have a rollOver state?](https://forum.kirupa.com/t/can-a-created-createemptymovieclip-movieclip-have-a-rollover-state/227489)

<div class="topic-metadata">

**Author:** [@TylerNZ](https://forum.kirupa.com/u/TylerNZ)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 5:39pm UTC](https://forum.kirupa.com/t/can-a-created-createemptymovieclip-movieclip-have-a-rollover-state/227489 "2007-05-30T17:39:33Z")

</div>

.... because I can't get it to work! var thumbBalcony:MovieClip = this.createEmptyMovieClip("thumbBalcony",this.getNextHighestDepth()+3); thumbBalcony.loadMovie("flash-balcony-small.png"); thumbBalcony.onRollOver = f…

---

## [When does one make classes?](https://forum.kirupa.com/t/when-does-one-make-classes/227488)

<div class="topic-metadata">

**Author:** [@jteow](https://forum.kirupa.com/u/jteow)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 5:38pm UTC](https://forum.kirupa.com/t/when-does-one-make-classes/227488 "2007-05-30T17:38:33Z")

</div>

I've coded in AS 2.0 for about one and half years, and migrating to AS 3.0 has been very difficult specifically because I never really dabbled in creating my own classes as my projects have very limited scopes. I unde…

---

## [I need help vertically aligning my Flash site using XHTML](https://forum.kirupa.com/t/i-need-help-vertically-aligning-my-flash-site-using-xhtml/227482)

<div class="topic-metadata">

**Author:** [@vthok](https://forum.kirupa.com/u/vthok)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 5:06pm UTC](https://forum.kirupa.com/t/i-need-help-vertically-aligning-my-flash-site-using-xhtml/227482 "2007-05-30T17:06:58Z")

</div>

http://stickeredvan.com/clients/MMP/ It validates clean for XHTML transitional but my Flash swf isnt being centered vertically in the browser window. Can someone look at my page source and let me know how I can make …

---

## [Shopping cart with flash](https://forum.kirupa.com/t/shopping-cart-with-flash/227480)

<div class="topic-metadata">

**Author:** [@3lie](https://forum.kirupa.com/u/3lie)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 4:58pm UTC](https://forum.kirupa.com/t/shopping-cart-with-flash/227480 "2007-05-30T16:58:33Z")

</div>

Hey everybody... Im working in a project that include a shop online. But the thing is that i need to know how to create something similar to this site: http://www.android8.com/ They have shopping cart for their items…

---

## [Should I be focusing on XHTML over HTML?](https://forum.kirupa.com/t/should-i-be-focusing-on-xhtml-over-html/227475)

<div class="topic-metadata">

**Author:** [@vthok](https://forum.kirupa.com/u/vthok)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 4:24pm UTC](https://forum.kirupa.com/t/should-i-be-focusing-on-xhtml-over-html/227475 "2007-05-30T16:24:46Z")

</div>

I am going thru some lynda.com lessons on XHTML (already went thru the HTML ones). My question is should all my future web projects be based on XHTML since its basically the same as HTML just stricter and from what I r…

---

## [ScrollPane Issues](https://forum.kirupa.com/t/scrollpane-issues/227473)

<div class="topic-metadata">

**Author:** [@newUser007](https://forum.kirupa.com/u/newUser007)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 4:03pm UTC](https://forum.kirupa.com/t/scrollpane-issues/227473 "2007-05-30T16:03:24Z")

</div>

I know this has been beaten to death..but I am having similar problems with the scrollpane. I read from an XML file and get the pictures onto a movie clip. now I wanna put these pictures in a scrollpane and when a user…

---

## [MouseWheel events in FireFox](https://forum.kirupa.com/t/mousewheel-events-in-firefox/227472)

<div class="topic-metadata">

**Author:** [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 3:51pm UTC](https://forum.kirupa.com/t/mousewheel-events-in-firefox/227472 "2007-05-30T15:51:32Z")

</div>

Hi! \[beer\] Is it possible to catch Flash mouseWheel events in Firefox? I know it is possible if the Wmode is set to Window, but that really screws up performance of the flash movie. I understand that Firefox has a prob…

---

## [Multiple level game preloader questions](https://forum.kirupa.com/t/multiple-level-game-preloader-questions/227471)

<div class="topic-metadata">

**Author:** [@x0b](https://forum.kirupa.com/u/x0b)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 3:44pm UTC](https://forum.kirupa.com/t/multiple-level-game-preloader-questions/227471 "2007-05-30T15:44:37Z")

</div>

Hi everyone \[smirk\] I am relatively new to flash so please bear with me! I have made a flash game that comprises of multiple .swf files which hold different levels of the game. It runs smoothly from my machine and th…

---

## [Quick question about multiple .swf game preloading](https://forum.kirupa.com/t/quick-question-about-multiple-swf-game-preloading/227468)

<div class="topic-metadata">

**Author:** [@x0b](https://forum.kirupa.com/u/x0b)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 3:34pm UTC](https://forum.kirupa.com/t/quick-question-about-multiple-swf-game-preloading/227468 "2007-05-30T15:34:58Z")

</div>

Hi everyone \[smirk\] I am relatively new to flash so please bear with me! I have made a flash game that comprises of multiple .swf files which hold different levels of the game. It runs smoothly from my machine and th…

---

## [Buttons not working / recognized?](https://forum.kirupa.com/t/buttons-not-working-recognized/227467)

<div class="topic-metadata">

**Author:** [@halian](https://forum.kirupa.com/u/halian)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 3:21pm UTC](https://forum.kirupa.com/t/buttons-not-working-recognized/227467 "2007-05-30T15:21:14Z")

</div>

Has anyone come across this? I've created a button with a rollover state and everything. Popped it on the stage and gave it an instance name of "myBtn\_btn". on root i wrote this: myBtn\_btn.onRelease = function(){ t…

---

## [Extending Kirupa's XML Menu](https://forum.kirupa.com/t/extending-kirupas-xml-menu/227466)

<div class="topic-metadata">

**Author:** [@albinus](https://forum.kirupa.com/u/albinus)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 3:07pm UTC](https://forum.kirupa.com/t/extending-kirupas-xml-menu/227466 "2007-05-30T15:07:49Z")

</div>

Alright, I've been tasked to build a menu system similar to the one on 2Advanced V5. I know, I know, don't mess with copying peoples' stuff, but my arm's being twisted to do so, by the management. :wt: I've started wi…

---

## [Calling up variables in HTML to target flash?](https://forum.kirupa.com/t/calling-up-variables-in-html-to-target-flash/227463)

<div class="topic-metadata">

**Author:** [@Darren\_E](https://forum.kirupa.com/u/Darren_E)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 2:55pm UTC](https://forum.kirupa.com/t/calling-up-variables-in-html-to-target-flash/227463 "2007-05-30T14:55:06Z")

</div>

I have a flash webpage where each "page" is called upon by a variable. var nav When you press the inventory button (labeled "Inventory") on(release){ nav = "Inventory"; gotoAndPlay(root.currentframe +1); } …

---

## [FLV end function](https://forum.kirupa.com/t/flv-end-function/227460)

<div class="topic-metadata">

**Author:** [@crowesBR](https://forum.kirupa.com/u/crowesBR)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 2:10pm UTC](https://forum.kirupa.com/t/flv-end-function/227460 "2007-05-30T14:10:30Z")

</div>

Hi people I'm having some problem with FLV when end the video. I'm trying to make a gotoandplay for exemple when my FLV finished. The problem is that I'm not using the FLV Component. If I use the component, I can…

---

## [FF12 Interactive buttons : script help](https://forum.kirupa.com/t/ff12-interactive-buttons-script-help/227458)

<div class="topic-metadata">

**Author:** [@unstruct1](https://forum.kirupa.com/u/unstruct1)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 2:01pm UTC](https://forum.kirupa.com/t/ff12-interactive-buttons-script-help/227458 "2007-05-30T14:01:33Z")

</div>

Hi I am looking to use interactive buttons that affect each others position when moused over. a link to what I am looking for can be found at http://www.finalfantasyxii.com/ If anyone can provide a basic script that…

---

## [Actionscript Experts?](https://forum.kirupa.com/t/actionscript-experts/227456)

<div class="topic-metadata">

**Author:** [@JohnnyPeterson](https://forum.kirupa.com/u/JohnnyPeterson)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 1:57pm UTC](https://forum.kirupa.com/t/actionscript-experts/227456 "2007-05-30T13:57:48Z")

</div>

Ok. You probably don't have to be an expert. I need a quick effect knocked out this morning. My programmer is ill. Should only take an hour. Two at the most. Decent pay. Please leave your email address in this thread if …

---

## [Wmode is buggy in Mozila](https://forum.kirupa.com/t/wmode-is-buggy-in-mozila/227452)

<div class="topic-metadata">

**Author:** [@gunjan](https://forum.kirupa.com/u/gunjan)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 1:43pm UTC](https://forum.kirupa.com/t/wmode-is-buggy-in-mozila/227452 "2007-05-30T13:43:22Z")

</div>

Hi, Please use attached zip. Check html only use vertical dragging : after mouse wheel scrolling all the button's events showing wrong position of hand cursor. In mozila only. I am using wmode transparent in html. If …

---

## [getURL("javascript:window.close()");](https://forum.kirupa.com/t/geturl-javascript-window-close/227451)

<div class="topic-metadata">

**Author:** [@halian](https://forum.kirupa.com/u/halian)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 1:17pm UTC](https://forum.kirupa.com/t/geturl-javascript-window-close/227451 "2007-05-30T13:17:52Z")

</div>

No matter what I do I cannot get this to work. All I want is a button in flash that will close the browser window. It's a popup window so it should be able to be closed. I've googled a few different workings of the c…

---

## [Some questions about taking the content from an XML file](https://forum.kirupa.com/t/some-questions-about-taking-the-content-from-an-xml-file/227450)

<div class="topic-metadata">

**Author:** [@Abus](https://forum.kirupa.com/u/Abus)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 1:10pm UTC](https://forum.kirupa.com/t/some-questions-about-taking-the-content-from-an-xml-file/227450 "2007-05-30T13:10:52Z")

</div>

Hi, I am using XHTML and CSS on my projects. But lately I have found out XSL = XML Style Sheets at w3schools.com Taking the content from an XML file sounds cool. What do you think about this procedure? Do you prefer …

---

## [XML Gets Cached I Think](https://forum.kirupa.com/t/xml-gets-cached-i-think/227449)

<div class="topic-metadata">

**Author:** [@rcomeau](https://forum.kirupa.com/u/rcomeau)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 1:06pm UTC](https://forum.kirupa.com/t/xml-gets-cached-i-think/227449 "2007-05-30T13:06:42Z")

</div>

I have created a .swf and in it contains a slideshow extention component called xml flash slideshow v3 Here is the url \[COLOR=#333333\]http://therain.ca/mockupv2\[/COLOR\] the problem seems to be that when you click on …

---

## [attachMovie and clear interval](https://forum.kirupa.com/t/attachmovie-and-clear-interval/227443)

<div class="topic-metadata">

**Author:** [@force10x](https://forum.kirupa.com/u/force10x)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 11:41am UTC](https://forum.kirupa.com/t/attachmovie-and-clear-interval/227443 "2007-05-30T11:41:24Z")

</div>

Hi everyone, Im using attachMovie to load movieclips dynamically on the stage. this works fine except that there is always an extra movieClip on the top, left corner of the stage. I am using a set interval to place the…

---

## [Enemy Arm Rotation Problem, fla & swf inside](https://forum.kirupa.com/t/enemy-arm-rotation-problem-fla-swf-inside/227441)

<div class="topic-metadata">

**Author:** [@CallMeJack](https://forum.kirupa.com/u/CallMeJack)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 11:03am UTC](https://forum.kirupa.com/t/enemy-arm-rotation-problem-fla-swf-inside/227441 "2007-05-30T11:03:21Z")

</div>

Hello everyone, right now I have a stick figure that walks towards the mouse cursor. I want his arm to rotate so that he points to the cursor. I have an UpperBody\_mc and inside of it I have the arm that needs to rotate. …

---

## [It is possible](https://forum.kirupa.com/t/it-is-possible/227437)

<div class="topic-metadata">

**Author:** [@satheesh\_vicky](https://forum.kirupa.com/u/satheesh_vicky)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 9:42am UTC](https://forum.kirupa.com/t/it-is-possible/227437 "2007-05-30T09:42:40Z")

</div>

\*\*It is possible to check there is “nature. jpg” or any file in folder in the Flash 8. \*\*

---

## [Fullscreen scroll](https://forum.kirupa.com/t/fullscreen-scroll/227436)

<div class="topic-metadata">

**Author:** [@mythstu](https://forum.kirupa.com/u/mythstu)\
**Replies:** 0\
**Last updated:** [May 30, 2007, 9:23am UTC](https://forum.kirupa.com/t/fullscreen-scroll/227436 "2007-05-30T09:23:17Z")

</div>

Hello guys. I know that there is a topic contains this technique, but what i want to show you is more effects embedded with. Take a look: http://www.flashden.net/files/3489/index.html So... if someone know how to d…

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

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