# programming

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

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

**Page:** 1291

---

## [Yahoo Flash Maps API - &mag Parameter](https://forum.kirupa.com/t/yahoo-flash-maps-api-mag-parameter/256799)

<div class="topic-metadata">

**Author:** [@nixon](https://forum.kirupa.com/u/nixon)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 2:44pm UTC](https://forum.kirupa.com/t/yahoo-flash-maps-api-mag-parameter/256799 "2008-04-07T14:44:29Z")

</div>

I've put together a map that when you click a marker, it pops up a "directions" box. When you enter your info and hit send, it sends this string to yahoo: getURL("\[URL="http://maps.yahoo.com/beta/index.php#mvt=m&q2=156…

---

## [Migrating Image panning code to AS3](https://forum.kirupa.com/t/migrating-image-panning-code-to-as3/256798)

<div class="topic-metadata">

**Author:** [@gordee](https://forum.kirupa.com/u/gordee)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 2:32pm UTC](https://forum.kirupa.com/t/migrating-image-panning-code-to-as3/256798 "2008-04-07T14:32:01Z")

</div>

Hi everyone, I'm a newbie to this forum and reasonably new to AS3. I have tried to migrate the code for the "Interactive Image panning" tutorial from kirupa but it does not work as smoothly as the AS2 version. I'll post …

---

## [Having trouble with FlashDevelop - it's not compiling right](https://forum.kirupa.com/t/having-trouble-with-flashdevelop-its-not-compiling-right/256795)

<div class="topic-metadata">

**Author:** [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 1:52pm UTC](https://forum.kirupa.com/t/having-trouble-with-flashdevelop-its-not-compiling-right/256795 "2008-04-07T13:52:19Z")

</div>

Alright, to start, I have flash 8 (i know it doesn't have as3) installed on my laptop, and I thought it'd be great to get an as3 compiling program i can stick on my flash/thumb drive. so i installed it on my laptop, and …

---

## [Dynamic images and text](https://forum.kirupa.com/t/dynamic-images-and-text/256791)

<div class="topic-metadata">

**Author:** [@himanshu\_guru](https://forum.kirupa.com/u/himanshu_guru)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 1:13pm UTC](https://forum.kirupa.com/t/dynamic-images-and-text/256791 "2008-04-07T13:13:21Z")

</div>

Hello Friends, I need to develop a page that has contents and images dynamic loaded and always follows a pattern that we decide for the page. I haven't any idea. Anyone can help me? Please. Your Friend Himanshu

---

## [Creating a backend](https://forum.kirupa.com/t/creating-a-backend/256789)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 12:30pm UTC](https://forum.kirupa.com/t/creating-a-backend/256789 "2008-04-07T12:30:23Z")

</div>

I want to build a backend for a client with an XML/AS3 photo gallery site, to allow them to edit / upload / delete content and was wondering what peoples thoughts were on the best practise. I understand that a purely PHP…

---

## [Printing Web Pages in Landscape Instead of Portrait](https://forum.kirupa.com/t/printing-web-pages-in-landscape-instead-of-portrait/256786)

<div class="topic-metadata">

**Author:** [@bear](https://forum.kirupa.com/u/bear)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 11:05am UTC](https://forum.kirupa.com/t/printing-web-pages-in-landscape-instead-of-portrait/256786 "2008-04-07T11:05:50Z")

</div>

How do I do that with CSS or Javascript? I made a thread before, but perhaps my question was unclear.

---

## [mySQL noobie question(s)](https://forum.kirupa.com/t/mysql-noobie-question-s/256785)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 10:58am UTC](https://forum.kirupa.com/t/mysql-noobie-question-s/256785 "2008-04-07T10:58:48Z")

</div>

Hello, I'm new to web design. I've put some files on a server that I 'borrow' from my father. I didn't set it up myself but I know the passwords to put data in mySQL from PHP, and to put files in there. Now my question…

---

## [Pointing to a scene depending on URL (AS 2.0)](https://forum.kirupa.com/t/pointing-to-a-scene-depending-on-url-as-2-0/256772)

<div class="topic-metadata">

**Author:** [@Papa\_Lazarou](https://forum.kirupa.com/u/Papa_Lazarou)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 6:51am UTC](https://forum.kirupa.com/t/pointing-to-a-scene-depending-on-url-as-2-0/256772 "2008-04-07T06:51:23Z")

</div>

Hey guys, I'm a recent browser of your forums, having recently been given the task of getting across basic flash development for my team. I've developed a quick video player that pre-loads, auto-plays and then finish…

---

## [Flash Player performance](https://forum.kirupa.com/t/flash-player-performance/256771)

<div class="topic-metadata">

**Author:** [@kookaburra](https://forum.kirupa.com/u/kookaburra)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 6:05am UTC](https://forum.kirupa.com/t/flash-player-performance/256771 "2008-04-07T06:05:53Z")

</div>

Adobe says that AS3 code can run 10 times faster that the legacy code Actionscript code. What I'd like to know is Will the code written in AS1 or AS2 using Flash CS3 IDE run as fast as the AS3 code?

---

## [Scaling JPEG images](https://forum.kirupa.com/t/scaling-jpeg-images/256770)

<div class="topic-metadata">

**Author:** [@tmaugham](https://forum.kirupa.com/u/tmaugham)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 5:56am UTC](https://forum.kirupa.com/t/scaling-jpeg-images/256770 "2008-04-07T05:56:49Z")

</div>

This is my first effort at creating a Flash site so please be kind!!! I'm using an action script to import some jpeg images into a movie. The images are 4x6 at 72ppi and when imported they do not fit into the box on the …

---

## [Linking Buttons with MCs](https://forum.kirupa.com/t/linking-buttons-with-mcs/256768)

<div class="topic-metadata">

**Author:** [@jensou](https://forum.kirupa.com/u/jensou)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 4:18am UTC](https://forum.kirupa.com/t/linking-buttons-with-mcs/256768 "2008-04-07T04:18:21Z")

</div>

I'm having trouble figuring how to get the buttons to reference the correct imageBox and position the imageHolder. The imageHolder is a movieclip on the main stage and inside of that are a series of imageBoxes attached …

---

## [Creating limbs with AS 3.0](https://forum.kirupa.com/t/creating-limbs-with-as-3-0/256760)

<div class="topic-metadata">

**Author:** [@briman](https://forum.kirupa.com/u/briman)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 12:19am UTC](https://forum.kirupa.com/t/creating-limbs-with-as-3-0/256760 "2008-04-07T00:19:45Z")

</div>

I wonder how I might create a kinematics structure to create a character with limbs. (really, how they did this-http://levitated.net/exhibit/organicMachine/index.html) I am using actionscript 3.0 and I wonder how to crea…

---

## [AS 3 Custom Class](https://forum.kirupa.com/t/as-3-custom-class/256759)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 12:01am UTC](https://forum.kirupa.com/t/as-3-custom-class/256759 "2008-04-07T00:01:36Z")

</div>

I have been trying to convert the code posted previously to a custom class: package { import flash.display.\*; import flash.events.\*; import flash.net.\*; import flash.display.Stage; import flash.dis…

---

## [Pitch Shift](https://forum.kirupa.com/t/pitch-shift/256756)

<div class="topic-metadata">

**Author:** [@briman](https://forum.kirupa.com/u/briman)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 11:38pm UTC](https://forum.kirupa.com/t/pitch-shift/256756 "2008-04-06T23:38:00Z")

</div>

I am wondering if it's possible to change the pitch of an audio file playback. It was suggested to me that maybe putting the sound into a quicktime file and manupulating the video's framerate might make it possible. The …

---

## [SOAP WebService WSDL caching](https://forum.kirupa.com/t/soap-webservice-wsdl-caching/256755)

<div class="topic-metadata">

**Author:** [@TandemAdam](https://forum.kirupa.com/u/TandemAdam)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 11:36pm UTC](https://forum.kirupa.com/t/soap-webservice-wsdl-caching/256755 "2008-04-06T23:36:31Z")

</div>

I am really hoping that someone on this forum has used the WebService classes, because I have a few tricky questions. To start off, I have a situation where I am using a SOAP WebService. I start the service in Actionsc…

---

## [HP level](https://forum.kirupa.com/t/hp-level/256754)

<div class="topic-metadata">

**Author:** [@protonxp](https://forum.kirupa.com/u/protonxp)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 11:08pm UTC](https://forum.kirupa.com/t/hp-level/256754 "2008-04-06T23:08:41Z")

</div>

Hi, I was making a game. And was coding the HP of my player. hpDmg = 0 hpLevel = hpMax - hpDmg hpMax = 50 it doesn't work. Proto :hugegrin:

---

## [Simple Flash stuff](https://forum.kirupa.com/t/simple-flash-stuff/256750)

<div class="topic-metadata">

**Author:** [@EvilDryerSheet](https://forum.kirupa.com/u/EvilDryerSheet)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 10:32pm UTC](https://forum.kirupa.com/t/simple-flash-stuff/256750 "2008-04-06T22:32:38Z")

</div>

Im trying to make a full browser flash site and im kinda new to all of this so its not working just right. I have a loader that i need in the center of the page and i have another movie clip in the same spot but there is…

---

## [Nested movieclip with external swf won't play](https://forum.kirupa.com/t/nested-movieclip-with-external-swf-wont-play/256749)

<div class="topic-metadata">

**Author:** [@mcombes](https://forum.kirupa.com/u/mcombes)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 10:18pm UTC](https://forum.kirupa.com/t/nested-movieclip-with-external-swf-wont-play/256749 "2008-04-06T22:18:13Z")

</div>

Hi there, I'm currently working on a web banner for a client. A simple expand banner you can check at \[COLOR=#800080\]http://www.aelios.com/test/\[/COLOR\] . Just rollover on the banner to expand it. The expanded part is …

---

## [\[flashdevelop3\] Filling the browser?!](https://forum.kirupa.com/t/flashdevelop3-filling-the-browser/256746)

<div class="topic-metadata">

**Author:** [@kanaeda](https://forum.kirupa.com/u/kanaeda)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 8:50pm UTC](https://forum.kirupa.com/t/flashdevelop3-filling-the-browser/256746 "2008-04-06T20:50:04Z")

</div>

I don't know if this is a dumb question... But... How would you scale your stage to fit the entire browser in flash develop 3? It doesn't take 100% as stage width and height... I've tried this: stage.scaleMode = St…

---

## [Bizarre Shared Library behavior](https://forum.kirupa.com/t/bizarre-shared-library-behavior/256744)

<div class="topic-metadata">

**Author:** [@tchum](https://forum.kirupa.com/u/tchum)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 8:46pm UTC](https://forum.kirupa.com/t/bizarre-shared-library-behavior/256744 "2008-04-06T20:46:31Z")

</div>

I must be missing something. I'm trying to set up a Shared Library. I created one Symbol, set the Linkage to "Export for runtime sharing" and put it on the stage. Publish, looks great. Whenever I create a second (…

---

## [Problems with scope for newbie!](https://forum.kirupa.com/t/problems-with-scope-for-newbie/256738)

<div class="topic-metadata">

**Author:** [@Boondogger](https://forum.kirupa.com/u/Boondogger)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 6:59pm UTC](https://forum.kirupa.com/t/problems-with-scope-for-newbie/256738 "2008-04-06T18:59:42Z")

</div>

Hi, I'm trying to change a global variable from within a MC. On my main timeline my variable is declared as follows \[COLOR=darkred\]root.Artist="Test";\[/COLOR\] I created a function which randomly selects a frame number…

---

## [Trying to pass variable how can I escape ""](https://forum.kirupa.com/t/trying-to-pass-variable-how-can-i-escape/256733)

<div class="topic-metadata">

**Author:** [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 6:00pm UTC](https://forum.kirupa.com/t/trying-to-pass-variable-how-can-i-escape/256733 "2008-04-06T18:00:44Z")

</div>

AS 2.0 Trying to pass a variable as well and cant seem to escape to pass it. How can I pass using window.open as such: Trying to pass (pid) all i get back is (pid) and not actual pid. How to on a jscommand? someth…

---

## [How to create fluid motion with dynamic variables](https://forum.kirupa.com/t/how-to-create-fluid-motion-with-dynamic-variables/256731)

<div class="topic-metadata">

**Author:** [@samuk](https://forum.kirupa.com/u/samuk)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 5:32pm UTC](https://forum.kirupa.com/t/how-to-create-fluid-motion-with-dynamic-variables/256731 "2008-04-06T17:32:59Z")

</div>

Hi, my brian is refusing to work today. I have a very simple problem but cant for the life of me work it out. I have multiple movieclips on my stage. Im bringing in figures from a xml file which i will used as my movie…

---

## [Page Background Questions](https://forum.kirupa.com/t/page-background-questions/256730)

<div class="topic-metadata">

**Author:** [@briand5](https://forum.kirupa.com/u/briand5)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 5:16pm UTC](https://forum.kirupa.com/t/page-background-questions/256730 "2008-04-06T17:16:45Z")

</div>

I am trying to create a similar effect in my background as this website (not the design but the whole background appears to be in flash, page opens centered horizontally, and there is no horizontal scroll bar): http://…

---

## [Duplicating MCs at Mouse position?](https://forum.kirupa.com/t/duplicating-mcs-at-mouse-position/256729)

<div class="topic-metadata">

**Author:** [@laver2k](https://forum.kirupa.com/u/laver2k)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 4:55pm UTC](https://forum.kirupa.com/t/duplicating-mcs-at-mouse-position/256729 "2008-04-06T16:55:49Z")

</div>

Hi all, sorry to ask such a basic question. Took a break from AS and now struggling to get back into it! Im trying to create a spraycan that when the user holds down the left mouse button, creates foam movieclips at i…

---

## [CenterStage element](https://forum.kirupa.com/t/centerstage-element/256728)

<div class="topic-metadata">

**Author:** [@snozbunny](https://forum.kirupa.com/u/snozbunny)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 4:52pm UTC](https://forum.kirupa.com/t/centerstage-element/256728 "2008-04-06T16:52:48Z")

</div>

I'm a bit new to AS3 (It's just a hobby) and I wanted a opinion regarding how to go about creating a center stage element. I've got two versions so far, one just adds the element from the document class and the second cr…

---

## [MOUSE\_OVER and nested movie clips problem](https://forum.kirupa.com/t/mouse-over-and-nested-movie-clips-problem/256721)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 3:05pm UTC](https://forum.kirupa.com/t/mouse-over-and-nested-movie-clips-problem/256721 "2008-04-06T15:05:31Z")

</div>

Hi, I have a situation where i create a parent movie clip and use addChild() method to add couple more movie clips (circle shapes from library) to it (with space between them naturally since child objects are circles).…

---

## [Symbol association](https://forum.kirupa.com/t/symbol-association/256720)

<div class="topic-metadata">

**Author:** [@Dart](https://forum.kirupa.com/u/Dart)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 3:04pm UTC](https://forum.kirupa.com/t/symbol-association/256720 "2008-04-06T15:04:38Z")

</div>

Hi There, C:-) I have little question, how could i associate two or more MovieClips to one class ? Is it possible ?:egg: Thanks for responses.

---

## [Difficulty trying to load image via binary socket and then display on stage](https://forum.kirupa.com/t/difficulty-trying-to-load-image-via-binary-socket-and-then-display-on-stage/256717)

<div class="topic-metadata">

**Author:** [@dmorison](https://forum.kirupa.com/u/dmorison)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 2:22pm UTC](https://forum.kirupa.com/t/difficulty-trying-to-load-image-via-binary-socket-and-then-display-on-stage/256717 "2008-04-06T14:22:58Z")

</div>

Hi all, Hopefully someone can help. I'm trying to connect to a Java socket server on another pc on my network via a binary socket in AS3. I would like to be able to download an image from the java server and display …

---

## [Dragging up and down only and left and right only](https://forum.kirupa.com/t/dragging-up-and-down-only-and-left-and-right-only/256716)

<div class="topic-metadata">

**Author:** [@Brucelines](https://forum.kirupa.com/u/Brucelines)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 2:09pm UTC](https://forum.kirupa.com/t/dragging-up-and-down-only-and-left-and-right-only/256716 "2008-04-06T14:09:21Z")

</div>

I have a movieclip in the centre of a cross and want to make it move only along the lines of that cross. Is this possible with startDrag or do I need more complicated method? To illustrate: \[image\] If you've moved …

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

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