# programming

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

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

**Page:** 720

---

## [Importing swfs via XML](https://forum.kirupa.com/t/importing-swfs-via-xml/294760)

<div class="topic-metadata">

**Author:** [@arsenalfc](https://forum.kirupa.com/u/arsenalfc)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 2:09pm UTC](https://forum.kirupa.com/t/importing-swfs-via-xml/294760 "2009-08-19T14:09:03Z")

</div>

Can someone help me amend this code so that I can feed swfs in through the xml? At the minute it's only letting me put jpegs on the stage, I get an error when I try swfs. // import tweener import caurina.transition…

---

## [How does the pathfinder in warcraft3 work?](https://forum.kirupa.com/t/how-does-the-pathfinder-in-warcraft3-work/294759)

<div class="topic-metadata">

**Author:** [@messy](https://forum.kirupa.com/u/messy)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 1:47pm UTC](https://forum.kirupa.com/t/how-does-the-pathfinder-in-warcraft3-work/294759 "2009-08-19T13:47:57Z")

</div>

I'm not sure the way of pathfinding in warcraft3. I found that when i ask a grunt goes from A island to B island ,it can find a way ,but the way isn't correct.Finally, the grunt will stay in the border of the A island. …

---

## [3D-movement on mouseover](https://forum.kirupa.com/t/3d-movement-on-mouseover/294756)

<div class="topic-metadata">

**Author:** [@2w1w2w](https://forum.kirupa.com/u/2w1w2w)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 1:13pm UTC](https://forum.kirupa.com/t/3d-movement-on-mouseover/294756 "2009-08-19T13:13:46Z")

</div>

Hi, could somebody help me please. How to do the movement like at the following site: http://coraline.com/#/?page=bobinsky&subPage=0 Many thanks for your help.

---

## [Resizing Flash content in a browser](https://forum.kirupa.com/t/resizing-flash-content-in-a-browser/294755)

<div class="topic-metadata">

**Author:** [@dst1](https://forum.kirupa.com/u/dst1)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 12:51pm UTC](https://forum.kirupa.com/t/resizing-flash-content-in-a-browser/294755 "2009-08-19T12:51:12Z")

</div>

I have flash content online that is 1024x800 px but need it to resize/scale dynamically if the browser window is resized or someone with a browser height of less than 800 visits the website. Been looking at stage.resiz…

---

## [\[AS2\] setMask 2 times on same mc](https://forum.kirupa.com/t/as2-setmask-2-times-on-same-mc/294747)

<div class="topic-metadata">

**Author:** [@zahari4i](https://forum.kirupa.com/u/zahari4i)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:59am UTC](https://forum.kirupa.com/t/as2-setmask-2-times-on-same-mc/294747 "2009-08-19T10:59:28Z")

</div>

Hi guys, Suppose I have 3 mc's : mc1, mc2 and mc3. trying to do mc1.setMask(mc2) works fine. then if I try to apply another mask on mc1, the last mask will work but the first one already applied will not. So: mc1…

---

## [UnloadMovie problem](https://forum.kirupa.com/t/unloadmovie-problem/294745)

<div class="topic-metadata">

**Author:** [@Centifolia](https://forum.kirupa.com/u/Centifolia)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:53am UTC](https://forum.kirupa.com/t/unloadmovie-problem/294745 "2009-08-19T10:53:19Z")

</div>

hi - I have a movieclip where a movie is being loaded and which can be closed via a close button. This works fine with the following script: var quiz = this.createEmptyMovieClip("quiz", this.getNextHighestDepth()); qu…

---

## [getUrl{} not working - flash CS3](https://forum.kirupa.com/t/geturl-not-working-flash-cs3/294744)

<div class="topic-metadata">

**Author:** [@Vidya\_V](https://forum.kirupa.com/u/Vidya_V)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:47am UTC](https://forum.kirupa.com/t/geturl-not-working-flash-cs3/294744 "2009-08-19T10:47:54Z")

</div>

I want 2 open an image in a blank window, when user clicks on the button. I used the following coding to the button: on (Press) { getURL("www.domainname.com; } But the above code is not working , when i click o…

---

## [Anchor issue in Firefox](https://forum.kirupa.com/t/anchor-issue-in-firefox/294742)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:11am UTC](https://forum.kirupa.com/t/anchor-issue-in-firefox/294742 "2009-08-19T10:11:02Z")

</div>

Hi, I have used anchors in a project and when viewed in IE the work fine. The problem is when the site is viewed in Firefox, Safari & Chrome the anchors stop working. Can anyone help? Cheers Phil

---

## [Flash CS4 Trial](https://forum.kirupa.com/t/flash-cs4-trial/294741)

<div class="topic-metadata">

**Author:** [@hungryOrb](https://forum.kirupa.com/u/hungryOrb)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:59am UTC](https://forum.kirupa.com/t/flash-cs4-trial/294741 "2009-08-19T09:59:19Z")

</div>

Hi all, I installed the trial version of CS4, but have only gotten time to try it a handful of times out of the month's entire trial. I guess I should reinstall it to get some more of the time, but does anyone know how t…

---

## [AS 2: font from shared library](https://forum.kirupa.com/t/as-2-font-from-shared-library/294740)

<div class="topic-metadata">

**Author:** [@Ghostbob](https://forum.kirupa.com/u/Ghostbob)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:10am UTC](https://forum.kirupa.com/t/as-2-font-from-shared-library/294740 "2009-08-19T09:10:49Z")

</div>

Need to load font from shared library, to use it in main application then needed. Problem - do not work in IE7 and IE8. all working fine in FF. Problem it'self: code from loaded swf do not run. Explanation: file: aria…

---

## [My own scroller works. Now want to add 'click scrolling'](https://forum.kirupa.com/t/my-own-scroller-works-now-want-to-add-click-scrolling/294737)

<div class="topic-metadata">

**Author:** [@Pietro\_2003](https://forum.kirupa.com/u/Pietro_2003)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 8:20am UTC](https://forum.kirupa.com/t/my-own-scroller-works-now-want-to-add-click-scrolling/294737 "2009-08-19T08:20:13Z")

</div>

... and don't know how to. What would be the best way to do it? I want to be able to click in the area below/above the scroller mc to advance the scrolling in jumps (to a predetermined y-value or by x amount of pixels…

---

## [CS4 animation issue](https://forum.kirupa.com/t/cs4-animation-issue/294733)

<div class="topic-metadata">

**Author:** [@flexNoob2009](https://forum.kirupa.com/u/flexNoob2009)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 7:34am UTC](https://forum.kirupa.com/t/cs4-animation-issue/294733 "2009-08-19T07:34:06Z")

</div>

Please note that the below issue doesn't happen with Flash CS3. I've only stumbled upon it after switching to CS4. I've got a MovieClip in my FLA called testClip. Inside testClip is another MovieClip named testAnimatio…

---

## [Problem with passing url's for URLRequest() class in Flash](https://forum.kirupa.com/t/problem-with-passing-urls-for-urlrequest-class-in-flash/294732)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 7:33am UTC](https://forum.kirupa.com/t/problem-with-passing-urls-for-urlrequest-class-in-flash/294732 "2009-08-19T07:33:34Z")

</div>

Hi all, I am calling java servlets from flash using the following code\[below is a sample Flash code for calling a java servlet in Flash which I am using\]: ...bla ...bla String url\_String="http://localhost:8080/servlet…

---

## [International Characters / Embed Fonts / Reading XML / HTML Rendering in Flash](https://forum.kirupa.com/t/international-characters-embed-fonts-reading-xml-html-rendering-in-flash/294731)

<div class="topic-metadata">

**Author:** [@naylor](https://forum.kirupa.com/u/naylor)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 7:28am UTC](https://forum.kirupa.com/t/international-characters-embed-fonts-reading-xml-html-rendering-in-flash/294731 "2009-08-19T07:28:32Z")

</div>

Hey Everyone! This is my first post here - kirupa seems like the obvious place to seek out reliable information from what I've researched! First off, as the forum requested, I am using Flash MX 2004 (ActionScript 2.0…

---

## [\[as2 cs4\]Need help with an flash contact form](https://forum.kirupa.com/t/as2-cs4-need-help-with-an-flash-contact-form/294725)

<div class="topic-metadata">

**Author:** [@Ensomniak](https://forum.kirupa.com/u/Ensomniak)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 5:30am UTC](https://forum.kirupa.com/t/as2-cs4-need-help-with-an-flash-contact-form/294725 "2009-08-19T05:30:30Z")

</div>

I hope this is the best section to put this question in as this form also uses php. I am somewhat of a novice with both AS2 and PHP, but I've been trying. I suppose I'd need someone to check both my php information and…

---

## [Help with coding an action](https://forum.kirupa.com/t/help-with-coding-an-action/294723)

<div class="topic-metadata">

**Author:** [@Zez112](https://forum.kirupa.com/u/Zez112)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 3:21am UTC](https://forum.kirupa.com/t/help-with-coding-an-action/294723 "2009-08-19T03:21:08Z")

</div>

Ok I'm not so good at coding so any help is greatly appreciated. I have an RSS feed thing made in flash. It works great except every the page is reloaded you have to click a button to get the feed to show up. Can some…

---

## [Problem with number characters](https://forum.kirupa.com/t/problem-with-number-characters/294720)

<div class="topic-metadata">

**Author:** [@bpalermo](https://forum.kirupa.com/u/bpalermo)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 11:29pm UTC](https://forum.kirupa.com/t/problem-with-number-characters/294720 "2009-08-18T23:29:49Z")

</div>

Hello, I have a Flash movie that calls up a PHP file that throws a dice and returns results (rolls and the user who rolled). All variables are read, they are being loaded normally, but I have one problem. One of the va…

---

## [Updating an AS2 slider bar](https://forum.kirupa.com/t/updating-an-as2-slider-bar/294719)

<div class="topic-metadata">

**Author:** [@architortured](https://forum.kirupa.com/u/architortured)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 10:46pm UTC](https://forum.kirupa.com/t/updating-an-as2-slider-bar/294719 "2009-08-18T22:46:36Z")

</div>

Hello, I am new to the forums, as well as to Flash, and I had a question. I am just learning AS3, and have no idea whatsoever about the differences between 2 and 3. There is a bit of code from http://flashexplained.com/m…

---

## [Import Flex Components in Actionscript file](https://forum.kirupa.com/t/import-flex-components-in-actionscript-file/294718)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 10:18pm UTC](https://forum.kirupa.com/t/import-flex-components-in-actionscript-file/294718 "2009-08-18T22:18:25Z")

</div>

I have Flash CS4 and Flex 3 installed on my Mac. I was wondering if there is a way to import mx.collections.ArrayCollection in an actionscript file?

---

## [XML Attributes and XSL](https://forum.kirupa.com/t/xml-attributes-and-xsl/294771)

<div class="topic-metadata">

**Author:** [@jrreedy16](https://forum.kirupa.com/u/jrreedy16)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 10:08pm UTC](https://forum.kirupa.com/t/xml-attributes-and-xsl/294771 "2009-08-18T22:08:26Z")

</div>

Anyone have any suggestions on some XSL I can write to pull the data out of the nodes using the attributes for each node? I'm trying to get the data between \<Answer\>\</Answer\> using the attributes through XSL. I know i…

---

## [Not receiving COMPLETE event in URLLoader](https://forum.kirupa.com/t/not-receiving-complete-event-in-urlloader/294717)

<div class="topic-metadata">

**Author:** [@jdoe](https://forum.kirupa.com/u/jdoe)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 9:59pm UTC](https://forum.kirupa.com/t/not-receiving-complete-event-in-urlloader/294717 "2009-08-18T21:59:56Z")

</div>

Hi: I'm querying a web application in a remote server through XML files and receiving answers in the same file format. Until now, sometimes I received a connection error: Error #2044: Unhandled ioError:. text=Error #…

---

## [Preset tweens](https://forum.kirupa.com/t/preset-tweens/294716)

<div class="topic-metadata">

**Author:** [@AcolyTe](https://forum.kirupa.com/u/AcolyTe)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 9:57pm UTC](https://forum.kirupa.com/t/preset-tweens/294716 "2009-08-18T21:57:55Z")

</div>

Is there a way to combine tween presets with actionscript tweens?

---

## [How to stop sound file](https://forum.kirupa.com/t/how-to-stop-sound-file/294713)

<div class="topic-metadata">

**Author:** [@Centifolia](https://forum.kirupa.com/u/Centifolia)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 9:52pm UTC](https://forum.kirupa.com/t/how-to-stop-sound-file/294713 "2009-08-18T21:52:27Z")

</div>

hi - in a movieclip I have several buttons which play different mp3 files. How can I manage that one file stops as soon as I click on another one? Right now there is an overlapping of all sound files. Here is the code…

---

## [External Text vs UIScrollbar](https://forum.kirupa.com/t/external-text-vs-uiscrollbar/294712)

<div class="topic-metadata">

**Author:** [@Leviant](https://forum.kirupa.com/u/Leviant)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 9:49pm UTC](https://forum.kirupa.com/t/external-text-vs-uiscrollbar/294712 "2009-08-18T21:49:13Z")

</div>

Hi! I'm in desperate need of some help! I am trying to load some external text, from a .txt file, into a dynamic textfield inside of Flash. Because the text will be pretty long, I have decided to use a scrollbar, a UIS…

---

## [XML populated hyperlink](https://forum.kirupa.com/t/xml-populated-hyperlink/294708)

<div class="topic-metadata">

**Author:** [@Spykes](https://forum.kirupa.com/u/Spykes)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 8:25pm UTC](https://forum.kirupa.com/t/xml-populated-hyperlink/294708 "2009-08-18T20:25:48Z")

</div>

I am working on a new rotator for an RSS feed. One of the fields I am displaying in the rotator is an article description. After the description, I would like to add a hyperlink that links to the page referenced. The lin…

---

## [Error #1009: null object reference](https://forum.kirupa.com/t/error-1009-null-object-reference/294706)

<div class="topic-metadata">

**Author:** [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 7:59pm UTC](https://forum.kirupa.com/t/error-1009-null-object-reference/294706 "2009-08-18T19:59:48Z")

</div>

I think I'm getting close on this, but I keep getting the error message that reads: "TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.realeyes.media::AS3videoPlayer() " I…

---

## [Creating an External Links Page](https://forum.kirupa.com/t/creating-an-external-links-page/294705)

<div class="topic-metadata">

**Author:** [@Ebreezesoccer](https://forum.kirupa.com/u/Ebreezesoccer)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 7:55pm UTC](https://forum.kirupa.com/t/creating-an-external-links-page/294705 "2009-08-18T19:55:27Z")

</div>

I am wanting to load my links for my website from an external file so I dont have to update every page just one when a link changes. I am having trouble finding a tutorial to do this can anyone point me in the right dir…

---

## [Loading a SWF into a Movieclip with XML](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-with-xml/294701)

<div class="topic-metadata">

**Author:** [@NielsNiels](https://forum.kirupa.com/u/NielsNiels)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 7:00pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-with-xml/294701 "2009-08-18T19:00:00Z")

</div>

Hey guys.. I hope you can help me out! I got some kind of fotoviewer.. it gets the text (under each picture there is a text which is clickable; it opens an URL) and the pictures from an external XML. Now I'd like to …

---

## [AS3:Merging Class-Based with Timeline Code](https://forum.kirupa.com/t/as3-merging-class-based-with-timeline-code/294699)

<div class="topic-metadata">

**Author:** [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 6:52pm UTC](https://forum.kirupa.com/t/as3-merging-class-based-with-timeline-code/294699 "2009-08-18T18:52:54Z")

</div>

My frustration with AS3 is mounting. This whole class-based approach is pretty confusing, but doubly confusing when you see so much time-line based AS3, and need to merge code snippets from one into another. Is there …

---

## [Reminder: Adobe needs users for Flash video & button studies: get an Amazon gift card](https://forum.kirupa.com/t/reminder-adobe-needs-users-for-flash-video-button-studies-get-an-amazon-gift-card/294696)

<div class="topic-metadata">

**Author:** [@Jay\_Armstrong](https://forum.kirupa.com/u/Jay_Armstrong)\
**Replies:** 0\
**Last updated:** [August 18, 2009, 6:11pm UTC](https://forum.kirupa.com/t/reminder-adobe-needs-users-for-flash-video-button-studies-get-an-amazon-gift-card/294696 "2009-08-18T18:11:10Z")

</div>

Adobe is looking for participants for a brief (~1 hour) online work observation and interview. Compensation will be a $100 Amazon gift card. There are two sets of criteria, each applying to a different study. Read the …

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

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