# programming

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

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

**Page:** 1026

---

## [Regex Trouble](https://forum.kirupa.com/t/regex-trouble/274724)

<div class="topic-metadata">

**Author:** [@Neolumi](https://forum.kirupa.com/u/Neolumi)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 5:08pm UTC](https://forum.kirupa.com/t/regex-trouble/274724 "2008-11-03T17:08:23Z")

</div>

Hey everyone, I'm having a bit of trouble with some regex and I think I'm nearly there. Basically I need a rule which grabs whatever li element which doesnt contain a \<ul\> element. So a match would be \<li\>hi\</li\> and…

---

## [Remove movieclip problem](https://forum.kirupa.com/t/remove-movieclip-problem/274721)

<div class="topic-metadata">

**Author:** [@Mr\_Pancake](https://forum.kirupa.com/u/Mr_Pancake)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 4:09pm UTC](https://forum.kirupa.com/t/remove-movieclip-problem/274721 "2008-11-03T16:09:46Z")

</div>

Ok so i made this little top down thing, you can pick up the spike, slash with it with your mouse button. and it also goes into your inventory. but i can't get the remove movieclip to work if you have picked it up. any…

---

## [Loading sound partially](https://forum.kirupa.com/t/loading-sound-partially/274719)

<div class="topic-metadata">

**Author:** [@Sigfa](https://forum.kirupa.com/u/Sigfa)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 3:59pm UTC](https://forum.kirupa.com/t/loading-sound-partially/274719 "2008-11-03T15:59:15Z")

</div>

This is really a tough cookie for me, since I've never really worked with dynamic sounds, but now a project came along and the client is starting to get quite upset, so I come to you looking for help. So here's the pro…

---

## [Actionscript help for Mouse Movement](https://forum.kirupa.com/t/actionscript-help-for-mouse-movement/274718)

<div class="topic-metadata">

**Author:** [@Edoggy](https://forum.kirupa.com/u/Edoggy)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 3:40pm UTC](https://forum.kirupa.com/t/actionscript-help-for-mouse-movement/274718 "2008-11-03T15:40:15Z")

</div>

I have a client that would like me to mimick the "wheel" effect on www.seanjohn.com. I am assumming that all of the graphics need to be movie clips and that they are all held in an empty movie clip container. I have no…

---

## [Drop Down Menu - Event Listener Problem](https://forum.kirupa.com/t/drop-down-menu-event-listener-problem/274715)

<div class="topic-metadata">

**Author:** [@SMG](https://forum.kirupa.com/u/SMG)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 3:05pm UTC](https://forum.kirupa.com/t/drop-down-menu-event-listener-problem/274715 "2008-11-03T15:05:05Z")

</div>

I'm trying to develop a xml drop down menu in Flash that behaves like a standard CSS/JavaScript menu. What I currently have (I think) is a movieclip (subNav) that holds four other movieclips (navBar). These four moviecli…

---

## [TextArea Scroll](https://forum.kirupa.com/t/textarea-scroll/274714)

<div class="topic-metadata">

**Author:** [@onmosh](https://forum.kirupa.com/u/onmosh)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 2:54pm UTC](https://forum.kirupa.com/t/textarea-scroll/274714 "2008-11-03T14:54:33Z")

</div>

Hi guys! Good Day! I have a question regarding the textarea if its possible like for example you have inputbox , everytime you input a msgs it will appear in the textarea but the thing is the msg will appear in end o…

---

## [Get simple variables from php](https://forum.kirupa.com/t/get-simple-variables-from-php/274713)

<div class="topic-metadata">

**Author:** [@jo\_hann](https://forum.kirupa.com/u/jo_hann)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 2:36pm UTC](https://forum.kirupa.com/t/get-simple-variables-from-php/274713 "2008-11-03T14:36:34Z")

</div>

Hey! I am going to create few dynamic texts in a flash movie. The dynamic texts shall be based on few simple variables from a php-script. This is an example of my php: \[FONT=Courier New\]$varone = "hello";\[/FONT\] \[FON…

---

## [Passing variables from flashvars to loaded SWF](https://forum.kirupa.com/t/passing-variables-from-flashvars-to-loaded-swf/274705)

<div class="topic-metadata">

**Author:** [@kdawg](https://forum.kirupa.com/u/kdawg)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 12:01pm UTC](https://forum.kirupa.com/t/passing-variables-from-flashvars-to-loaded-swf/274705 "2008-11-03T12:01:26Z")

</div>

Is it possible to pass flashvars from a preloaded swf. Basically I'm trying to load a swf then pass some flashvars to the loader then pass those flashvars to the loaded swf. I know they've loaded properly into the load…

---

## [Custom skin not working as desired](https://forum.kirupa.com/t/custom-skin-not-working-as-desired/274704)

<div class="topic-metadata">

**Author:** [@lalitk21](https://forum.kirupa.com/u/lalitk21)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 11:15am UTC](https://forum.kirupa.com/t/custom-skin-not-working-as-desired/274704 "2008-11-03T11:15:58Z")

</div>

Hi I wanted to change the default behavior of the Flash Video Player skin such that "caption" Button works as a link and opens a new browser window. I took SkinOverAll.fla saved as SkinOverAllCustom.fla and added foll…

---

## [\[AS3\] Insight needed, specific garbage cleaning](https://forum.kirupa.com/t/as3-insight-needed-specific-garbage-cleaning/274700)

<div class="topic-metadata">

**Author:** [@Valaran](https://forum.kirupa.com/u/Valaran)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 9:35am UTC](https://forum.kirupa.com/t/as3-insight-needed-specific-garbage-cleaning/274700 "2008-11-03T09:35:57Z")

</div>

Hi, I won't post some code right now cause I don't really feel its needed. Anyway, I've been working with my A\* pathfinder on and off for the past month (update from previous AS2 version) And while the pathfinder in it…

---

## [AS2: Line breaks in String](https://forum.kirupa.com/t/as2-line-breaks-in-string/274699)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 9:22am UTC](https://forum.kirupa.com/t/as2-line-breaks-in-string/274699 "2008-11-03T09:22:51Z")

</div>

I have been making a string by adding textfield values together for example: \_global.String1 = \_global.String1 + \_root.textfield1; This is fine and it adds but it puts a line break in for some reason - Is there any r…

---

## [Flash Gallery w/pop up](https://forum.kirupa.com/t/flash-gallery-w-pop-up/274695)

<div class="topic-metadata">

**Author:** [@Bobbo](https://forum.kirupa.com/u/Bobbo)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 7:38am UTC](https://forum.kirupa.com/t/flash-gallery-w-pop-up/274695 "2008-11-03T07:38:45Z")

</div>

Basically, I will have still thumbnails and when you click on one of them, a larger version pops up by way of an animated fade in and when you click on the larger image, it fades out to reveal the thumbnails. I tried out…

---

## [Google apps problem. Not getting some mails](https://forum.kirupa.com/t/google-apps-problem-not-getting-some-mails/274692)

<div class="topic-metadata">

**Author:** [@hariku](https://forum.kirupa.com/u/hariku)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 6:25am UTC](https://forum.kirupa.com/t/google-apps-problem-not-getting-some-mails/274692 "2008-11-03T06:25:42Z")

</div>

I used a php script for downloding from my site... When the user click on downloading button, it will ask for there name and email, and the downloading link will be sent to their mai... from their mailbox they can down…

---

## [Flash movie not resizing in browser](https://forum.kirupa.com/t/flash-movie-not-resizing-in-browser/274690)

<div class="topic-metadata">

**Author:** [@dragonlady](https://forum.kirupa.com/u/dragonlady)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 4:25am UTC](https://forum.kirupa.com/t/flash-movie-not-resizing-in-browser/274690 "2008-11-03T04:25:36Z")

</div>

Good evening, I am trying to get a Flash movie to resize in my browser, using Javascript. I have tried writing a resize function, shown below, but the trace statement shows that the "resizing" alert pops up for the u…

---

## [removeChildAt and timer](https://forum.kirupa.com/t/removechildat-and-timer/274688)

<div class="topic-metadata">

**Author:** [@billowillo](https://forum.kirupa.com/u/billowillo)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 4:15am UTC](https://forum.kirupa.com/t/removechildat-and-timer/274688 "2008-11-03T04:15:03Z")

</div>

im trying to have it so when the timer is up the child is removed so i use this code var hTimer:Timer = new Timer(1000,1) hTimer.addEventListener(TimerEvent.TIMER, time) hTimer.start() …

---

## [RemoveChild On Stage](https://forum.kirupa.com/t/removechild-on-stage/274686)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 3:47am UTC](https://forum.kirupa.com/t/removechild-on-stage/274686 "2008-11-03T03:47:35Z")

</div>

If I add a movieclip to the stage like this: var feedbackBox\_mc:feedbackBox = new feedbackBox; feedbackBox\_mc.x = 807; feedbackBox\_mc.y = 248; addChildAt(feedbackBox\_mc,1); // Add at level 1 How can I then remove i…

---

## [onRelease doesn't work](https://forum.kirupa.com/t/onrelease-doesnt-work/274685)

<div class="topic-metadata">

**Author:** [@cwill207](https://forum.kirupa.com/u/cwill207)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 3:32am UTC](https://forum.kirupa.com/t/onrelease-doesnt-work/274685 "2008-11-03T03:32:23Z")

</div>

I know there are other threads on this but I can't make any sense of them. I am pulling thumbnails in from an xml and looping through the xml to create empty movie clips then loading the thumbnail. I want to make the thu…

---

## [Delete an mc with a button press?](https://forum.kirupa.com/t/delete-an-mc-with-a-button-press/274684)

<div class="topic-metadata">

**Author:** [@Shred49](https://forum.kirupa.com/u/Shred49)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 3:12am UTC](https://forum.kirupa.com/t/delete-an-mc-with-a-button-press/274684 "2008-11-03T03:12:14Z")

</div>

how come this isn't working? on(release){ \_root.terrain.clear = true; } "terrain" is the line that is drawn by the mouse and i want to make a button with AS to delete the lines when pressed.

---

## [Removing Randomization from Array Creation](https://forum.kirupa.com/t/removing-randomization-from-array-creation/274678)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 8:35pm UTC](https://forum.kirupa.com/t/removing-randomization-from-array-creation/274678 "2008-11-02T20:35:34Z")

</div>

The code below randomizes the order of some quiz answers, but I've decided that I need a version where the quiz answers are in a particular order. I thought it would be easy to turn off the randomization by using the va…

---

## [How do I add a tween class on button rollover?](https://forum.kirupa.com/t/how-do-i-add-a-tween-class-on-button-rollover/274677)

<div class="topic-metadata">

**Author:** [@asiabackpacker](https://forum.kirupa.com/u/asiabackpacker)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 8:19pm UTC](https://forum.kirupa.com/t/how-do-i-add-a-tween-class-on-button-rollover/274677 "2008-11-02T20:19:09Z")

</div>

The question is, how do I do this when the button is already animating using a tween class. I want the button to be pulsating, then when you rollover it, it expands and stays until you roll off. However, when you rollo…

---

## [New 3D engines in CS4?](https://forum.kirupa.com/t/new-3d-engines-in-cs4/274675)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 6:27pm UTC](https://forum.kirupa.com/t/new-3d-engines-in-cs4/274675 "2008-11-02T18:27:44Z")

</div>

I guess the new 3D functions in CS4 is more powerful than Papervision and others... so the question is, is it possible to make a new 3D engine that can import 3D models and such - only with the existing x,y,z,rotationX,r…

---

## [Dynamic text gradient & shadow](https://forum.kirupa.com/t/dynamic-text-gradient-shadow/274674)

<div class="topic-metadata">

**Author:** [@lopetzi](https://forum.kirupa.com/u/lopetzi)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 6:05pm UTC](https://forum.kirupa.com/t/dynamic-text-gradient-shadow/274674 "2008-11-02T18:05:17Z")

</div>

Hello, I am a newbie at using flash, but... I want to make some headings for a website. Now i load the text with flashvars to use in flash and I use a dynamic text field to display the text but I can't style it. All …

---

## [SESSION ID ISSUe?](https://forum.kirupa.com/t/session-id-issue/274672)

<div class="topic-metadata">

**Author:** [@cyandi\_man](https://forum.kirupa.com/u/cyandi_man)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 4:41pm UTC](https://forum.kirupa.com/t/session-id-issue/274672 "2008-11-02T16:41:23Z")

</div>

When using the session start code for my clnt login pages - it seems that it does not carry over to the next page once in the member section. after logging in - i see the proper clnt info on the main profile page - how…

---

## [Store a var to parse it to an other frame](https://forum.kirupa.com/t/store-a-var-to-parse-it-to-an-other-frame/274670)

<div class="topic-metadata">

**Author:** [@jarah](https://forum.kirupa.com/u/jarah)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 3:33pm UTC](https://forum.kirupa.com/t/store-a-var-to-parse-it-to-an-other-frame/274670 "2008-11-02T15:33:44Z")

</div>

Is it possible to store a var in a function a use it in an other frame. Ex. In frame 1 i have stored the ID from a newsarticle in a var. But in frame 2 i want to retrieve the whole newsarticle from the ID in that funct…

---

## [Flashplayer (9 & 10) crashes](https://forum.kirupa.com/t/flashplayer-9-10-crashes/274669)

<div class="topic-metadata">

**Author:** [@dixi](https://forum.kirupa.com/u/dixi)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 3:33pm UTC](https://forum.kirupa.com/t/flashplayer-9-10-crashes/274669 "2008-11-02T15:33:11Z")

</div>

Hi, At my job we're currently working on a project where some animations are loaded and pulled out of an external .swf file. As our deadline comes closer, we encountered a very nasty bug. It looks like it happens when …

---

## [AS3 TextField tween problem](https://forum.kirupa.com/t/as3-textfield-tween-problem/274668)

<div class="topic-metadata">

**Author:** [@yuppieee123](https://forum.kirupa.com/u/yuppieee123)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 3:03pm UTC](https://forum.kirupa.com/t/as3-textfield-tween-problem/274668 "2008-11-02T15:03:40Z")

</div>

Hey people, I've a movie clip which has a dynamic text field inside. When tweening the scaleX and scaleY properties of the movie clip, the text starts jiggering. I've embedded the font and played with wordWrap but didn…

---

## [Flash Chat wont connect. Help?](https://forum.kirupa.com/t/flash-chat-wont-connect-help/274665)

<div class="topic-metadata">

**Author:** [@lantay77](https://forum.kirupa.com/u/lantay77)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 2:23pm UTC](https://forum.kirupa.com/t/flash-chat-wont-connect-help/274665 "2008-11-02T14:23:37Z")

</div>

http://www.trayiel.com

---

## [New to Actionscript 3.0. Need help!](https://forum.kirupa.com/t/new-to-actionscript-3-0-need-help/274663)

<div class="topic-metadata">

**Author:** [@grasmere](https://forum.kirupa.com/u/grasmere)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 12:40pm UTC](https://forum.kirupa.com/t/new-to-actionscript-3-0-need-help/274663 "2008-11-02T12:40:03Z")

</div>

Hi. Since, you can't add actions to buttons in Actionscript 3.0, I need help. When I refer to something with (), I'm giving it's instance name. When I click on button (MyButton), I want it to: Play a Movie Clip (MyCl…

---

## [\[AS3\]need help with removing all Child](https://forum.kirupa.com/t/as3-need-help-with-removing-all-child/274662)

<div class="topic-metadata">

**Author:** [@pixeldude](https://forum.kirupa.com/u/pixeldude)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 12:25pm UTC](https://forum.kirupa.com/t/as3-need-help-with-removing-all-child/274662 "2008-11-02T12:25:21Z")

</div>

Hi there... I just need help with my Clip class here...my attempt is attaching some mc's problem the library call "Clip" from mouse click and delete all the attach Clip within 2 seconds after randomly movement...I mana…

---

## [Rotating image?](https://forum.kirupa.com/t/rotating-image/274657)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 0\
**Last updated:** [November 2, 2008, 7:13am UTC](https://forum.kirupa.com/t/rotating-image/274657 "2008-11-02T07:13:46Z")

</div>

I'm trying to put together a slide show with a semi-3D effect. Here is a link that shows it done with a simple green rectangle: www.51productions.com/Test/rotating.html I'd like to map an image onto that, making it cha…

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

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