# programming

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

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

**Page:** 1432

---

## [Protect SWF from theft](https://forum.kirupa.com/t/protect-swf-from-theft/246844)

<div class="topic-metadata">

**Author:** [@onika](https://forum.kirupa.com/u/onika)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 5:46am UTC](https://forum.kirupa.com/t/protect-swf-from-theft/246844 "2007-12-15T05:46:57Z")

</div>

Hi Friend, Iam currently work on the flash player it now almost completed but i have some minor problem. regarding protection my swf file on the web. some going tell me solution on that so no one can't decompiled fro…

---

## [\[JSP\] Get Contents?](https://forum.kirupa.com/t/jsp-get-contents/246840)

<div class="topic-metadata">

**Author:** [@siuj](https://forum.kirupa.com/u/siuj)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 4:09am UTC](https://forum.kirupa.com/t/jsp-get-contents/246840 "2007-12-15T04:09:46Z")

</div>

May I know how to write a JSP to communicate with PHP (or other page) without change the link of current page, and get the results (or contents) from PHP page and the JSP continue do somethings...? coz i'm new babies i…

---

## [Sound Object \> to play while streaming](https://forum.kirupa.com/t/sound-object-to-play-while-streaming/246838)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 3:44am UTC](https://forum.kirupa.com/t/sound-object-to-play-while-streaming/246838 "2007-12-15T03:44:49Z")

</div>

Hi Guys, I had a question. So now I am streaming an mo3 file using the sound object (loadSound function) ... So the mp3 is loading (and I have a progress bar showing the percentage loaded) and while it is loading it…

---

## [Resize photo frame as photos change](https://forum.kirupa.com/t/resize-photo-frame-as-photos-change/246836)

<div class="topic-metadata">

**Author:** [@headhunter66](https://forum.kirupa.com/u/headhunter66)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 2:55am UTC](https://forum.kirupa.com/t/resize-photo-frame-as-photos-change/246836 "2007-12-15T02:55:46Z")

</div>

I've been looking into how to change the size of a photo frame created in Flash as the image changes, something like this http://www.blutemplates.com/madison/index1.php. After looking at it, I figure it would be AS but I…

---

## [TICKER HELP, XML nodes](https://forum.kirupa.com/t/ticker-help-xml-nodes/246835)

<div class="topic-metadata">

**Author:** [@janjan32](https://forum.kirupa.com/u/janjan32)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 1:52am UTC](https://forum.kirupa.com/t/ticker-help-xml-nodes/246835 "2007-12-15T01:52:23Z")

</div>

Hi All, I've been working with the Ticker code, http://www.kirupa.com/developer/mx2004/newsticker.htm I think I am bald now from pulling my hair out. ; ) I added a new dynamic text box in flash and line of code in my x…

---

## [Calling JS with AS 3.0](https://forum.kirupa.com/t/calling-js-with-as-3-0/246831)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 11:59pm UTC](https://forum.kirupa.com/t/calling-js-with-as-3-0/246831 "2007-12-14T23:59:45Z")

</div>

\*I retract the following question...I found out that you cannot place parenthesis after the function name since a string is expected How do you call a javascript function defined within your HTML page with AS 3.0 I t…

---

## [Bitmap Scaling Techniques](https://forum.kirupa.com/t/bitmap-scaling-techniques/246829)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 11:23pm UTC](https://forum.kirupa.com/t/bitmap-scaling-techniques/246829 "2007-12-14T23:23:02Z")

</div>

I have an app that makes use of many, externally loaded, graphics (gifs). These graphics are displayed throughout the application in different sizes and are animated with linear motion and "zooming" effects. My intenti…

---

## [Dynamic Background Change](https://forum.kirupa.com/t/dynamic-background-change/246824)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 10:21pm UTC](https://forum.kirupa.com/t/dynamic-background-change/246824 "2007-12-14T22:21:56Z")

</div>

Is there a way to change a background image after a page loads? It is very important that I do not need to reload it because I need a flash file to play while the background changes. Thanks!

---

## [Completion of FLV - Video Object and FMS](https://forum.kirupa.com/t/completion-of-flv-video-object-and-fms/246823)

<div class="topic-metadata">

**Author:** [@jor133d](https://forum.kirupa.com/u/jor133d)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 10:21pm UTC](https://forum.kirupa.com/t/completion-of-flv-video-object-and-fms/246823 "2007-12-14T22:21:37Z")

</div>

I am creating a simple video player with the video object but I am using Flash Media Server. I can not figure out how to determine the completion of the FLV. Can anyone help? Here is my code: var nc:NetConnection …

---

## [Help me optimize my code](https://forum.kirupa.com/t/help-me-optimize-my-code/246822)

<div class="topic-metadata">

**Author:** [@jrutter](https://forum.kirupa.com/u/jrutter)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 9:47pm UTC](https://forum.kirupa.com/t/help-me-optimize-my-code/246822 "2007-12-14T21:47:33Z")

</div>

I know there must be an easier way to write this code using loops/arrays, but I can seem to get it working with AS3. I have been writing in AS3 for under 3 days, I just made the switch from AS2.0. Can someone help me! I …

---

## [Videos in tweening MovieClips load only sometimes?](https://forum.kirupa.com/t/videos-in-tweening-movieclips-load-only-sometimes/246820)

<div class="topic-metadata">

**Author:** [@legole](https://forum.kirupa.com/u/legole)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 9:35pm UTC](https://forum.kirupa.com/t/videos-in-tweening-movieclips-load-only-sometimes/246820 "2007-12-14T21:35:57Z")

</div>

FYI - This is not an "oops, I didn't put my component in the right directory". So, I've been streaming videos with flash for a while, but recently I developed my first full flash website and when I put multiple videos …

---

## [Landscape or portrait](https://forum.kirupa.com/t/landscape-or-portrait/246819)

<div class="topic-metadata">

**Author:** [@Oyster](https://forum.kirupa.com/u/Oyster)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 8:36pm UTC](https://forum.kirupa.com/t/landscape-or-portrait/246819 "2007-12-14T20:36:59Z")

</div>

Hey there. I am trying to determine the orientation of a picture. I have the image source, but what I'd like, is being able to know, given the source - the orientation of the image and hence use the proper orientation on…

---

## [Returning value from function: Scoping Problem](https://forum.kirupa.com/t/returning-value-from-function-scoping-problem/246815)

<div class="topic-metadata">

**Author:** [@WearDark](https://forum.kirupa.com/u/WearDark)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 7:21pm UTC](https://forum.kirupa.com/t/returning-value-from-function-scoping-problem/246815 "2007-12-14T19:21:15Z")

</div>

I have the following function defined in a class: vidNetStream.onMetaData = function(myMeta){ \_root.totalDuration = myMeta.duration; //trace(\_root.totalDuration + "!"); } totalDuration is a private variable defin…

---

## [Problems w/ the @ character in input textfields](https://forum.kirupa.com/t/problems-w-the-character-in-input-textfields/246813)

<div class="topic-metadata">

**Author:** [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 7:15pm UTC](https://forum.kirupa.com/t/problems-w-the-character-in-input-textfields/246813 "2007-12-14T19:15:55Z")

</div>

Hello, On certain browsers, I have been hearing our customers complain that when they try to input an email address, the @ character is getting converted to an "à" character I cannot reproduce this error on any …

---

## [Adding stoke to external text?](https://forum.kirupa.com/t/adding-stoke-to-external-text/246811)

<div class="topic-metadata">

**Author:** [@DivideMySky](https://forum.kirupa.com/u/DivideMySky)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 6:54pm UTC](https://forum.kirupa.com/t/adding-stoke-to-external-text/246811 "2007-12-14T18:54:58Z")

</div>

Hey everyone - I was wondering if anyone had any ideas on how to give dynamic text a border around each letter (aka: stoke). It appears that it's being done on this site: http://www.plymedia.com/subply.asp But fo…

---

## [Modals and Timeouts in IE](https://forum.kirupa.com/t/modals-and-timeouts-in-ie/246809)

<div class="topic-metadata">

**Author:** [@haven](https://forum.kirupa.com/u/haven)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 6:48pm UTC](https://forum.kirupa.com/t/modals-and-timeouts-in-ie/246809 "2007-12-14T18:48:18Z")

</div>

Hey guys- Need some help with making this work in IE. http://holywoah.com/GreyBox\_v5\_53/testpage.html In FF it is so that when you mouseover the image, it loads an iframe in a modal window after (X) milliseconds. W…

---

## [External Preloader](https://forum.kirupa.com/t/external-preloader/246808)

<div class="topic-metadata">

**Author:** [@stormAnimations](https://forum.kirupa.com/u/stormAnimations)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 6:44pm UTC](https://forum.kirupa.com/t/external-preloader/246808 "2007-12-14T18:44:07Z")

</div>

I was wondering if anyone has ever done or heard about how to do an external preloader? Where you have a swf that loads other swfs into a movieclip and you want to see the preloader for the dynamically loaded swfs in a …

---

## [Pause Button for Dynamically Loaded swf](https://forum.kirupa.com/t/pause-button-for-dynamically-loaded-swf/246807)

<div class="topic-metadata">

**Author:** [@stormAnimations](https://forum.kirupa.com/u/stormAnimations)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 6:41pm UTC](https://forum.kirupa.com/t/pause-button-for-dynamically-loaded-swf/246807 "2007-12-14T18:41:14Z")

</div>

I hope that I am not too confusing. I have a swf that loads onto the page. Within that swf is a movieclip named swfContainer. I have 4 swfs that dynamically load into that container randomly on refresh. I have a pause bu…

---

## [Dynamic Menu/List -Dreamweaver/Spry](https://forum.kirupa.com/t/dynamic-menu-list-dreamweaver-spry/246806)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 6:41pm UTC](https://forum.kirupa.com/t/dynamic-menu-list-dreamweaver-spry/246806 "2007-12-14T18:41:03Z")

</div>

Can somebody please point me in the direction of a good tutorial on how to create a dynamic menu in Dreamweaver with JavaScript and/or Spry? I am trying to create a form where the available options depend on what valu…

---

## [Dragging problem!](https://forum.kirupa.com/t/dragging-problem/246805)

<div class="topic-metadata">

**Author:** [@Reverend](https://forum.kirupa.com/u/Reverend)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 6:27pm UTC](https://forum.kirupa.com/t/dragging-problem/246805 "2007-12-14T18:27:31Z")

</div>

Hi helpful people, I'll try to be brief... I've created a Movie in my timeline and done my AS2 so that you can drag the entire page around the screen. There's a square border in the middle of the screen and the idea…

---

## [Flash Novice: Totally stuck](https://forum.kirupa.com/t/flash-novice-totally-stuck/246804)

<div class="topic-metadata">

**Author:** [@Rapier](https://forum.kirupa.com/u/Rapier)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 6:20pm UTC](https://forum.kirupa.com/t/flash-novice-totally-stuck/246804 "2007-12-14T18:20:24Z")

</div>

I'm trying to build a Galaga-like Flash game for a self promo. Somewhere along the way, my action script isn't working the way I hoped it would. The problem I'm having is that my "fire" option is not responding. He…

---

## [About to take a hammer to computer](https://forum.kirupa.com/t/about-to-take-a-hammer-to-computer/246801)

<div class="topic-metadata">

**Author:** [@SteelCity](https://forum.kirupa.com/u/SteelCity)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 5:48pm UTC](https://forum.kirupa.com/t/about-to-take-a-hammer-to-computer/246801 "2007-12-14T17:48:44Z")

</div>

The coding comes straight from the book (minus my targeted url,and button instance name) How come I keep getting error messages whenever I use coding from the manuals. see example below.... Thanks guys var myUrl:URL…

---

## [Depths Problem](https://forum.kirupa.com/t/depths-problem/246797)

<div class="topic-metadata">

**Author:** [@rehan123](https://forum.kirupa.com/u/rehan123)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 5:04pm UTC](https://forum.kirupa.com/t/depths-problem/246797 "2007-12-14T17:04:31Z")

</div>

Hi, I have created a small flash web.. I have 4 mc's all placed on one layer.. i want to swap depths of these mc's. so that if i click on home.. the home Mc shld b dispalayed and appear at front.. and when i click on an…

---

## [FLASH PHP & XML help in a very easy code](https://forum.kirupa.com/t/flash-php-xml-help-in-a-very-easy-code/246796)

<div class="topic-metadata">

**Author:** [@Bill12](https://forum.kirupa.com/u/Bill12)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 5:04pm UTC](https://forum.kirupa.com/t/flash-php-xml-help-in-a-very-easy-code/246796 "2007-12-14T17:04:09Z")

</div>

Hi to all again, I am using an XML to load some data into flash but i want to update it make something like a counter after a button is pressed in the swf. So to make it clear out for you i want to create a simple coun…

---

## [Input text / embed problem](https://forum.kirupa.com/t/input-text-embed-problem/246795)

<div class="topic-metadata">

**Author:** [@rusty27851](https://forum.kirupa.com/u/rusty27851)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 4:50pm UTC](https://forum.kirupa.com/t/input-text-embed-problem/246795 "2007-12-14T16:50:18Z")

</div>

I'm working on a flash file that is a video clip and beneath the video, there's an input text field where a user can get the code to embed the video in their page (youtube code). The problem is that when I have plain tex…

---

## [XML character problem](https://forum.kirupa.com/t/xml-character-problem/246791)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 3:58pm UTC](https://forum.kirupa.com/t/xml-character-problem/246791 "2007-12-14T15:58:38Z")

</div>

It seems this is a rather common problem and I have tried a number of different things to try and make this work. I have tried uft-8, uft-16, and the iso one. I have tried ' no luck. I have tried &#37, no luck. \<a…

---

## [Actionscript + PHP --\> Help](https://forum.kirupa.com/t/actionscript-php-help/246787)

<div class="topic-metadata">

**Author:** [@geO\_GY](https://forum.kirupa.com/u/geO_GY)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 3:33pm UTC](https://forum.kirupa.com/t/actionscript-php-help/246787 "2007-12-14T15:33:11Z")

</div>

Hi all, I am having issues with an actionscript contact form created in Flash, and then exported to a .php, which then sends an email.... Contact form is Actionscript 2, Flash player version 7. When i upload it a…

---

## [\[FMX04\]: Problem with Events and loadMovie()](https://forum.kirupa.com/t/fmx04-problem-with-events-and-loadmovie/246786)

<div class="topic-metadata">

**Author:** [@Mr\_E1](https://forum.kirupa.com/u/Mr_E1)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 3:30pm UTC](https://forum.kirupa.com/t/fmx04-problem-with-events-and-loadmovie/246786 "2007-12-14T15:30:19Z")

</div>

Hello, probably another noob-mistake. I want to create a button on-the-fly with actionscript. The following code works. I create a movieclip, draw a black rectangle and add an onPress listener to it. \_root.creat…

---

## [Random Text Effect](https://forum.kirupa.com/t/random-text-effect/246782)

<div class="topic-metadata">

**Author:** [@AnGHeLL](https://forum.kirupa.com/u/AnGHeLL)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 2:53pm UTC](https://forum.kirupa.com/t/random-text-effect/246782 "2007-12-14T14:53:55Z")

</div>

Hello folks! I would love to know how to make this: Yugop.com Those random typo over the btn's. I've been searching but anything I found it wasn't just like them. Thankz in advance :pleased:

---

## [Problems spacing loaded objects, stuck!](https://forum.kirupa.com/t/problems-spacing-loaded-objects-stuck/246773)

<div class="topic-metadata">

**Author:** [@Ubermeowmix](https://forum.kirupa.com/u/Ubermeowmix)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 10:44am UTC](https://forum.kirupa.com/t/problems-spacing-loaded-objects-stuck/246773 "2007-12-14T10:44:01Z")

</div>

Code as follows, I simply need to define a different X vaule to each loaded box, I think i'm getting muddled now though: //Define the xValue globally var currentX:Number = 0; //step 1: create the empty MC game={xValu…

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

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