# programming

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

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

**Page:** 398

---

## [Get XML and view results after onClick](https://forum.kirupa.com/t/get-xml-and-view-results-after-onclick/315067)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 5:26pm UTC](https://forum.kirupa.com/t/get-xml-and-view-results-after-onclick/315067 "2010-10-16T17:26:07Z")

</div>

All, So I have an XML file to show my albums. The XML file looks like this: \<?xml version="1.0" encoding="utf-8"?\> \<ALBUMS TOTAL\_ALBUMS="2"\> \<ALBUM\_INFO album\_name="This is Album 1" album\_num="1"/\> \<ALBUM\_INFO album\_n…

---

## [CS5 Embed Font on stage Anomaly](https://forum.kirupa.com/t/cs5-embed-font-on-stage-anomaly/315066)

<div class="topic-metadata">

**Author:** [@samroni](https://forum.kirupa.com/u/samroni)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 4:25pm UTC](https://forum.kirupa.com/t/cs5-embed-font-on-stage-anomaly/315066 "2010-10-16T16:25:11Z")

</div>

please ignore this

---

## [Tween's within a loop](https://forum.kirupa.com/t/tweens-within-a-loop/315065)

<div class="topic-metadata">

**Author:** [@Nucleo](https://forum.kirupa.com/u/Nucleo)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 4:09pm UTC](https://forum.kirupa.com/t/tweens-within-a-loop/315065 "2010-10-16T16:09:04Z")

</div>

hey all, I have a feeling this forum is going to become a second home \[smile\] I have a loop in the flash file. it gives me a number of X & Y as the to & from coordinates and places a movieclip on the stage. I then hav…

---

## [Help making distance between all mcs at equal distance from each other on mouseover](https://forum.kirupa.com/t/help-making-distance-between-all-mcs-at-equal-distance-from-each-other-on-mouseover/315064)

<div class="topic-metadata">

**Author:** [@adBuryD](https://forum.kirupa.com/u/adBuryD)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 3:42pm UTC](https://forum.kirupa.com/t/help-making-distance-between-all-mcs-at-equal-distance-from-each-other-on-mouseover/315064 "2010-10-16T15:42:46Z")

</div>

hi I am posting my code that attaches the movieclips on stage function attachMovieClip () { for (var i:int=0; i\<10; i++) { var newMc:mcContainer = new mcContainer(); newMc.y = 100; newMc.x = 0 + (newMc.width\*…

---

## [cs4 as2 using variable in file path](https://forum.kirupa.com/t/cs4-as2-using-variable-in-file-path/315063)

<div class="topic-metadata">

**Author:** [@j0101011](https://forum.kirupa.com/u/j0101011)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 3:38pm UTC](https://forum.kirupa.com/t/cs4-as2-using-variable-in-file-path/315063 "2010-10-16T15:38:15Z")

</div>

ok so I have had this lil problem posted on another site and it stumped them so I figured I would bring it here. I am using the mdm extension to build a skinable browser for Brym's desktop hud application (http://www.d…

---

## [Yahoo Messenger to Flash Web](https://forum.kirupa.com/t/yahoo-messenger-to-flash-web/315060)

<div class="topic-metadata">

**Author:** [@gading](https://forum.kirupa.com/u/gading)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 7:50am UTC](https://forum.kirupa.com/t/yahoo-messenger-to-flash-web/315060 "2010-10-16T07:50:57Z")

</div>

Hi everyone, I'm currently working on a Flash website project that uses Yahoo messenger. I'm trying to browsing and googling, but i still can not find a solution.:hangover: Can we put a Yahoo Messenger on a Flash Website…

---

## [Best practice for multiplying swf in flash page](https://forum.kirupa.com/t/best-practice-for-multiplying-swf-in-flash-page/315059)

<div class="topic-metadata">

**Author:** [@luka66\_6](https://forum.kirupa.com/u/luka66_6)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 6:00am UTC](https://forum.kirupa.com/t/best-practice-for-multiplying-swf-in-flash-page/315059 "2010-10-16T06:00:33Z")

</div>

Hi In my page i use animated swf for button. And at the moment page knows how many buttons there needs to be via category nodes in xml so i made a loop to load in the right number of same swf-s. Is there a bettery wa…

---

## [Flash 8 3d rotation possible](https://forum.kirupa.com/t/flash-8-3d-rotation-possible/315058)

<div class="topic-metadata">

**Author:** [@957](https://forum.kirupa.com/u/957)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 5:20am UTC](https://forum.kirupa.com/t/flash-8-3d-rotation-possible/315058 "2010-10-16T05:20:19Z")

</div>

Hi this is my first post. I'm working on converting my website from xhtml to flash but want my site thumbnails to rotate in 3d left to right. go to http://votillity.com and click on "eMail" on the left and see the Gmail …

---

## [stopAll(); except one sound?](https://forum.kirupa.com/t/stopall-except-one-sound/315056)

<div class="topic-metadata">

**Author:** [@aaronvlee](https://forum.kirupa.com/u/aaronvlee)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 4:27am UTC](https://forum.kirupa.com/t/stopall-except-one-sound/315056 "2010-10-16T04:27:29Z")

</div>

http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/media/SoundMixer.html#stopAll() It says that sounds set to stream will continue to play but does that mean in the timeline? I’m attempting background…

---

## [Question about box2d](https://forum.kirupa.com/t/question-about-box2d/315055)

<div class="topic-metadata">

**Author:** [@zombiekiller222](https://forum.kirupa.com/u/zombiekiller222)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 4:12am UTC](https://forum.kirupa.com/t/question-about-box2d/315055 "2010-10-16T04:12:25Z")

</div>

Hey, I'm making my 'first game' currently. This is what I've got so far (I've spent minimal time on it so far -- not very full of features): http://megaswf.com/serve/59297/ Now, I know the walls are buggy, but that's …

---

## [I can't find any kind of tutorial for this. Help?](https://forum.kirupa.com/t/i-cant-find-any-kind-of-tutorial-for-this-help/315052)

<div class="topic-metadata">

**Author:** [@batvans46](https://forum.kirupa.com/u/batvans46)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 1:35am UTC](https://forum.kirupa.com/t/i-cant-find-any-kind-of-tutorial-for-this-help/315052 "2010-10-16T01:35:26Z")

</div>

so i wanna make a custom photo gallery for my work, and ive seen some that i like. however, i want to MAKE it myself and not download somebody's program that does it or whatever. i know i have the necessary knowledge to …

---

## [AS3 XML photo gallery first large image load automatically](https://forum.kirupa.com/t/as3-xml-photo-gallery-first-large-image-load-automatically/315051)

<div class="topic-metadata">

**Author:** [@akalorik](https://forum.kirupa.com/u/akalorik)\
**Replies:** 0\
**Last updated:** [October 16, 2010, 1:00am UTC](https://forum.kirupa.com/t/as3-xml-photo-gallery-first-large-image-load-automatically/315051 "2010-10-16T01:00:15Z")

</div>

I have a photo gallery on my site that is generated using AS3 and XML. Everything works great but I'd like to have the images that relate to the first thumbnail appear automatically when the movie loads. Any ideas how to…

---

## [2 keys at once](https://forum.kirupa.com/t/2-keys-at-once/315048)

<div class="topic-metadata">

**Author:** [@jagguy](https://forum.kirupa.com/u/jagguy)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 11:08pm UTC](https://forum.kirupa.com/t/2-keys-at-once/315048 "2010-10-15T23:08:16Z")

</div>

My code doesnt detect 2 kest at once. I want to press an arrow key and spce bar. In .net the below code does do this but in flash if I hold down an arrow key and press space bar the arrow key event will stop working. …

---

## [Displaying Data from PHP](https://forum.kirupa.com/t/displaying-data-from-php/315047)

<div class="topic-metadata">

**Author:** [@Nucleo](https://forum.kirupa.com/u/Nucleo)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 10:15pm UTC](https://forum.kirupa.com/t/displaying-data-from-php/315047 "2010-10-15T22:15:26Z")

</div>

hey everyone, below is the code I am using for my PHP script and my AS3 function which I am testing \[smile\] my PHP script is printing the following: foo=bar&id\_0=1&xfrom\_1=100.00&yfrom\_2=100.00&xto\_3=200.00&yto\_4=20…

---

## [BitmapData class and Matrix Transformations](https://forum.kirupa.com/t/bitmapdata-class-and-matrix-transformations/315046)

<div class="topic-metadata">

**Author:** [@sFoster83](https://forum.kirupa.com/u/sFoster83)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 9:48pm UTC](https://forum.kirupa.com/t/bitmapdata-class-and-matrix-transformations/315046 "2010-10-15T21:48:46Z")

</div>

Can anyone recommend a good resource for recipes and explanations about doing cool things with all of the different bitmapData class functions. A book would be fine but naturally online is more convenient

---

## [Web Advertising Advice Needed](https://forum.kirupa.com/t/web-advertising-advice-needed/315045)

<div class="topic-metadata">

**Author:** [@YoungNastyMan](https://forum.kirupa.com/u/YoungNastyMan)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 9:17pm UTC](https://forum.kirupa.com/t/web-advertising-advice-needed/315045 "2010-10-15T21:17:46Z")

</div>

Hello. I built a website to sell t-shirts last December but it doesn't seem to be generating as many sales as I would like. Admittedly, I'm only a self-taught web designer, so I'm not so sure my site was designed the m…

---

## [Problem with button in IE](https://forum.kirupa.com/t/problem-with-button-in-ie/315044)

<div class="topic-metadata">

**Author:** [@thaisfuchs](https://forum.kirupa.com/u/thaisfuchs)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 9:07pm UTC](https://forum.kirupa.com/t/problem-with-button-in-ie/315044 "2010-10-15T21:07:01Z")

</div>

Hi, I have a button in a website that, when clicked, should go back to the last page visited by the user (in this case, it would go back from "example.com/page" to "example.com"). I'm using this code in a AS2 Flash …

---

## [Rising Bubbles Flash AS3](https://forum.kirupa.com/t/rising-bubbles-flash-as3/315042)

<div class="topic-metadata">

**Author:** [@SereneAurora](https://forum.kirupa.com/u/SereneAurora)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 8:26pm UTC](https://forum.kirupa.com/t/rising-bubbles-flash-as3/315042 "2010-10-15T20:26:15Z")

</div>

Greetings, I am in my first few weeks of learning Action Script 3, and I'm still busily working through tutorials and lessons to figure all this out. I came across a tutorial for a rising bubble effect that I would li…

---

## [Tweening movie clips AS3 problem](https://forum.kirupa.com/t/tweening-movie-clips-as3-problem/315040)

<div class="topic-metadata">

**Author:** [@akalorik](https://forum.kirupa.com/u/akalorik)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 7:01pm UTC](https://forum.kirupa.com/t/tweening-movie-clips-as3-problem/315040 "2010-10-15T19:01:50Z")

</div>

I am fairly new to AS3 and I'm having a problem I need some help on. I have a page on my site that navigates between 3 different movie clips using frame based navigation. I have action script on each of the 3 frames to m…

---

## [AS3 Simple Menu Roll\_OVER & Roll\_OUT Functions](https://forum.kirupa.com/t/as3-simple-menu-roll-over-roll-out-functions/315037)

<div class="topic-metadata">

**Author:** [@kwkistler](https://forum.kirupa.com/u/kwkistler)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 5:58pm UTC](https://forum.kirupa.com/t/as3-simple-menu-roll-over-roll-out-functions/315037 "2010-10-15T17:58:15Z")

</div>

I have a simple menu movieclip with two buttons with Roll\_OVER & Roll\_OUT Functions. When I Roll\_OVER & Roll\_OUT on "home\_1\_btn" it works fine, but when I Roll\_OVER "home\_2\_btn" it does not Roll\_OUT? Here is my AS3 tha…

---

## [Sockets problem :: Error #2048](https://forum.kirupa.com/t/sockets-problem-error-2048/315035)

<div class="topic-metadata">

**Author:** [@Eric\_Gurt](https://forum.kirupa.com/u/Eric_Gurt)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 5:14pm UTC](https://forum.kirupa.com/t/sockets-problem-error-2048/315035 "2010-10-15T17:14:57Z")

</div>

Hi everyone! When I test my flash game in IDE, everything works perfect, but when I test it through web browsers, Socket is unable to connect. For makin connection I do in as3: var MP\_SERVER\_IP:String="xxx.xxx.xxx…

---

## [FLV - smoothing possible?](https://forum.kirupa.com/t/flv-smoothing-possible/315031)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 3:32pm UTC](https://forum.kirupa.com/t/flv-smoothing-possible/315031 "2010-10-15T15:32:19Z")

</div>

Building a flash file for local playback and it contains some animations that I insert as .FLVs. It is set to play full-screen, but when it does, the video gets all jaggy. Is there a smoothing function for video like the…

---

## [Converting code from AS1 to AS3](https://forum.kirupa.com/t/converting-code-from-as1-to-as3/315027)

<div class="topic-metadata">

**Author:** [@wolfenr](https://forum.kirupa.com/u/wolfenr)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 2:59pm UTC](https://forum.kirupa.com/t/converting-code-from-as1-to-as3/315027 "2010-10-15T14:59:59Z")

</div>

Hi all you clever people and hope you can help. I'm trying to convert some AS1 code into AS3, it is a contact form and, mostly I've got it sorted but struggling with a couple of lines and am wondering if any of you can…

---

## [Separate volume controls](https://forum.kirupa.com/t/separate-volume-controls/315024)

<div class="topic-metadata">

**Author:** [@FrederikM](https://forum.kirupa.com/u/FrederikM)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 12:02pm UTC](https://forum.kirupa.com/t/separate-volume-controls/315024 "2010-10-15T12:02:24Z")

</div>

Dear all, I have been building a site (www.dsalustrum.nl), you can visit it to see what i am trying. I have a volume slider with mute button in the top right, which works fine. Now in the "media" section, i have a…

---

## [Swf scales up in firefox](https://forum.kirupa.com/t/swf-scales-up-in-firefox/315023)

<div class="topic-metadata">

**Author:** [@dataGeek](https://forum.kirupa.com/u/dataGeek)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 10:57am UTC](https://forum.kirupa.com/t/swf-scales-up-in-firefox/315023 "2010-10-15T10:57:15Z")

</div>

Hi there - when i put my swf in an html page and view it using FF 3.6.10, it gets bigger and looks ugly (all the photos pixelate). noScale is set and the swf doesn't otherwise scale (e.g. if i minimise the window or p…

---

## [Loaded SWF plays too fast... (swf in swf)](https://forum.kirupa.com/t/loaded-swf-plays-too-fast-swf-in-swf/315022)

<div class="topic-metadata">

**Author:** [@timmy666](https://forum.kirupa.com/u/timmy666)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 10:30am UTC](https://forum.kirupa.com/t/loaded-swf-plays-too-fast-swf-in-swf/315022 "2010-10-15T10:30:24Z")

</div>

Hey guys, Pretty much finished my flash folio (with many thanks to this forum). One last thing, I have a section that loads up example swf web banners i've made. The process is: -my main swf reads xml file -main swf …

---

## [BitmapData.draw() and Matrix problem](https://forum.kirupa.com/t/bitmapdata-draw-and-matrix-problem/315019)

<div class="topic-metadata">

**Author:** [@codeWrangler](https://forum.kirupa.com/u/codeWrangler)\
**Replies:** 0\
**Last updated:** [October 15, 2010, 3:37am UTC](https://forum.kirupa.com/t/bitmapdata-draw-and-matrix-problem/315019 "2010-10-15T03:37:55Z")

</div>

Hello, I've run into an issue where the BitmapData.Draw() method seems to not always produce a reliable result. Basically all i am trying to do is drop an object from the top of the screen and when it comes into cont…

---

## [Mistake in Waving Flag](https://forum.kirupa.com/t/mistake-in-waving-flag/315017)

<div class="topic-metadata">

**Author:** [@gayandproud](https://forum.kirupa.com/u/gayandproud)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 11:37pm UTC](https://forum.kirupa.com/t/mistake-in-waving-flag/315017 "2010-10-14T23:37:51Z")

</div>

Hello. I'm trying to create a flash animation with the effect of a waving flag and have seen online some, but what I liked most is the following website: http://crea-flash.com/index.php?option=com\_content&view=article&id…

---

## [As3 Variables Question](https://forum.kirupa.com/t/as3-variables-question/315016)

<div class="topic-metadata">

**Author:** [@Gunstar\_Hero](https://forum.kirupa.com/u/Gunstar_Hero)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 11:37pm UTC](https://forum.kirupa.com/t/as3-variables-question/315016 "2010-10-14T23:37:20Z")

</div>

Quick questions, is there anyway to create and define a variable in a child from the parent? For example, if I add a child to the stage with code, and then want to be able to say child.variable=0 to create a variable i…

---

## [Most efficient BitmapData grid drawing with alpha](https://forum.kirupa.com/t/most-efficient-bitmapdata-grid-drawing-with-alpha/315015)

<div class="topic-metadata">

**Author:** [@dnkupfer](https://forum.kirupa.com/u/dnkupfer)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 10:31pm UTC](https://forum.kirupa.com/t/most-efficient-bitmapdata-grid-drawing-with-alpha/315015 "2010-10-14T22:31:41Z")

</div>

I'm looking for the most efficient possible way of drawing an 8 x 4 grid (960x600 total size). Each square of the grid has a variable alpha and the grid is redrawn every enter frame. The problem is my application is do…

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

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