# programming

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

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

**Page:** 995

---

## [Regular Expressions - Using output?](https://forum.kirupa.com/t/regular-expressions-using-output/276784)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 4:49pm UTC](https://forum.kirupa.com/t/regular-expressions-using-output/276784 "2008-12-03T16:49:41Z")

</div>

Hey Guys, I am trying to add "Newline" before and after beginning of every lesson. Suppose Input is \[AS\]var str:String = "Lesson 1 Jobmatching." + " " + "This is Job Matching Lesson text" + " "+ "Do you know this." + " …

---

## [Flash / AS3 Developer needed, London](https://forum.kirupa.com/t/flash-as3-developer-needed-london/276782)

<div class="topic-metadata">

**Author:** [@mirandamafu](https://forum.kirupa.com/u/mirandamafu)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 4:31pm UTC](https://forum.kirupa.com/t/flash-as3-developer-needed-london/276782 "2008-12-03T16:31:27Z")

</div>

Emak Mafu is an independent digital studio delivering creative projects for creative clients. We are currently looking for a full-time Flash Developer, with at least one year's experience, to join our friendly young t…

---

## [Fighting with IE 6 - hover](https://forum.kirupa.com/t/fighting-with-ie-6-hover/276778)

<div class="topic-metadata">

**Author:** [@laertjansen](https://forum.kirupa.com/u/laertjansen)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 4:17pm UTC](https://forum.kirupa.com/t/fighting-with-ie-6-hover/276778 "2008-12-03T16:17:26Z")

</div>

Hello everyone, I got a problem here building my portfolio ( http://www.laertjansen.com/version02/ ) and I would appreciate if I could get any help here. The problem is that the square´s over state does not work on…

---

## [How to detect if user has already seen the page - help](https://forum.kirupa.com/t/how-to-detect-if-user-has-already-seen-the-page-help/276777)

<div class="topic-metadata">

**Author:** [@flashgordon02](https://forum.kirupa.com/u/flashgordon02)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 4:01pm UTC](https://forum.kirupa.com/t/how-to-detect-if-user-has-already-seen-the-page-help/276777 "2008-12-03T16:01:38Z")

</div>

In the home page (index.html) i have a flash intro. The first time a user sees the website, the intro should play. Once he goes to another page (about\_us or contact\_us) and comes back to the home page, it should show a d…

---

## [Form submit](https://forum.kirupa.com/t/form-submit/276774)

<div class="topic-metadata">

**Author:** [@blacksrv](https://forum.kirupa.com/u/blacksrv)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 3:47pm UTC](https://forum.kirupa.com/t/form-submit/276774 "2008-12-03T15:47:29Z")

</div>

Hey everyone, I'm working on a strange project, a form to submit from a different server. I'm having a problem with the upload function of the form in flash, I think the code is ok, but flash don't send the path of the…

---

## [hitTest between arrays](https://forum.kirupa.com/t/hittest-between-arrays/276772)

<div class="topic-metadata">

**Author:** [@bottomline\_2](https://forum.kirupa.com/u/bottomline_2)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 3:27pm UTC](https://forum.kirupa.com/t/hittest-between-arrays/276772 "2008-12-03T15:27:19Z")

</div>

Hi, I'm new to using arrays and wondered if anyone can help. I have an array for my player1 ship, enemies and bullets. I wanted it so that i can have hitests for bullet and enemies and player1 and enemy. Files are attach…

---

## [Need help with Countdown timer tutorial](https://forum.kirupa.com/t/need-help-with-countdown-timer-tutorial/276770)

<div class="topic-metadata">

**Author:** [@aman16](https://forum.kirupa.com/u/aman16)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 2:20pm UTC](https://forum.kirupa.com/t/need-help-with-countdown-timer-tutorial/276770 "2008-12-03T14:20:41Z")

</div>

Hello I have just followed through the countdown tutorial on the website but would like to only countdown the days and not hours, seconds and milliseconds. What changes to the code would I need to make for this to ha…

---

## [setTimeout() problem](https://forum.kirupa.com/t/settimeout-problem/276769)

<div class="topic-metadata">

**Author:** [@zoooom](https://forum.kirupa.com/u/zoooom)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 1:29pm UTC](https://forum.kirupa.com/t/settimeout-problem/276769 "2008-12-03T13:29:00Z")

</div>

Hi there, just wondering if anyone could assist me. I am using setTimeout() to call a function called "finished" after a 1000ms pause, which works absolutely fine until I try to pass a variable with it. setTimeout(f…

---

## [Setting up x and y postion of externally loaded .swf](https://forum.kirupa.com/t/setting-up-x-and-y-postion-of-externally-loaded-swf/276765)

<div class="topic-metadata">

**Author:** [@synergics](https://forum.kirupa.com/u/synergics)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 12:39pm UTC](https://forum.kirupa.com/t/setting-up-x-and-y-postion-of-externally-loaded-swf/276765 "2008-12-03T12:39:31Z")

</div>

I have used the follwing code to load swf on button click on(release){ loadMovieNum("te.swf",1); } Now i want to set the x and y posion of the "te.swf" what is the code for that?

---

## [URLLoader class](https://forum.kirupa.com/t/urlloader-class/276764)

<div class="topic-metadata">

**Author:** [@small\_guy](https://forum.kirupa.com/u/small_guy)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 12:31pm UTC](https://forum.kirupa.com/t/urlloader-class/276764 "2008-12-03T12:31:05Z")

</div>

Hi, I'm not new to Flash, but am new to AS 3. Help is appreciated. I've got two buttons (button\_one and button\_two) both through which I am attempting to load external swfs into main fla. My issue is that when say bu…

---

## [How to open flash pop up in html using flash button](https://forum.kirupa.com/t/how-to-open-flash-pop-up-in-html-using-flash-button/276763)

<div class="topic-metadata">

**Author:** [@shishirbabel](https://forum.kirupa.com/u/shishirbabel)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 12:05pm UTC](https://forum.kirupa.com/t/how-to-open-flash-pop-up-in-html-using-flash-button/276763 "2008-12-03T12:05:53Z")

</div>

Hello Everyone, I just purchased a flash template and i am having the html versions of the same. I am replacing the text in the html but i don't want to loose the look and feel of the template so i want to make sure th…

---

## [setInterval inside a loop inside a function - Am I crazy?!](https://forum.kirupa.com/t/setinterval-inside-a-loop-inside-a-function-am-i-crazy/276760)

<div class="topic-metadata">

**Author:** [@ollywood](https://forum.kirupa.com/u/ollywood)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 11:23am UTC](https://forum.kirupa.com/t/setinterval-inside-a-loop-inside-a-function-am-i-crazy/276760 "2008-12-03T11:23:43Z")

</div>

I've got a menu loading from XML data - however I'd like the mc's to appear sequentially, maybe 1/10th second apart. I know setInterval should do this, but I'm still new to flash and despite trawling Google for 24 hrs so…

---

## [JSMin - breaks jQuery?](https://forum.kirupa.com/t/jsmin-breaks-jquery/276755)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 10:39am UTC](https://forum.kirupa.com/t/jsmin-breaks-jquery/276755 "2008-12-03T10:39:57Z")

</div>

I'm using JSMin to compress my Javascripts on the fly - http://code.google.com/p/jsmin-php/. Unfortunately, it seems to break any jQuery source I have - whether it be pre-minified, packed, or neither. Firebug says "$…

---

## [Embedding Dynamic Fonts](https://forum.kirupa.com/t/embedding-dynamic-fonts/276754)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 10:20am UTC](https://forum.kirupa.com/t/embedding-dynamic-fonts/276754 "2008-12-03T10:20:36Z")

</div>

Hello I am Trying to load fonts dynamically from an XML file the code is working fine if I am using it directly on the timeline. \*var myFont:Font = new Font1(); var textFormat:TextFormat = new TextFormat(); textFo…

---

## [Create Community and Mutual Friends List in PhpFoxMod](https://forum.kirupa.com/t/create-community-and-mutual-friends-list-in-phpfoxmod/276751)

<div class="topic-metadata">

**Author:** [@phpsolutionjohn](https://forum.kirupa.com/u/phpsolutionjohn)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 9:42am UTC](https://forum.kirupa.com/t/create-community-and-mutual-friends-list-in-phpfoxmod/276751 "2008-12-03T09:42:38Z")

</div>

\[FONT=Calibri\] \[Phpfox is a \[URL="http://www.softyram.com/phpfox.php"\]Social Networking Software written in \[URL="http://www.phpfoxmod.com/"\]PHP and Smarty. It can be \[URL="http://www.softyram.com/phpfox.php"\]integrate…

---

## [Printing in A4 Landscape - Margin problem](https://forum.kirupa.com/t/printing-in-a4-landscape-margin-problem/276749)

<div class="topic-metadata">

**Author:** [@bojosiri](https://forum.kirupa.com/u/bojosiri)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 9:36am UTC](https://forum.kirupa.com/t/printing-in-a4-landscape-margin-problem/276749 "2008-12-03T09:36:55Z")

</div>

Hi Every1. Im trying to print a certificate in a4 landscape format and i managed to do that fine, however the problem im getting is that when it prints it does not adjust the margins, which in the end, it ends up with …

---

## [How can i make my flash application fullscreen](https://forum.kirupa.com/t/how-can-i-make-my-flash-application-fullscreen/276747)

<div class="topic-metadata">

**Author:** [@ashishkummar](https://forum.kirupa.com/u/ashishkummar)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 7:45am UTC](https://forum.kirupa.com/t/how-can-i-make-my-flash-application-fullscreen/276747 "2008-12-03T07:45:25Z")

</div>

How can i make my flash application fullscreen

---

## [CSS - Javascript Menus Problem](https://forum.kirupa.com/t/css-javascript-menus-problem/276745)

<div class="topic-metadata">

**Author:** [@prateektiwari](https://forum.kirupa.com/u/prateektiwari)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 7:23am UTC](https://forum.kirupa.com/t/css-javascript-menus-problem/276745 "2008-12-03T07:23:38Z")

</div>

Hi, I create a Left hand navigation menus using CSS & Javascript In this menu, whenever you hover your mouse on gray tabs it will expand. I want the same effect on inner items of a particular gray tab. …

---

## [How to script a Contact Form success page?](https://forum.kirupa.com/t/how-to-script-a-contact-form-success-page/276744)

<div class="topic-metadata">

**Author:** [@realdoyle](https://forum.kirupa.com/u/realdoyle)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 6:56am UTC](https://forum.kirupa.com/t/how-to-script-a-contact-form-success-page/276744 "2008-12-03T06:56:04Z")

</div>

Flash MX/1.0 I have an almost completely functional Contact Form on a website I am working on. The only issue is that I never get a "success" confirmation in my status box. The status box works great for letting me know …

---

## [Working with Classes that extend MovieClip](https://forum.kirupa.com/t/working-with-classes-that-extend-movieclip/276738)

<div class="topic-metadata">

**Author:** [@firedraco](https://forum.kirupa.com/u/firedraco)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:59am UTC](https://forum.kirupa.com/t/working-with-classes-that-extend-movieclip/276738 "2008-12-03T05:59:49Z")

</div>

Ok, I have a class called Ship that includes all the data I need for my Movieclips...and I also have a class called Pilot that contains a variable of type Ship. I have a button that creates a movieclip like this: att…

---

## [Animated Pages for PDFs](https://forum.kirupa.com/t/animated-pages-for-pdfs/276737)

<div class="topic-metadata">

**Author:** [@bert\_foxwell](https://forum.kirupa.com/u/bert_foxwell)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:41am UTC](https://forum.kirupa.com/t/animated-pages-for-pdfs/276737 "2008-12-03T05:41:59Z")

</div>

I'm working with the Kodak Storefront software, managing online catalogs. Clients can view uploaded pdf books using an aminated preview were the pages curl and turn like a real book. Kodak has told me that it's done wi…

---

## [Signature effect](https://forum.kirupa.com/t/signature-effect/276735)

<div class="topic-metadata">

**Author:** [@Elvyne963](https://forum.kirupa.com/u/Elvyne963)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 5:22am UTC](https://forum.kirupa.com/t/signature-effect/276735 "2008-12-03T05:22:13Z")

</div>

Hi, I'm trying to create a flash signature effect using the maks method. ' I create the text, then create another layer which I use for mask. Then I on each frame 2 frame, I put some brush on the text. I apply a shape …

---

## [Beginner Need Help With Platformer Game](https://forum.kirupa.com/t/beginner-need-help-with-platformer-game/276733)

<div class="topic-metadata">

**Author:** [@jadekingx](https://forum.kirupa.com/u/jadekingx)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 4:56am UTC](https://forum.kirupa.com/t/beginner-need-help-with-platformer-game/276733 "2008-12-03T04:56:30Z")

</div>

'

---

## [Ball-Brick Collision: Corner Case](https://forum.kirupa.com/t/ball-brick-collision-corner-case/276730)

<div class="topic-metadata">

**Author:** [@hsadan](https://forum.kirupa.com/u/hsadan)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 3:56am UTC](https://forum.kirupa.com/t/ball-brick-collision-corner-case/276730 "2008-12-03T03:56:57Z")

</div>

I working on the collision detection for a moving ball and a stationary brick. A simple approximation of this is to see if the bounding box of the ball (ie. a square with the same height/width as the ball) overlaps wi…

---

## [How to make links in dynamically loaded text?](https://forum.kirupa.com/t/how-to-make-links-in-dynamically-loaded-text/276729)

<div class="topic-metadata">

**Author:** [@realdoyle](https://forum.kirupa.com/u/realdoyle)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 3:49am UTC](https://forum.kirupa.com/t/how-to-make-links-in-dynamically-loaded-text/276729 "2008-12-03T03:49:01Z")

</div>

Can anyone help me create links in a dynamically loaded text box? I have a dynamic text box with this code (Flash MX/1.0): loadText = new loadVars(); loadText.load("news\_txt.txt"); //creating the loadVarsText function l…

---

## [Is the "new Sprite" and "new Sprite()" all the same?](https://forum.kirupa.com/t/is-the-new-sprite-and-new-sprite-all-the-same/276728)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 3:29am UTC](https://forum.kirupa.com/t/is-the-new-sprite-and-new-sprite-all-the-same/276728 "2008-12-03T03:29:37Z")

</div>

Sometimes I saw people code like this when no argument is passed into the constructor: var s:Sprite = new Sprite; but some are like this: var s:Sprite = new Sprite(); So is these all the same?

---

## [DataGrid calculated ROW (need help)](https://forum.kirupa.com/t/datagrid-calculated-row-need-help/276726)

<div class="topic-metadata">

**Author:** [@ramaz](https://forum.kirupa.com/u/ramaz)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 12:50am UTC](https://forum.kirupa.com/t/datagrid-calculated-row-need-help/276726 "2008-12-03T00:50:52Z")

</div>

hi, try to make my own flash CD burner and need help with DataGrid: // i have two DataGrid: first introducing all media and // second one just selected. after selection i need to // calculate total time var leftLay…

---

## [Help :)](https://forum.kirupa.com/t/help/276725)

<div class="topic-metadata">

**Author:** [@patrick\_k](https://forum.kirupa.com/u/patrick_k)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 12:40am UTC](https://forum.kirupa.com/t/help/276725 "2008-12-03T00:40:19Z")

</div>

Before I begin I want you guys to know that im new to this flash game action script thingo \[smile\] Ok so ive been following the tutorial on how to make a flash Platform game, by Nathan Stockton. I followed the scrip…

---

## [Garbage Collection Details?](https://forum.kirupa.com/t/garbage-collection-details/276724)

<div class="topic-metadata">

**Author:** [@El\_Phantom](https://forum.kirupa.com/u/El_Phantom)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 12:38am UTC](https://forum.kirupa.com/t/garbage-collection-details/276724 "2008-12-03T00:38:33Z")

</div>

Hey everybody, I have searched the forums and google and so far have not found any definitive answers for the details of AS3 garbage collection, I was hoping somebody might be able to answer a couple questions? Let's …

---

## [Cant see streaming video but can see local](https://forum.kirupa.com/t/cant-see-streaming-video-but-can-see-local/276723)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [December 3, 2008, 12:18am UTC](https://forum.kirupa.com/t/cant-see-streaming-video-but-can-see-local/276723 "2008-12-03T00:18:54Z")

</div>

I have been developing a player that is initially stopped. When I click anywhere in the time line, it seeks to that position. I never call the play() method. When I test with the video locally, it works fine. It seeks to…

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

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