# programming

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

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

**Page:** 868

---

## [Using a variable in a URL Request](https://forum.kirupa.com/t/using-a-variable-in-a-url-request/285144)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 3:07pm UTC](https://forum.kirupa.com/t/using-a-variable-in-a-url-request/285144 "2009-03-27T15:07:03Z")

</div>

In AS2 to create a URL that would change depending on the current movie being viewed I would create variable and use this to make up the path, I can't get this working in AS3, what do I need to do to make this work? I …

---

## [Shape Tween?](https://forum.kirupa.com/t/shape-tween/285143)

<div class="topic-metadata">

**Author:** [@losse](https://forum.kirupa.com/u/losse)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 2:59pm UTC](https://forum.kirupa.com/t/shape-tween/285143 "2009-03-27T14:59:47Z")

</div>

Hi I have a logo that when "on mouse over" I want to make it look like it's inflating. So if you can imagine, the effect being like the logo looking flat and on mouse over it almost bubbles. I have 2 images of both stat…

---

## [Dynamic size carousel](https://forum.kirupa.com/t/dynamic-size-carousel/285142)

<div class="topic-metadata">

**Author:** [@Pezfish](https://forum.kirupa.com/u/Pezfish)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 2:57pm UTC](https://forum.kirupa.com/t/dynamic-size-carousel/285142 "2009-03-27T14:57:50Z")

</div>

I'm setting up a vertical carousel in and am having a problem getting the images to be the right size with a variable amount of items. If I wanted all of the images to be a set size of 200 x 200 when they are front facin…

---

## [Shared fonts problem](https://forum.kirupa.com/t/shared-fonts-problem/285141)

<div class="topic-metadata">

**Author:** [@wazz](https://forum.kirupa.com/u/wazz)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 2:11pm UTC](https://forum.kirupa.com/t/shared-fonts-problem/285141 "2009-03-27T14:11:38Z")

</div>

I have done a tutorial about sharing fonts. Everything is working great except that some fonts won't display... Does anyone know why ? Here is the tutorial : http://blog.sitedaniel.com/2008/10/f...-font-library/ Jus…

---

## [Convert string to regExp, how?](https://forum.kirupa.com/t/convert-string-to-regexp-how/285139)

<div class="topic-metadata">

**Author:** [@ChirreD](https://forum.kirupa.com/u/ChirreD)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 1:31pm UTC](https://forum.kirupa.com/t/convert-string-to-regexp-how/285139 "2009-03-27T13:31:11Z")

</div>

Hi fellow Flashers, Does anyone here know how to convert a string to a regular expression? Right now if I try to convert a string to a regexp, the regular expression ends up with a / in front and a /g in the back.

---

## [How To Use PHP, MySQL and Dynamic XML to display Dynamic table in HTML](https://forum.kirupa.com/t/how-to-use-php-mysql-and-dynamic-xml-to-display-dynamic-table-in-html/285138)

<div class="topic-metadata">

**Author:** [@Vova1981](https://forum.kirupa.com/u/Vova1981)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 1:19pm UTC](https://forum.kirupa.com/t/how-to-use-php-mysql-and-dynamic-xml-to-display-dynamic-table-in-html/285138 "2009-03-27T13:19:06Z")

</div>

Hi, I am quite new in programming and have a question. I need to be able to connect to a MYSQL database (which I did), parse the data into an array table and then modify the data to be displayed in an HTML table by usin…

---

## [Can't click on Subclass display object, help?](https://forum.kirupa.com/t/cant-click-on-subclass-display-object-help/285136)

<div class="topic-metadata">

**Author:** [@Hunson](https://forum.kirupa.com/u/Hunson)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 1:17pm UTC](https://forum.kirupa.com/t/cant-click-on-subclass-display-object-help/285136 "2009-03-27T13:17:56Z")

</div>

I got this as a subclass, basically it's a movieclip on top and a loader on the bottom. public function WorkThumb(namer:String, desc:String, url:String, thumb:String, num:uint) { addChild(loader\_mc…

---

## [HELP..as2 masking menu](https://forum.kirupa.com/t/help-as2-masking-menu/285134)

<div class="topic-metadata">

**Author:** [@OL1VER](https://forum.kirupa.com/u/OL1VER)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 12:58pm UTC](https://forum.kirupa.com/t/help-as2-masking-menu/285134 "2009-03-27T12:58:30Z")

</div>

Hi guys.. In need of a little help with some action-scripting, I'm creating a menu to go on a page of my site, I'm using actionscript 2 and pulling the information on the menu from an xml file. At the moment, when i h…

---

## [Retrieving image data for flash use](https://forum.kirupa.com/t/retrieving-image-data-for-flash-use/285133)

<div class="topic-metadata">

**Author:** [@Kirbyprime](https://forum.kirupa.com/u/Kirbyprime)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 12:51pm UTC](https://forum.kirupa.com/t/retrieving-image-data-for-flash-use/285133 "2009-03-27T12:51:59Z")

</div>

Hi, I have a question that I'm wondering if anyone knows the answer to, not exactly sure if this goes into the realm of PHP or AS3 but I would assume that it would be a problem for AS3 moreso than PHPers. Generally,…

---

## [Dynamictextfield with image links not working?](https://forum.kirupa.com/t/dynamictextfield-with-image-links-not-working/285131)

<div class="topic-metadata">

**Author:** [@richarddd](https://forum.kirupa.com/u/richarddd)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 12:00pm UTC](https://forum.kirupa.com/t/dynamictextfield-with-image-links-not-working/285131 "2009-03-27T12:00:32Z")

</div>

Hello! How come I cant click the image in my dynamic textfield when i've wrapped the \<a href\> tag around it? Nothing happens? I've searched on google, but couldn't find a decent answer. Thanks! Richard Davison

---

## [How to restrict SWF](https://forum.kirupa.com/t/how-to-restrict-swf/285129)

<div class="topic-metadata">

**Author:** [@jcanistrum](https://forum.kirupa.com/u/jcanistrum)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 11:11am UTC](https://forum.kirupa.com/t/how-to-restrict-swf/285129 "2009-03-27T11:11:38Z")

</div>

to be loaded by just one .html ?? I have one book which was converted page to swf. Each swf will be inside one .html, pag1.html contains pag1.swf, I´d like to avoid the direct url reference to pag1.swf. Any way…

---

## [Hi guys i am facing some problem in my fla file](https://forum.kirupa.com/t/hi-guys-i-am-facing-some-problem-in-my-fla-file/285127)

<div class="topic-metadata">

**Author:** [@Vishwesh](https://forum.kirupa.com/u/Vishwesh)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 9:38am UTC](https://forum.kirupa.com/t/hi-guys-i-am-facing-some-problem-in-my-fla-file/285127 "2009-03-27T09:38:45Z")

</div>

Hi guys i have created a map of India and i am calling different .swf's from outside but in some area the pointer disappears what can i do

---

## [Special characters and legacy swf's](https://forum.kirupa.com/t/special-characters-and-legacy-swfs/285125)

<div class="topic-metadata">

**Author:** [@fried](https://forum.kirupa.com/u/fried)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 8:08am UTC](https://forum.kirupa.com/t/special-characters-and-legacy-swfs/285125 "2009-03-27T08:08:20Z")

</div>

Hi there, I am working on a project which makes use of a lot of as 1 code, and is published for flash player 5. I built a menu, which loads some of these files in at runtime. I overlooked the fact that these as1 files …

---

## [DOMXML question!](https://forum.kirupa.com/t/domxml-question/285122)

<div class="topic-metadata">

**Author:** [@mhase](https://forum.kirupa.com/u/mhase)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 7:24am UTC](https://forum.kirupa.com/t/domxml-question/285122 "2009-03-27T07:24:36Z")

</div>

How would it be possible to access the value stored within the child of a child element? To access the children, I am currently using: function extractText($array){ if(count($array) \<= 1){ for ($i = 0; $i\<c…

---

## [Getting XML data... not working!](https://forum.kirupa.com/t/getting-xml-data-not-working/285120)

<div class="topic-metadata">

**Author:** [@nxsd](https://forum.kirupa.com/u/nxsd)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 6:33am UTC](https://forum.kirupa.com/t/getting-xml-data-not-working/285120 "2009-03-27T06:33:21Z")

</div>

Ok so I have some XML loaded, but for some reason I can't access the data in it. I've tried everything (or so I think). If anyone can let me know how to access the text in the 'content' tags, that would be much appreci…

---

## [General programming question about return](https://forum.kirupa.com/t/general-programming-question-about-return/285114)

<div class="topic-metadata">

**Author:** [@greetification](https://forum.kirupa.com/u/greetification)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 4:41am UTC](https://forum.kirupa.com/t/general-programming-question-about-return/285114 "2009-03-27T04:41:36Z")

</div>

Hi all, I had a basic programming question: Is it better to data type a function that doesn't return anything to :void, or should you just use return even if you aren't returning anything? function test(theObj:Object)…

---

## [Return](https://forum.kirupa.com/t/return/285110)

<div class="topic-metadata">

**Author:** [@greetification](https://forum.kirupa.com/u/greetification)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 3:28am UTC](https://forum.kirupa.com/t/return/285110 "2009-03-27T03:28:59Z")

</div>

\*I think I posted this in the wrong section. Re-posting in the AS3 section. Hi all, I had a basic programming question: Is it better to data type a function that doesn't return anything to :void, or should you just use…

---

## [Type conversion problem](https://forum.kirupa.com/t/type-conversion-problem/285107)

<div class="topic-metadata">

**Author:** [@gmathur](https://forum.kirupa.com/u/gmathur)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 2:04am UTC](https://forum.kirupa.com/t/type-conversion-problem/285107 "2009-03-27T02:04:26Z")

</div>

var myArray:Array = \["abc", "xyz"\]; //In the library I have a MC with the linkage class 'abc' //so to generate a new instance of abc i wish to use addChild(new myArray\[0\]()); Can somebody suggest the correct AS3 co…

---

## [Complicated and Confusing Issue](https://forum.kirupa.com/t/complicated-and-confusing-issue/285105)

<div class="topic-metadata">

**Author:** [@StephPaq](https://forum.kirupa.com/u/StephPaq)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 12:55am UTC](https://forum.kirupa.com/t/complicated-and-confusing-issue/285105 "2009-03-27T00:55:39Z")

</div>

I've searched this forum and many others looking for some help with something I'm working on. I have a photography website that I created entirely in Flash CS3 using Actionscript 2.0, everything works great..except the…

---

## [How can i use more than one font, size or color on one line of text in AS3](https://forum.kirupa.com/t/how-can-i-use-more-than-one-font-size-or-color-on-one-line-of-text-in-as3/285102)

<div class="topic-metadata">

**Author:** [@spctom](https://forum.kirupa.com/u/spctom)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 12:53am UTC](https://forum.kirupa.com/t/how-can-i-use-more-than-one-font-size-or-color-on-one-line-of-text-in-as3/285102 "2009-03-27T00:53:26Z")

</div>

Hi Guys I'm a noob, so please forgive me if i'm asking something really stupid! I'm doing a group project and i've just got the code from someone else, so i can add my part. I am trying to add text in actionscript …

---

## [XML noob questions](https://forum.kirupa.com/t/xml-noob-questions/285097)

<div class="topic-metadata">

**Author:** [@celicasaur](https://forum.kirupa.com/u/celicasaur)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 12:05am UTC](https://forum.kirupa.com/t/xml-noob-questions/285097 "2009-03-27T00:05:55Z")

</div>

I've just made my first sitemap, woohoo!! Ok, I've had it checked on the w3schools xml validator and it's happy with the blurb I've written. I just have a few questions now as to how I should use this for the SEO benef…

---

## [Problem replaying FLVPlayback](https://forum.kirupa.com/t/problem-replaying-flvplayback/285096)

<div class="topic-metadata">

**Author:** [@souzagabr](https://forum.kirupa.com/u/souzagabr)\
**Replies:** 0\
**Last updated:** [March 27, 2009, 12:01am UTC](https://forum.kirupa.com/t/problem-replaying-flvplayback/285096 "2009-03-27T00:01:06Z")

</div>

Hi, My main SWF adds to the stage an external SWF that has this code: import fl.video.\*; var myVideo:FLVPlayback = new FLVPlayback(); myVideo.source = "video.flv"; myVideo.skin = "SkinOverPlayStopSeekFullVol.swf"; …

---

## [How to replace \_global in AS3?](https://forum.kirupa.com/t/how-to-replace--global-in-as3/285094)

<div class="topic-metadata">

**Author:** [@nxsd](https://forum.kirupa.com/u/nxsd)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 11:25pm UTC](https://forum.kirupa.com/t/how-to-replace--global-in-as3/285094 "2009-03-26T23:25:04Z")

</div>

I need to access variable in one movie clip from another movie clip. I read somewhere to used public packages and classes but don't really know what they are or how to use them. I tried the code below and got the error…

---

## [How to run Hello World in Zend Framework?](https://forum.kirupa.com/t/how-to-run-hello-world-in-zend-framework/285091)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 10:55pm UTC](https://forum.kirupa.com/t/how-to-run-hello-world-in-zend-framework/285091 "2009-03-26T22:55:30Z")

</div>

I downloaded \[Zend's Hello World tutorial and don't know how to run it. Dreamweaver shows that there's a public folder with index.php in it but when I open up the application in Firefox, that folder is not shown. I typ…

---

## [What do you think of the AS3 site?](https://forum.kirupa.com/t/what-do-you-think-of-the-as3-site/285090)

<div class="topic-metadata">

**Author:** [@surgicalaplomb](https://forum.kirupa.com/u/surgicalaplomb)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 10:25pm UTC](https://forum.kirupa.com/t/what-do-you-think-of-the-as3-site/285090 "2009-03-26T22:25:11Z")

</div>

www.surgicalaplomb.com Please be honest, we have worked bloody hard on this. Thanks

---

## [How do I do this Font animation?](https://forum.kirupa.com/t/how-do-i-do-this-font-animation/285085)

<div class="topic-metadata">

**Author:** [@guitarplayer08](https://forum.kirupa.com/u/guitarplayer08)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 9:43pm UTC](https://forum.kirupa.com/t/how-do-i-do-this-font-animation/285085 "2009-03-26T21:43:55Z")

</div>

http://www.style.com/video Before the main video plays there is this quick opening animations of the word "style.com". It has fades and stuff. I was wondering how can I do this in Flash or in Actionscript. Please …

---

## [Easy question..probably (mouse over a MC)](https://forum.kirupa.com/t/easy-question-probably-mouse-over-a-mc/285084)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 9:32pm UTC](https://forum.kirupa.com/t/easy-question-probably-mouse-over-a-mc/285084 "2009-03-26T21:32:21Z")

</div>

Ok I cant see this being really hard, but cant find how to do it. I have a volume slider. When the user drops the slider I want to test if they are over the volume slider or not. If they are over the slider, dont fade …

---

## [Search PDF text](https://forum.kirupa.com/t/search-pdf-text/285081)

<div class="topic-metadata">

**Author:** [@afisette](https://forum.kirupa.com/u/afisette)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 9:10pm UTC](https://forum.kirupa.com/t/search-pdf-text/285081 "2009-03-26T21:10:09Z")

</div>

Hello, I was wondering if it is possible to have a search button in a flash movie to be able to search text in some external PDF files. For example, I have a flash movie main.swf and 10 pdf files in a sub directory, …

---

## [.flv with .swf animation in CS4](https://forum.kirupa.com/t/flv-with-swf-animation-in-cs4/285080)

<div class="topic-metadata">

**Author:** [@cleepa](https://forum.kirupa.com/u/cleepa)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 8:13pm UTC](https://forum.kirupa.com/t/flv-with-swf-animation-in-cs4/285080 "2009-03-26T20:13:11Z")

</div>

I have a 3 minute video in .flv format of a person speaking against a white background. It's bound for a company landing page and I want to add some animation to the side of it in Flash. What's the best way to accompl…

---

## [Adding Quotes in AS3](https://forum.kirupa.com/t/adding-quotes-in-as3/285079)

<div class="topic-metadata">

**Author:** [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Replies:** 0\
**Last updated:** [March 26, 2009, 8:04pm UTC](https://forum.kirupa.com/t/adding-quotes-in-as3/285079 "2009-03-26T20:04:32Z")

</div>

I want to do this tText.text = " "Hey!" "; would display as: "HEY" how do i do this?

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

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