# programming

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

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

**Page:** 695

---

## [100% Percent Publish, restrict max size?](https://forum.kirupa.com/t/100-percent-publish-restrict-max-size/296327)

<div class="topic-metadata">

**Author:** [@milesdavis](https://forum.kirupa.com/u/milesdavis)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 5:17pm UTC](https://forum.kirupa.com/t/100-percent-publish-restrict-max-size/296327 "2009-09-13T17:17:51Z")

</div>

Hey all. I've been trying to do this for awhile, and I've read the boards. I've seen a few options as to how to do this, but some of them do not explain how the css/js etc work, and I just don't understand that stuff e…

---

## [Eventlistener for URL change](https://forum.kirupa.com/t/eventlistener-for-url-change/296325)

<div class="topic-metadata">

**Author:** [@inf](https://forum.kirupa.com/u/inf)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 4:23pm UTC](https://forum.kirupa.com/t/eventlistener-for-url-change/296325 "2009-09-13T16:23:05Z")

</div>

hi everyone, I tried to create an eventlistener which listens the browser url text and if it changes calls a function. I tried in this way but it didn't work. var link = document.location.href; link.addEventListener(…

---

## [No sound in Windows](https://forum.kirupa.com/t/no-sound-in-windows/296322)

<div class="topic-metadata">

**Author:** [@koringa](https://forum.kirupa.com/u/koringa)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 3:13pm UTC](https://forum.kirupa.com/t/no-sound-in-windows/296322 "2009-09-13T15:13:55Z")

</div>

Hello, I made an animation in Flsh CS4 using MAC OSX Leopard, so far so good, but when that same road show in Windows does not come out the sound. I accessed some flash sites with sound and sound is normal, only the pre…

---

## [removeChild (mc)](https://forum.kirupa.com/t/removechild-mc/296319)

<div class="topic-metadata">

**Author:** [@Geki](https://forum.kirupa.com/u/Geki)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 2:15pm UTC](https://forum.kirupa.com/t/removechild-mc/296319 "2009-09-13T14:15:58Z")

</div>

Ok so I made this "snow" script stage.addEventListener(Event.ENTER\_FRAME, blop); function blop(e:Event):void { var newCircle:BlueCircle = new BlueCircle(); this.addChild(newCircle); newCircle.scaleX = Math.random()…

---

## [Object Follow Mouse at a Constant Speed?](https://forum.kirupa.com/t/object-follow-mouse-at-a-constant-speed/296318)

<div class="topic-metadata">

**Author:** [@jebego](https://forum.kirupa.com/u/jebego)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 1:24pm UTC](https://forum.kirupa.com/t/object-follow-mouse-at-a-constant-speed/296318 "2009-09-13T13:24:51Z")

</div>

I am using Flash 8 and AS2. I have been looking and looking, but I cannot find how to have an object follow the mouse at a CONSTANT speed. The code I keep on finding is something like this: onClipEvent (load) { …

---

## [Wii Flash](https://forum.kirupa.com/t/wii-flash/296311)

<div class="topic-metadata">

**Author:** [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 9:01am UTC](https://forum.kirupa.com/t/wii-flash/296311 "2009-09-13T09:01:34Z")

</div>

Hi, If some of you have worked with the wiiflash server? I wouldn't mind some insight, such as what is Synchronize object? Although it is in all the example file I have found so far, I get an error: \[COLOR=DimGray\]Er…

---

## [Loading plain text with leading whitespace](https://forum.kirupa.com/t/loading-plain-text-with-leading-whitespace/296310)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 7:29am UTC](https://forum.kirupa.com/t/loading-plain-text-with-leading-whitespace/296310 "2009-09-13T07:29:20Z")

</div>

When I try to load text from XML into a text field any leading line breaks or spaces are ignored. For example: \<text\> some text\</text\> The preceding loads into the text field without the leading spaces before "som…

---

## [Timer Lagging When Browser Window Loses Focus](https://forum.kirupa.com/t/timer-lagging-when-browser-window-loses-focus/296306)

<div class="topic-metadata">

**Author:** [@GenericUserName](https://forum.kirupa.com/u/GenericUserName)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 3:09am UTC](https://forum.kirupa.com/t/timer-lagging-when-browser-window-loses-focus/296306 "2009-09-13T03:09:51Z")

</div>

So I have this SWF that is pulling videos from YouTube through their API. Everything is working nicely until I go to another browser tab or cause the window the SWF is in to lose focus otherwise (largely by using any pro…

---

## [Movieclip headache bug](https://forum.kirupa.com/t/movieclip-headache-bug/296304)

<div class="topic-metadata">

**Author:** [@Blips](https://forum.kirupa.com/u/Blips)\
**Replies:** 0\
**Last updated:** [September 13, 2009, 12:45am UTC](https://forum.kirupa.com/t/movieclip-headache-bug/296304 "2009-09-13T00:45:33Z")

</div>

I've run into an odd bug while working on a flash project: All Movieclips within a parent Movieclip are being set to their 2nd frame. This is happening to standard Movieclips and classes that extend the movieclip class.…

---

## [Flash work-area -\> how to show whats outside it](https://forum.kirupa.com/t/flash-work-area-how-to-show-whats-outside-it/296301)

<div class="topic-metadata">

**Author:** [@Blowfish](https://forum.kirupa.com/u/Blowfish)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 11:46pm UTC](https://forum.kirupa.com/t/flash-work-area-how-to-show-whats-outside-it/296301 "2009-09-12T23:46:42Z")

</div>

As the topic says, I am looking for a easy way to show ALL of the flash content when i import the .swf into the HTML fil. That means everything that's outside the set work-area in flash. Not sure if it's done in flash …

---

## [Socket not connecting outside of Flash?](https://forum.kirupa.com/t/socket-not-connecting-outside-of-flash/296299)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 9:52pm UTC](https://forum.kirupa.com/t/socket-not-connecting-outside-of-flash/296299 "2009-09-12T21:52:34Z")

</div>

I was just doing some testing using PHP sockets and Flash. I used several things, one thing is this tutorial: http://www.kirupa.com/developer/flash8/php5sockets\_flash8.htm . I have the server running, and when I run the …

---

## [Radio Buttons on stage not accessible from external actionscript](https://forum.kirupa.com/t/radio-buttons-on-stage-not-accessible-from-external-actionscript/296297)

<div class="topic-metadata">

**Author:** [@plumpnation](https://forum.kirupa.com/u/plumpnation)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 9:42pm UTC](https://forum.kirupa.com/t/radio-buttons-on-stage-not-accessible-from-external-actionscript/296297 "2009-09-12T21:42:00Z")

</div>

This one is a funny one. To replicate: 1.Drag a radio button onto the stage. 2.Name the instance. 3.Create a document class. 4.Try and set/change the label of the radio button from the document class. Can you? I ca…

---

## [Problems accessing nested movies](https://forum.kirupa.com/t/problems-accessing-nested-movies/296296)

<div class="topic-metadata">

**Author:** [@Wietse](https://forum.kirupa.com/u/Wietse)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 7:59pm UTC](https://forum.kirupa.com/t/problems-accessing-nested-movies/296296 "2009-09-12T19:59:53Z")

</div>

Hello, I'm quite new to both Flash and AS3, but I've been experimenting for a bit, but now I'm stuck, or coding in circles, so it seems... I fear this is quite a common beginner question, feel free to direct me to th…

---

## [Calling different States On MouseMove](https://forum.kirupa.com/t/calling-different-states-on-mousemove/296294)

<div class="topic-metadata">

**Author:** [@bouncer](https://forum.kirupa.com/u/bouncer)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 7:27pm UTC](https://forum.kirupa.com/t/calling-different-states-on-mousemove/296294 "2009-09-12T19:27:31Z")

</div>

Hi, I have a control which has 4 states defined something like this : \<Grid x:Name="LayoutRoot"\> \<VisualStateManager.VisualStateGroups\> \<VisualStateGroup x:Name="VisualStateGroup"\> …

---

## [Hard Time Getting Button To Work (Open Link to Other Site)](https://forum.kirupa.com/t/hard-time-getting-button-to-work-open-link-to-other-site/296291)

<div class="topic-metadata">

**Author:** [@kioshi](https://forum.kirupa.com/u/kioshi)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 5:21pm UTC](https://forum.kirupa.com/t/hard-time-getting-button-to-work-open-link-to-other-site/296291 "2009-09-12T17:21:15Z")

</div>

Hi, i'm new to flash cs4 and action script entirely, and i'm stuck on the final stretch of a project i'm workng on. I'm out of hosting at the moment as far as uploading the site goes, and posting a link, but here is a co…

---

## [PHP Email form with message content?](https://forum.kirupa.com/t/php-email-form-with-message-content/296288)

<div class="topic-metadata">

**Author:** [@tmlindeboom](https://forum.kirupa.com/u/tmlindeboom)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 3:52pm UTC](https://forum.kirupa.com/t/php-email-form-with-message-content/296288 "2009-09-12T15:52:31Z")

</div>

Hello I never usually work with flash or websites of anykind, but just couldn't resist this time: to make a php email form in flash! I found a neat script for this: http://www.kirupa.com/developer/actionscript/flash…

---

## [SWFObject version](https://forum.kirupa.com/t/swfobject-version/296287)

<div class="topic-metadata">

**Author:** [@webbhelp](https://forum.kirupa.com/u/webbhelp)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 1:25pm UTC](https://forum.kirupa.com/t/swfobject-version/296287 "2009-09-12T13:25:07Z")

</div>

Hi! I am trying to get SWFObject to work. The problem is that it says that I got wrong version of flashplayer: \<script type="text/javascript" src="swfobject.js"\>\</script\> \<script type="text/javascript…

---

## [Loading Arabic text into flash flip book](https://forum.kirupa.com/t/loading-arabic-text-into-flash-flip-book/296285)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 12:21pm UTC](https://forum.kirupa.com/t/loading-arabic-text-into-flash-flip-book/296285 "2009-09-12T12:21:24Z")

</div>

Is it possible to load Arabic text from an xml file into a flash flip book application? What I mean to say that in place of English text I want to use Arabic text in the xml file to load into the flash flip book applicat…

---

## [Flash loading files from blogger blog](https://forum.kirupa.com/t/flash-loading-files-from-blogger-blog/296284)

<div class="topic-metadata">

**Author:** [@slideth3](https://forum.kirupa.com/u/slideth3)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 10:26am UTC](https://forum.kirupa.com/t/flash-loading-files-from-blogger-blog/296284 "2009-09-12T10:26:34Z")

</div>

Hi, I'm posting this here because I don't think its an issue with flash. I run a blogger blog, and I've been having some problems getting flash files to load external files from my server. For example one movie normall…

---

## [Moving frames in time with audio](https://forum.kirupa.com/t/moving-frames-in-time-with-audio/296283)

<div class="topic-metadata">

**Author:** [@Mikebyrne](https://forum.kirupa.com/u/Mikebyrne)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 8:57am UTC](https://forum.kirupa.com/t/moving-frames-in-time-with-audio/296283 "2009-09-12T08:57:33Z")

</div>

I'm putting together book in Flash. The audio starts with frame 2 but the naritive continues on frame 3 and 4. I can code a "next" button like so: on (release) { gotoAndStop(3); } on (press) { stopallsounds()…

---

## [Expandable Banner (Video)](https://forum.kirupa.com/t/expandable-banner-video/296282)

<div class="topic-metadata">

**Author:** [@rayannegoh](https://forum.kirupa.com/u/rayannegoh)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 7:45am UTC](https://forum.kirupa.com/t/expandable-banner-video/296282 "2009-09-12T07:45:01Z")

</div>

Hey guys, I recently received a project to do an Expandable banner that requires to have 3 videos inside. Now, the only video banner that I've done before is a Polite video MPU with only a single video inside, with the…

---

## [Mouse rotation/attraction effect](https://forum.kirupa.com/t/mouse-rotation-attraction-effect/296279)

<div class="topic-metadata">

**Author:** [@flashmxboy](https://forum.kirupa.com/u/flashmxboy)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 7:10am UTC](https://forum.kirupa.com/t/mouse-rotation-attraction-effect/296279 "2009-09-12T07:10:27Z")

</div>

Hello everyone:hugegrin: I need some help...:hr: I am trying to create a effect using AS3. The effect is that several arms should rotate towards the mouse, and rotate less when their further away from the mouse cursor. …

---

## [Making Component Invisible in Live Preview](https://forum.kirupa.com/t/making-component-invisible-in-live-preview/296277)

<div class="topic-metadata">

**Author:** [@FaisalSaddique](https://forum.kirupa.com/u/FaisalSaddique)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 7:04am UTC](https://forum.kirupa.com/t/making-component-invisible-in-live-preview/296277 "2009-09-12T07:04:06Z")

</div>

This is probably ridiculously simple, but I can't figure it out. I'm going through the Adobe Tutorial on Creating ActionScript 3.0 components by Jeff Kamerer. There is a point, which although tangential, I'm obsessing ov…

---

## [Complete Noob](https://forum.kirupa.com/t/complete-noob/296276)

<div class="topic-metadata">

**Author:** [@jburt76](https://forum.kirupa.com/u/jburt76)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 4:34am UTC](https://forum.kirupa.com/t/complete-noob/296276 "2009-09-12T04:34:17Z")

</div>

Not sure if I am posting this correctly. I am having a go at flash here. I want the following code to play the mc onPress and then stop and dissappear on the following on Press. zone11\_mc.onPress = function () { …

---

## [Prevent flash from reloading in browser](https://forum.kirupa.com/t/prevent-flash-from-reloading-in-browser/296272)

<div class="topic-metadata">

**Author:** [@djskimo](https://forum.kirupa.com/u/djskimo)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 3:34am UTC](https://forum.kirupa.com/t/prevent-flash-from-reloading-in-browser/296272 "2009-09-12T03:34:51Z")

</div>

Hi, I have a website where we are using a flash menu, rest is html. Everytime a user navigates to a new page, the flash menu has to reload. The flash is inside a MasterPage (asp). I read tons of articles about brow…

---

## [AS2 Load/Unload/Levels/Transi !If you help ill supply a month of Jägermeister :drink:](https://forum.kirupa.com/t/as2-load-unload-levels-transi-if-you-help-ill-supply-a-month-of-jagermeister-drink/296271)

<div class="topic-metadata">

**Author:** [@aliennoise](https://forum.kirupa.com/u/aliennoise)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 3:10am UTC](https://forum.kirupa.com/t/as2-load-unload-levels-transi-if-you-help-ill-supply-a-month-of-jagermeister-drink/296271 "2009-09-12T03:10:39Z")

</div>

:thumb:Hi, I've been searching every possible post all day today trying to find a solution to my problem.:snooze: I hope I'm at the right place. I'm trying to create a buttons "b1" and "b2" that loads animation "mc1" an…

---

## [How to make smooth line movement?](https://forum.kirupa.com/t/how-to-make-smooth-line-movement/296270)

<div class="topic-metadata">

**Author:** [@noartistname](https://forum.kirupa.com/u/noartistname)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 2:54am UTC](https://forum.kirupa.com/t/how-to-make-smooth-line-movement/296270 "2009-09-12T02:54:05Z")

</div>

Hello! I've been searching it everywhere, but couldn't find anything in the net. I want to make smooth line movement. I've tried to create motion, but line just moves, and I want it to move smoothly according to the pa…

---

## [How do I use AS to fade in and out a MC](https://forum.kirupa.com/t/how-do-i-use-as-to-fade-in-and-out-a-mc/296269)

<div class="topic-metadata">

**Author:** [@skubeedoo](https://forum.kirupa.com/u/skubeedoo)\
**Replies:** 0\
**Last updated:** [September 12, 2009, 12:31am UTC](https://forum.kirupa.com/t/how-do-i-use-as-to-fade-in-and-out-a-mc/296269 "2009-09-12T00:31:01Z")

</div>

I have a video in a MC that I need to have automatically fade in at the beginning of the video and fade out at the end of the video. I've seen tons of tuts on the web, but most are controlled by buttons. This is getting …

---

## [JavaScript / PHP / AJAX / SQL - pulling ID from a form](https://forum.kirupa.com/t/javascript-php-ajax-sql-pulling-id-from-a-form/296263)

<div class="topic-metadata">

**Author:** [@Syous](https://forum.kirupa.com/u/Syous)\
**Replies:** 0\
**Last updated:** [September 11, 2009, 7:44pm UTC](https://forum.kirupa.com/t/javascript-php-ajax-sql-pulling-id-from-a-form/296263 "2009-09-11T19:44:21Z")

</div>

Ok so here's the scenario... I'm using JS / AJAX to let me edit in place. On this page I have lists of contacts that pulls from an SQL database. When I click a person's name JS changes the text to a form input and I ca…

---

## [UIScroller disabled in browser](https://forum.kirupa.com/t/uiscroller-disabled-in-browser/296262)

<div class="topic-metadata">

**Author:** [@sonoton](https://forum.kirupa.com/u/sonoton)\
**Replies:** 0\
**Last updated:** [September 11, 2009, 7:34pm UTC](https://forum.kirupa.com/t/uiscroller-disabled-in-browser/296262 "2009-09-11T19:34:43Z")

</div>

I'm loading text into a dynamic text field in Flash CS4 using AS3, everything works fine if I do ctrl+enter. I can see the text and also scroll, but when viewing in a browser, the scrollbar is disabled. Any suggestion …

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

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