# programming

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

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

**Page:** 702

---

## [Amfphp Class Mapping Issue](https://forum.kirupa.com/t/amfphp-class-mapping-issue/295882)

<div class="topic-metadata">

**Author:** [@dennisJaamann](https://forum.kirupa.com/u/dennisJaamann)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 6:25pm UTC](https://forum.kirupa.com/t/amfphp-class-mapping-issue/295882 "2009-09-06T18:25:52Z")

</div>

Hello, I'm fiddling around with a drupal installation to act as a backend for my flex application. I'm trying to use AMFPHP class mapping to send and receive messages from and to php. The following works fine: A…

---

## [\[AS3\] High dimensions FLV playback issue](https://forum.kirupa.com/t/as3-high-dimensions-flv-playback-issue/295881)

<div class="topic-metadata">

**Author:** [@g\_necionis](https://forum.kirupa.com/u/g_necionis)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 5:37pm UTC](https://forum.kirupa.com/t/as3-high-dimensions-flv-playback-issue/295881 "2009-09-06T17:37:02Z")

</div>

Hello, Everybody, I have some issues with FLV playback which dimensions are 1280x720. It must be played in background and it must be scaled to fit stage width and stage height (imagine how big it becames if user has disp…

---

## [CSS - display property giving me a headache](https://forum.kirupa.com/t/css-display-property-giving-me-a-headache/295880)

<div class="topic-metadata">

**Author:** [@wheatleyweb](https://forum.kirupa.com/u/wheatleyweb)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 5:10pm UTC](https://forum.kirupa.com/t/css-display-property-giving-me-a-headache/295880 "2009-09-06T17:10:58Z")

</div>

OK. I'm sure I'm missing something very simple, but I'm loosing hair over here. Please help. I have a navigation list where I set the the links to... here's the code... #siteNav { position:absolute; width:140px; to…

---

## [Add EventListener to Loaded SWF Instance](https://forum.kirupa.com/t/add-eventlistener-to-loaded-swf-instance/295879)

<div class="topic-metadata">

**Author:** [@commandnotapple](https://forum.kirupa.com/u/commandnotapple)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 4:49pm UTC](https://forum.kirupa.com/t/add-eventlistener-to-loaded-swf-instance/295879 "2009-09-06T16:49:18Z")

</div>

My problem seems simple enough, but I'm not exactly sure what I'm missing. I have a navigation button that loads an external SWF. In this loaded SWF are more buttons (two, to be specific). Right now the goal of these b…

---

## [AS3 to AS2 loop problem](https://forum.kirupa.com/t/as3-to-as2-loop-problem/295878)

<div class="topic-metadata">

**Author:** [@lotor2](https://forum.kirupa.com/u/lotor2)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 4:13pm UTC](https://forum.kirupa.com/t/as3-to-as2-loop-problem/295878 "2009-09-06T16:13:45Z")

</div>

Hello, I'm having difficulty changing this from AS3 to AS2 on this banner animation. It supposed to play the animation movie clip "main" 3 times and then stop. Is there a simple way that I can change this? Thanks O…

---

## [Scale Move Clip resizeListener(null); on Page load](https://forum.kirupa.com/t/scale-move-clip-resizelistener-null-on-page-load/295877)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 4:07pm UTC](https://forum.kirupa.com/t/scale-move-clip-resizelistener-null-on-page-load/295877 "2009-09-06T16:07:25Z")

</div>

Hi there, So I've built a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. I was given a tip that whe…

---

## [\[F8\]AS 2 how does the tab selction work?](https://forum.kirupa.com/t/f8-as-2-how-does-the-tab-selction-work/295875)

<div class="topic-metadata">

**Author:** [@capdetrons](https://forum.kirupa.com/u/capdetrons)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 3:15pm UTC](https://forum.kirupa.com/t/f8-as-2-how-does-the-tab-selction-work/295875 "2009-09-06T15:15:33Z")

</div>

Hello, I have this code on my username and password textfield components and I need to click on the username to be able to jump to the password field. username\_txt.tabIndex = 1; password\_txt.tabIndex = 2; If I try …

---

## [Yahoo Astra TabBar width problem](https://forum.kirupa.com/t/yahoo-astra-tabbar-width-problem/295873)

<div class="topic-metadata">

**Author:** [@shebimangalath](https://forum.kirupa.com/u/shebimangalath)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 12:11pm UTC](https://forum.kirupa.com/t/yahoo-astra-tabbar-width-problem/295873 "2009-09-06T12:11:47Z")

</div>

Hi, How to find the exact width of Yahoo Astra TabBar Component The output is always 150 Here is my Example: import fl.data.DataProvider; import com.yahoo.astra.fl.controls.TabBar; var tabData:Array = \[ "Tab0", "…

---

## [Upload news in Flash Site?](https://forum.kirupa.com/t/upload-news-in-flash-site/295870)

<div class="topic-metadata">

**Author:** [@antoxicool](https://forum.kirupa.com/u/antoxicool)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 9:03am UTC](https://forum.kirupa.com/t/upload-news-in-flash-site/295870 "2009-09-06T09:03:03Z")

</div>

Hello buddy, I'm a newbie in flash. I'm using Flash CS3. I used to make a site using Joomla for a dynamic site and Flash for a static site content. Is there any way to upload news and image to Flash site? Any tutorials? …

---

## [Incorporating an Array with Xml images](https://forum.kirupa.com/t/incorporating-an-array-with-xml-images/295864)

<div class="topic-metadata">

**Author:** [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 5:50am UTC](https://forum.kirupa.com/t/incorporating-an-array-with-xml-images/295864 "2009-09-06T05:50:47Z")

</div>

Hi there. I have an evolving script and my actionscript knowledge is limited. How would I incorporate xml with the following code. I have a menu that can be navigated by pressing the down or up keys, and everytime the…

---

## [HOW Resize a Movieclip When window opens?](https://forum.kirupa.com/t/how-resize-a-movieclip-when-window-opens/295862)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 4:30am UTC](https://forum.kirupa.com/t/how-resize-a-movieclip-when-window-opens/295862 "2009-09-06T04:30:10Z")

</div>

I've used Greensocks Tween lite to build a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. How can I…

---

## [PHP Arrays... How do they work?](https://forum.kirupa.com/t/php-arrays-how-do-they-work/295859)

<div class="topic-metadata">

**Author:** [@meistertoca](https://forum.kirupa.com/u/meistertoca)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 2:00am UTC](https://forum.kirupa.com/t/php-arrays-how-do-they-work/295859 "2009-09-06T02:00:50Z")

</div>

Alright... in my pursuit to convert my current site from Coldfusion to PHP, I ran into a problem with making CFC functions into PHP functions. Pretty much what I'm doing is recreating a proximity search. I think I've alm…

---

## [Mask & 9-Slice Scale Issue](https://forum.kirupa.com/t/mask-9-slice-scale-issue/295858)

<div class="topic-metadata">

**Author:** [@7788](https://forum.kirupa.com/u/7788)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 1:35am UTC](https://forum.kirupa.com/t/mask-9-slice-scale-issue/295858 "2009-09-06T01:35:47Z")

</div>

I have a MC with image in it and a MC mask \> vector box with rounded corners The MC mask also has 9-Slice Scale (set as appropriate for the rounded corners) When I test without mc.setMask("mc\_mask") it works fine... ...…

---

## [Bitmap Data Help](https://forum.kirupa.com/t/bitmap-data-help/295857)

<div class="topic-metadata">

**Author:** [@GeorgeCrabtree](https://forum.kirupa.com/u/GeorgeCrabtree)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 1:20am UTC](https://forum.kirupa.com/t/bitmap-data-help/295857 "2009-09-06T01:20:21Z")

</div>

Hello, I have a sprite with three children which are all shapes. Im using BlendMode.DIFFERENCE to make lots of pretty colours appear. (See attached swf). The problem I am having is that because the blendMode is set to …

---

## [Variables between AS Files](https://forum.kirupa.com/t/variables-between-as-files/295854)

<div class="topic-metadata">

**Author:** [@KillinSprE](https://forum.kirupa.com/u/KillinSprE)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 9:26pm UTC](https://forum.kirupa.com/t/variables-between-as-files/295854 "2009-09-05T21:26:19Z")

</div>

I have variables declared (I assume) in Main.as and I wish to use them in other AS files such as pg1.as Here's my code: //Main.as package { import fl.controls.\*; import flash.text.\*; import flash.events.\*;…

---

## [Using UV coordinates for Affine Transform?](https://forum.kirupa.com/t/using-uv-coordinates-for-affine-transform/295852)

<div class="topic-metadata">

**Author:** [@shade\_v2](https://forum.kirupa.com/u/shade_v2)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 7:48pm UTC](https://forum.kirupa.com/t/using-uv-coordinates-for-affine-transform/295852 "2009-09-05T19:48:16Z")

</div>

After hitting what I see now was an inevitable wall using drawTriangles() for 3d rendering, I find myself forced to write my own UV mapping function... and this has made me realize that I'm as thick as a log. Oh I've t…

---

## [Photo Gallery - adding previous & next button](https://forum.kirupa.com/t/photo-gallery-adding-previous-next-button/295851)

<div class="topic-metadata">

**Author:** [@nickmagnus](https://forum.kirupa.com/u/nickmagnus)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 7:35pm UTC](https://forum.kirupa.com/t/photo-gallery-adding-previous-next-button/295851 "2009-09-05T19:35:36Z")

</div>

Hi there, I have a very nice picture gallery made in CS3 / AS3. I managed to personalize it and all. But, I have difficulty with (or no clue... actually), how to add a precious and next button to it(image). This is t…

---

## [Null Object not Null; What am I missing?](https://forum.kirupa.com/t/null-object-not-null-what-am-i-missing/295845)

<div class="topic-metadata">

**Author:** [@commandnotapple](https://forum.kirupa.com/u/commandnotapple)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 5:43pm UTC](https://forum.kirupa.com/t/null-object-not-null-what-am-i-missing/295845 "2009-09-05T17:43:10Z")

</div>

My problem is pretty simple (I hope). I am trying to add an EventListener to a MC, but I am getting the 1009 error. My script is referencing a MC that does exist. I have verified that my code is typed correctly, and that…

---

## [Bizarre image display problem](https://forum.kirupa.com/t/bizarre-image-display-problem/295844)

<div class="topic-metadata">

**Author:** [@zzxjoanw](https://forum.kirupa.com/u/zzxjoanw)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 5:29pm UTC](https://forum.kirupa.com/t/bizarre-image-display-problem/295844 "2009-09-05T17:29:46Z")

</div>

My website (link) has a pull-up menu. In Firefox 3, the right side of the blue section matches the page background, but in IE 8, the same section is slightly darker. The image in question is a gif. What might be causin…

---

## [Fastest number to/from binary string functions?](https://forum.kirupa.com/t/fastest-number-to-from-binary-string-functions/295843)

<div class="topic-metadata">

**Author:** [@JoeDurb](https://forum.kirupa.com/u/JoeDurb)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 4:37pm UTC](https://forum.kirupa.com/t/fastest-number-to-from-binary-string-functions/295843 "2009-09-05T16:37:11Z")

</div>

The following functions are great for saving Bandwidth when sending data over wires, wondering if anyone has a way to speed them up at all? As they get used a lot when needed. Usage examples: $str=ConvertToBin(2,12…

---

## [FLV inside an mc behaves strangely](https://forum.kirupa.com/t/flv-inside-an-mc-behaves-strangely/295842)

<div class="topic-metadata">

**Author:** [@idiotOne](https://forum.kirupa.com/u/idiotOne)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 3:17pm UTC](https://forum.kirupa.com/t/flv-inside-an-mc-behaves-strangely/295842 "2009-09-05T15:17:14Z")

</div>

I have placed an FLVplayer component inside a MC on the stage and when I'm trying to resize it, it resizes down to about a third of the size it's supposed to!? I'm at a loss, why is this happening? If I'm placing the F…

---

## [CS4 buttons](https://forum.kirupa.com/t/cs4-buttons/295841)

<div class="topic-metadata">

**Author:** [@lyanma](https://forum.kirupa.com/u/lyanma)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 2:55pm UTC](https://forum.kirupa.com/t/cs4-buttons/295841 "2009-09-05T14:55:09Z")

</div>

Hi everyone, I'm new to this CS4 world and I can't make my buttons work...I'm trying to make a portfolio. I have a button created named "books". I created a new layer just to insert the AS of that button and to stop th…

---

## [Dynamic text on parent swf not showing](https://forum.kirupa.com/t/dynamic-text-on-parent-swf-not-showing/295834)

<div class="topic-metadata">

**Author:** [@paulon](https://forum.kirupa.com/u/paulon)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 12:43pm UTC](https://forum.kirupa.com/t/dynamic-text-on-parent-swf-not-showing/295834 "2009-09-05T12:43:53Z")

</div>

for the gurus of flashcs3 please help, my dynamic text is not appearing on parent swf. but 100% working on self swf. i used trace to output the value and it works both on parent and child swf. what seems to be the proble…

---

## [Always look at the bright side of AS2.0 prototyping?](https://forum.kirupa.com/t/always-look-at-the-bright-side-of-as2-0-prototyping/295833)

<div class="topic-metadata">

**Author:** [@KaiLynn](https://forum.kirupa.com/u/KaiLynn)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 11:49am UTC](https://forum.kirupa.com/t/always-look-at-the-bright-side-of-as2-0-prototyping/295833 "2009-09-05T11:49:48Z")

</div>

Hi, I have difficulties to understand the meaning and every line of it, cus I'm not a pro yet. Can U help me, teach me what it does and how? Here it is: Path = function(){ this.init.apply(this,arguments); } Pat…

---

## [\[AS2\]Horizontal Shmup Help - Enemy Patterns](https://forum.kirupa.com/t/as2-horizontal-shmup-help-enemy-patterns/295831)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 10:29am UTC](https://forum.kirupa.com/t/as2-horizontal-shmup-help-enemy-patterns/295831 "2009-09-05T10:29:11Z")

</div>

Hey guys, I've just been playing around with some horizontal shmup style stuff and wanted to give my enemies a little more depth. In games like R-Type and Arrow Flash, the enemies have waves and patterns. I thought about…

---

## [Paint Bucket in inkcanvas](https://forum.kirupa.com/t/paint-bucket-in-inkcanvas/295828)

<div class="topic-metadata">

**Author:** [@alexprvn](https://forum.kirupa.com/u/alexprvn)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 8:50am UTC](https://forum.kirupa.com/t/paint-bucket-in-inkcanvas/295828 "2009-09-05T08:50:04Z")

</div>

Hai.. Sample: &lt;InkCanvas x:Name="inker" Margin="-8,94,8,8"&gt; &lt;Image x:Name="img" Margin="-196.794,0,-1206.111,-1489.523" Height="1374.139" Source="311.JPG"/&gt; &lt;/InkCanvas&gt; in this above c…

---

## [Help me with flash please!](https://forum.kirupa.com/t/help-me-with-flash-please/295827)

<div class="topic-metadata">

**Author:** [@eskimogenius](https://forum.kirupa.com/u/eskimogenius)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 6:17am UTC](https://forum.kirupa.com/t/help-me-with-flash-please/295827 "2009-09-05T06:17:44Z")

</div>

Hi, I'm trying to create 2 seperate motion tweens - between frame 1 to frame 35 and frame 36 to 65 but it just won't work. From frame 1 I want a motion tween to frame 35. We shall call the graphic in frame 1, graphic 1…

---

## [Interfaces and Static functions](https://forum.kirupa.com/t/interfaces-and-static-functions/295826)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 4:53am UTC](https://forum.kirupa.com/t/interfaces-and-static-functions/295826 "2009-09-05T04:53:51Z")

</div>

It seems that Actionscript doesnt support defining static functions in interfaces. Whats the reasoning behind this? I think it would be useful to have that ability but I'm sure there must be a reason why its not the…

---

## [Dynamically creating MovieClips](https://forum.kirupa.com/t/dynamically-creating-movieclips/295825)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 4:13am UTC](https://forum.kirupa.com/t/dynamically-creating-movieclips/295825 "2009-09-05T04:13:10Z")

</div>

Is there any way to create dynamic animations? Say if I'm creating a game and there might be multiple sprite sheets for different NPC's, would I have to manually create the walking/whatever other animations manually? Or …

---

## [How to copy flv file into one done flash site?](https://forum.kirupa.com/t/how-to-copy-flv-file-into-one-done-flash-site/295824)

<div class="topic-metadata">

**Author:** [@sashar](https://forum.kirupa.com/u/sashar)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 1:26am UTC](https://forum.kirupa.com/t/how-to-copy-flv-file-into-one-done-flash-site/295824 "2009-09-05T01:26:08Z")

</div>

It's seems a stupid question \[smile\] But i am newbie in flash, and just trying figure out how to add some ready done flash element into my flash site I use Flash CS4, and I have some page located in a Movie Clip I've…

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

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