# programming

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

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

**Page:** 1229

---

## [Regular Expression](https://forum.kirupa.com/t/regular-expression/261053)

<div class="topic-metadata">

**Author:** [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 5:54pm UTC](https://forum.kirupa.com/t/regular-expression/261053 "2008-05-22T17:54:35Z")

</div>

How to replace white spaces between html tags? I have \<b\>My little text\</b\> and I want to do a RegExp/replace match that returns \<b\>Mylittletext\</b\>. Any other white spaces must be left intact.

---

## [Spinner (Flex)](https://forum.kirupa.com/t/spinner-flex/260910)

<div class="topic-metadata">

**Author:** [@bitwise](https://forum.kirupa.com/u/bitwise)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 5:04pm UTC](https://forum.kirupa.com/t/spinner-flex/260910 "2008-05-22T17:04:51Z")

</div>

Hi all -- first post here, I'm relatively new to the AS3/Flex world so there will likely be glaring issues with the code in question below. All constructive feedback is welcome. I have a task to build a spinning wheel…

---

## [Bounce, Collide, Bounce again?](https://forum.kirupa.com/t/bounce-collide-bounce-again/260346)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 3\
**Last updated:** [May 22, 2008, 5:01pm UTC](https://forum.kirupa.com/t/bounce-collide-bounce-again/260346 "2008-05-22T17:01:20Z")

</div>

Hi! Flash 8 Actionscript question: I'm trying to figure out how to get 2 (or more) movie clips to bounce off each other and it's a bit frustrating since I'm just learning HitTest etc. What I have: I have 2 movie…

---

## [REALLY annoying Flash CS3 bug](https://forum.kirupa.com/t/really-annoying-flash-cs3-bug/261034)

<div class="topic-metadata">

**Author:** [@Axauv](https://forum.kirupa.com/u/Axauv)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 8:19am UTC](https://forum.kirupa.com/t/really-annoying-flash-cs3-bug/261034 "2008-05-22T08:19:16Z")

</div>

i'm not sure how i stumbled into this... but now whenever i replace library items, like PNGs (i make multiple characters with the same frames, so i often drag in like 50 PNGs to simply overwrite the library items and sav…

---

## [PHP wont parse files where I make odbc\_connects](https://forum.kirupa.com/t/php-wont-parse-files-where-i-make-odbc-connects/261032)

<div class="topic-metadata">

**Author:** [@praxiz](https://forum.kirupa.com/u/praxiz)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 8:13am UTC](https://forum.kirupa.com/t/php-wont-parse-files-where-i-make-odbc-connects/261032 "2008-05-22T08:13:35Z")

</div>

Running Ubuntu 8.04, PHP 5.2.4 and remotely connecting to a Windows SQL 2005 Server. My script in test.php $connect = odbc\_connect("SQLSERVER", "user", "pass"); $query = "SELECT CAST(heading AS TEXT) AS heading FROM…

---

## [Label\_txt disapearing after color change](https://forum.kirupa.com/t/label-txt-disapearing-after-color-change/260944)

<div class="topic-metadata">

**Author:** [@theoneneo](https://forum.kirupa.com/u/theoneneo)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 7:40am UTC](https://forum.kirupa.com/t/label-txt-disapearing-after-color-change/260944 "2008-05-22T07:40:48Z")

</div>

Hello, I am making an drop down menu that changes color when you click on an certain button (that is the frame) and that is done (with the code below) the only problem is that it overrides the label\_txt (an text box o…

---

## [Dynamic MC referencing](https://forum.kirupa.com/t/dynamic-mc-referencing/260997)

<div class="topic-metadata">

**Author:** [@bobllama](https://forum.kirupa.com/u/bobllama)\
**Replies:** 2\
**Last updated:** [May 22, 2008, 7:02am UTC](https://forum.kirupa.com/t/dynamic-mc-referencing/260997 "2008-05-22T07:02:34Z")

</div>

Howdy all... Fried and trying to get a fairly simple thing put together, maybe you can help me out. Very simple: I have 45 instances of a little animated movieclip on the stage. I'm trying to get them to play at st…

---

## [gotoPage in page flip v2](https://forum.kirupa.com/t/gotopage-in-page-flip-v2/261024)

<div class="topic-metadata">

**Author:** [@4gotten](https://forum.kirupa.com/u/4gotten)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 5:49am UTC](https://forum.kirupa.com/t/gotopage-in-page-flip-v2/261024 "2008-05-22T05:49:31Z")

</div>

hello! maybe you could help me, to work with gotoPage in page flip v2. i'm having a table of contents, which i want to turn the pages in exact page.. thnks!

---

## [Music flash/ Development help](https://forum.kirupa.com/t/music-flash-development-help/260959)

<div class="topic-metadata">

**Author:** [@ryan\_mckenzie](https://forum.kirupa.com/u/ryan_mckenzie)\
**Replies:** 9\
**Last updated:** [May 22, 2008, 5:35am UTC](https://forum.kirupa.com/t/music-flash-development-help/260959 "2008-05-22T05:35:31Z")

</div>

Well, it's a very strange idea, you may call it more of an animation than a game, but I wanted to bring music and passionate art into interactivity. There is something much more interesting when playing as a stickman, ra…

---

## [Accesing mxml components from AS class (flex 3)](https://forum.kirupa.com/t/accesing-mxml-components-from-as-class-flex-3/260923)

<div class="topic-metadata">

**Author:** [@goto](https://forum.kirupa.com/u/goto)\
**Replies:** 2\
**Last updated:** [May 22, 2008, 5:25am UTC](https://forum.kirupa.com/t/accesing-mxml-components-from-as-class-flex-3/260923 "2008-05-22T05:25:16Z")

</div>

\[FONT=Tahoma\] hey everybody, I have a big deal here, and havent be able to solve it. Im creating a flex chat, with php sockets and the AS3 xmlSocket class basically. I have a main class Chat, there I stablish the conn…

---

## [Papervision 3D Abstract Shapes?](https://forum.kirupa.com/t/papervision-3d-abstract-shapes/261019)

<div class="topic-metadata">

**Author:** [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 5:07am UTC](https://forum.kirupa.com/t/papervision-3d-abstract-shapes/261019 "2008-05-22T05:07:50Z")

</div>

edit: I think this is better suited to the AS3 forum. Delete please.

---

## [How do I keep loaded content from muting my SWF?](https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 3\
**Last updated:** [May 22, 2008, 4:11am UTC](https://forum.kirupa.com/t/how-do-i-keep-loaded-content-from-muting-my-swf/260970 "2008-05-22T04:11:41Z")

</div>

When you load an external SWF, Flash gives you some control over what the loaded content can and can't do. I'd like to know how to prevent loaded content from setting SoundMixer.soundtransform. My main code is responsi…

---

## [Help Please - Problems with List Component Labels](https://forum.kirupa.com/t/help-please-problems-with-list-component-labels/261011)

<div class="topic-metadata">

**Author:** [@watto\_uk](https://forum.kirupa.com/u/watto_uk)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 2:20am UTC](https://forum.kirupa.com/t/help-please-problems-with-list-component-labels/261011 "2008-05-22T02:20:30Z")

</div>

I am working with a list component and for some reason when i try to add labels to the list they are not displaying when i run the swf file. The list works as far as loading the videos into the flv player but no labels …

---

## [Browser plugin detection - how to pass JS vars to PHP?](https://forum.kirupa.com/t/browser-plugin-detection-how-to-pass-js-vars-to-php/260994)

<div class="topic-metadata">

**Author:** [@pablo\_2006](https://forum.kirupa.com/u/pablo_2006)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 12:48am UTC](https://forum.kirupa.com/t/browser-plugin-detection-how-to-pass-js-vars-to-php/260994 "2008-05-22T00:48:19Z")

</div>

I'm using this script provided by Apple to detect if browser plugins are available and what the plugin description is (version number etc). I need to pass the final vars to a php file on a test server. 1) I've tweaked …

---

## [Need Help Tweening Frames](https://forum.kirupa.com/t/need-help-tweening-frames/261005)

<div class="topic-metadata">

**Author:** [@shawnske](https://forum.kirupa.com/u/shawnske)\
**Replies:** 2\
**Last updated:** [May 22, 2008, 12:02am UTC](https://forum.kirupa.com/t/need-help-tweening-frames/261005 "2008-05-22T00:02:49Z")

</div>

Hi, I am using the Tweener class from caurina.transitions and I trying to tween the frames of a movie clip. This is what I have and it is not working and returning an error. This is the Tweener code: Tweener.addTween(…

---

## [Flash Site crashes Firefox and IE](https://forum.kirupa.com/t/flash-site-crashes-firefox-and-ie/261006)

<div class="topic-metadata">

**Author:** [@y00ch](https://forum.kirupa.com/u/y00ch)\
**Replies:** 0\
**Last updated:** [May 21, 2008, 11:52pm UTC](https://forum.kirupa.com/t/flash-site-crashes-firefox-and-ie/261006 "2008-05-21T23:52:08Z")

</div>

My flash site crashes browsers on PC and Mac. IE and Firefox. Safari fo some reason is immune. So I load a flash movie on the first page. Then that movie loads another movie after pressing the "enter" button. Then th…

---

## [&amp; not showing &](https://forum.kirupa.com/t/amp-not-showing/260898)

<div class="topic-metadata">

**Author:** [@judyhicks](https://forum.kirupa.com/u/judyhicks)\
**Replies:** 3\
**Last updated:** [May 21, 2008, 11:44pm UTC](https://forum.kirupa.com/t/amp-not-showing/260898 "2008-05-21T23:44:10Z")

</div>

hello i posted a flash slide show utilizing xml so the client could change images themselves. it WAS working a week or so ago...now in the captions the & display as &. where can i fix this? it is also this way on ie and …

---

## [loadMovie Question](https://forum.kirupa.com/t/loadmovie-question/10361)

<div class="topic-metadata">

**Author:** [@momo](https://forum.kirupa.com/u/momo)\
**Replies:** 10\
**Last updated:** [May 21, 2008, 11:35pm UTC](https://forum.kirupa.com/t/loadmovie-question/10361 "2008-05-21T23:35:47Z")

</div>

hello all, i want to import a swf-file into my flashfile. i wrote the actionscript loadMovieNum("mymovie.swf", 10), but the movie is at the wrong place! how can i place the movie at a specific postition? can someone guid…

---

## [HELP resize encoded FLV](https://forum.kirupa.com/t/help-resize-encoded-flv/260889)

<div class="topic-metadata">

**Author:** [@chiqui](https://forum.kirupa.com/u/chiqui)\
**Replies:** 1\
**Last updated:** [May 21, 2008, 11:22pm UTC](https://forum.kirupa.com/t/help-resize-encoded-flv/260889 "2008-05-21T23:22:39Z")

</div>

Hi forum people. I have some already encoded flv files without their sources. What i need is to resize them, but i dont have the source files! VLC wont open my files, i think its because its alpha channel. If you know a …

---

## [Newbie to Flash - Could use help](https://forum.kirupa.com/t/newbie-to-flash-could-use-help/260993)

<div class="topic-metadata">

**Author:** [@tl511](https://forum.kirupa.com/u/tl511)\
**Replies:** 0\
**Last updated:** [May 21, 2008, 9:26pm UTC](https://forum.kirupa.com/t/newbie-to-flash-could-use-help/260993 "2008-05-21T21:26:26Z")

</div>

I am pretty new to Flash. I am trying to do 2 things and I am not sure how to intertwine them. I have 4 images that i need to do a simple slideshow timeline with. They should fade out and in every 6 seconds or so. T…

---

## [Help with xml please!](https://forum.kirupa.com/t/help-with-xml-please/260754)

<div class="topic-metadata">

**Author:** [@gvp16](https://forum.kirupa.com/u/gvp16)\
**Replies:** 7\
**Last updated:** [May 21, 2008, 8:59pm UTC](https://forum.kirupa.com/t/help-with-xml-please/260754 "2008-05-21T20:59:45Z")

</div>

i have a bit of code that gets information from an xml file and loads it into a movie clip that i made. this works great for one result, but i want it to keep going so it duplicates the movie clip and brings out the othe…

---

## [Input Field? - Help please](https://forum.kirupa.com/t/input-field-help-please/260906)

<div class="topic-metadata">

**Author:** [@satl](https://forum.kirupa.com/u/satl)\
**Replies:** 2\
**Last updated:** [May 21, 2008, 8:55pm UTC](https://forum.kirupa.com/t/input-field-help-please/260906 "2008-05-21T20:55:45Z")

</div>

I am a beginner in flash, using ActionScript 3 in Flash CS3. I searched for hours, but could not find the answer I was looking for in AS3. Here is the page I have created so far: www.sandypowell.com I want to add a…

---

## [\[help\] internal swf link?](https://forum.kirupa.com/t/help-internal-swf-link/260656)

<div class="topic-metadata">

**Author:** [@cjj](https://forum.kirupa.com/u/cjj)\
**Replies:** 2\
**Last updated:** [May 21, 2008, 8:34pm UTC](https://forum.kirupa.com/t/help-internal-swf-link/260656 "2008-05-21T20:34:47Z")

</div>

Hi. Im sure there is a way to this. Im just not sure how. And its causing me to have a huge headache! :sen: ha ha ha I have a flash document with thumbnails in and I have AS on each of these thumbnails. They are each b…

---

## [Simple Calling an array from inside a movieclip problem!](https://forum.kirupa.com/t/simple-calling-an-array-from-inside-a-movieclip-problem/260580)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 2\
**Last updated:** [May 21, 2008, 8:07pm UTC](https://forum.kirupa.com/t/simple-calling-an-array-from-inside-a-movieclip-problem/260580 "2008-05-21T20:07:50Z")

</div>

hi Here's what i'm trying to do.. On my \_root .. maintimeline.. i have a movieclip with instance name... "one".. and inside it.. on the first frame.. I have this array testarray = \[99,554\]; Now.. from the Main ti…

---

## [2 textfields 1 scrollbar?](https://forum.kirupa.com/t/2-textfields-1-scrollbar/260957)

<div class="topic-metadata">

**Author:** [@oldgreymare](https://forum.kirupa.com/u/oldgreymare)\
**Replies:** 1\
**Last updated:** [May 21, 2008, 8:00pm UTC](https://forum.kirupa.com/t/2-textfields-1-scrollbar/260957 "2008-05-21T20:00:52Z")

</div>

Hi there I want to display a list of purchases with their name and price. I want the price aligned right and the item aligned left. Should I try to do it in two text fields and one scrollbar? Or should I put the two te…

---

## [Hyperlinks disabled under Transparent Flash Overlay in Firefox!](https://forum.kirupa.com/t/hyperlinks-disabled-under-transparent-flash-overlay-in-firefox/260988)

<div class="topic-metadata">

**Author:** [@ageshi](https://forum.kirupa.com/u/ageshi)\
**Replies:** 0\
**Last updated:** [May 21, 2008, 7:50pm UTC](https://forum.kirupa.com/t/hyperlinks-disabled-under-transparent-flash-overlay-in-firefox/260988 "2008-05-21T19:50:47Z")

</div>

Hi everyone, I have successfully created a transparent flash overlay on to my HTML page. My problem is that since my Flash stage size is 640 x 260 it is covering a large area of the page and it is covering hyperlinks u…

---

## [Best 3D Flash Game ever?](https://forum.kirupa.com/t/best-3d-flash-game-ever/218063)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 2\
**Last updated:** [May 21, 2008, 7:07pm UTC](https://forum.kirupa.com/t/best-3d-flash-game-ever/218063 "2008-05-21T19:07:46Z")

</div>

http://www.custommedia.co.nz/lab/swfz/demo2/ http://www.custommedia.co.nz/lab/swfz/demo2\_gouraud/ Wow, I guess? I really think 3D games will be possible with the new 3D engines like Papervision, Sandy, swfz ect. What d…

---

## [HELP! Photo gallery and automated slideshow?](https://forum.kirupa.com/t/help-photo-gallery-and-automated-slideshow/260978)

<div class="topic-metadata">

**Author:** [@angjel](https://forum.kirupa.com/u/angjel)\
**Replies:** 0\
**Last updated:** [May 21, 2008, 5:51pm UTC](https://forum.kirupa.com/t/help-photo-gallery-and-automated-slideshow/260978 "2008-05-21T17:51:19Z")

</div>

IS there a tutorial on how to create both a photo gallery where there are "next" and previous buttons to manually shift through the photos, but at the same time have a play button to run a slideshow? thanks:angel:

---

## [Finding Home Directory?](https://forum.kirupa.com/t/finding-home-directory/260976)

<div class="topic-metadata">

**Author:** [@Ibanez271](https://forum.kirupa.com/u/Ibanez271)\
**Replies:** 1\
**Last updated:** [May 21, 2008, 5:39pm UTC](https://forum.kirupa.com/t/finding-home-directory/260976 "2008-05-21T17:39:12Z")

</div>

Is there way to find your home directory in windows using Actionscript 3.0? I want to find the directory and read a file from it, I do not need to write files and cannot use Air/Projected file.

---

## [flvPlayback won't seek in CS3 (videoerror 1103: invalid seek)](https://forum.kirupa.com/t/flvplayback-wont-seek-in-cs3-videoerror-1103-invalid-seek/260966)

<div class="topic-metadata">

**Author:** [@oli\_G1](https://forum.kirupa.com/u/oli_G1)\
**Replies:** 1\
**Last updated:** [May 21, 2008, 5:39pm UTC](https://forum.kirupa.com/t/flvplayback-wont-seek-in-cs3-videoerror-1103-invalid-seek/260966 "2008-05-21T17:39:02Z")

</div>

hi there, I may be missing something, but I just can't figure out, how come something as simple as this doesn't work. I place a flvPlayback component on the stage, with the skin parameter set to 'SkinUnderAll.swf' (so …

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

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