# programming

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

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

**Page:** 435

---

## [Logical placements of .load() and .onload()](https://forum.kirupa.com/t/logical-placements-of-load-and-onload/312926)

<div class="topic-metadata">

**Author:** [@glisando](https://forum.kirupa.com/u/glisando)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 5:44am UTC](https://forum.kirupa.com/t/logical-placements-of-load-and-onload/312926 "2010-08-16T05:44:04Z")

</div>

Hi Folks... I got the following code from Adobe's 'Serverside ActionScript Language Reference'. Here it is: myLoadVars = new LoadVars(); myLoadVars.onLoad = function(result){ trace("myLoadVars load success is "…

---

## [父母公开信怒称巴洛特利遭不公待遇 所谓的朋友坑了他](https://forum.kirupa.com/t/topic/312925)

<div class="topic-metadata">

**Author:** [@yaoyangli](https://forum.kirupa.com/u/yaoyangli)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 5:08am UTC](https://forum.kirupa.com/t/topic/312925 "2010-08-16T05:08:19Z")

</div>

父母公开信怒称巴洛特利遭不公待遇:所谓的朋友坑了他 新浪体育讯 8月14日凌晨，英格兰曼城俱乐部在其官方网站宣布了国际米兰球员巴洛特利正式加盟的消息，之前巴洛特利已经正式通过了曼城的体检，在新赛季中，他将和亚亚图雷、席尔瓦等球星为曼城俱乐部并肩作战。 巴洛特利曾经被看作是国际米兰的希望，在他三年的国米生涯中也不乏亮点，但年轻气盛的他拥有着桀骜不驯的性格，在过去的两个赛季中经常给自己制造麻烦，甚至在上赛季国际米兰欧冠主场逆转巴塞罗那之后…

---

## [国米续约风暴直指新核 斯内德证实即将长约续约蓝黑军](https://forum.kirupa.com/t/topic/312924)

<div class="topic-metadata">

**Author:** [@yaoyangli](https://forum.kirupa.com/u/yaoyangli)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 5:07am UTC](https://forum.kirupa.com/t/topic/312924 "2010-08-16T05:07:02Z")

</div>

国米续约风暴直指新核 斯内德证实即将长约续约蓝黑军 新浪体育讯 尽管经历了一番周折，巴洛特利的转会最终尘埃落定，国际米兰的管理层也可以静下心来和队中的老队员们谈谈续约的问题了。前些天老队长萨内蒂和国际米兰正式续约三年，算是送给了自己一份生日礼物，米利托也成功续约，接下来即将朝自己俱乐部“大满贯”的目标努力。《米兰体育报》称，中场大将荷兰人斯内德的续约工作也已经开始。 “我们和国际米兰的谈判已经开始了，我并不认为我们之间会遇到问题。”斯…

---

## [尤文强迫沃尔夫斯堡哲科换迭戈 缺钱恐放弃新内德维德](https://forum.kirupa.com/t/topic/312922)

<div class="topic-metadata">

**Author:** [@yaoyangli](https://forum.kirupa.com/u/yaoyangli)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 5:05am UTC](https://forum.kirupa.com/t/topic/312922 "2010-08-16T05:05:33Z")

</div>

尤文强迫沃尔夫斯堡哲科换迭戈 缺钱恐放弃新内德维德新浪体育讯 上周，德国媒体爆料尤文将会以1600万欧元的身价把迭戈买到沃尔夫斯堡，但是迭戈表示，现在他的眼里只有尤文。迭戈说：“我现在已经进步了很多，不过这只是个开始，我这个赛季会有更多的进步，现在我在这里很融洽。”不过，即便如此，德国媒体还是认为迭戈必去德甲，他透露，现在迭戈的父亲正在德国跟俱乐部商讨个人待遇，比如索要800万欧元的年薪，合同期限三年。 而《全体育》透露的新的进展，据…

---

## [上海英超转播谈判陷入僵局 高价难接受或改播意甲](https://forum.kirupa.com/t/topic/312917)

<div class="topic-metadata">

**Author:** [@yaoyangli](https://forum.kirupa.com/u/yaoyangli)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 4:44am UTC](https://forum.kirupa.com/t/topic/312917 "2010-08-16T04:44:35Z")

</div>

上海英超转播谈判陷入僵局 高价难接受或改播意甲,皇冠网开户 上周六是2010-2011赛季英超首轮，沪上球迷却发现只有广东体育台和竞赛频道有转播。此前曾预告首轮转播场次的五星体育频道“放了鸽子”。究竟是什么原因导致英超转播计划出尔反尔，沪上球迷还能从五星体育看到英超转播么？ 天盛退出后，坊间风传的新英超版权商新雅迪传媒一直就赛事落地与公共频道在谈判，包括五星体育在内的各地方体育频道都在积极争取，希望尽快敲定英超转播。赛季开幕前两周，五…

---

## [曼联帅位又多1毛遂自荐强人 他若接班红魔9成球迷拥戴](https://forum.kirupa.com/t/1-9/312916)

<div class="topic-metadata">

**Author:** [@yaoyangli](https://forum.kirupa.com/u/yaoyangli)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 4:43am UTC](https://forum.kirupa.com/t/1-9/312916 "2010-08-16T04:43:16Z")

</div>

曼联帅位又多1毛遂自荐强人 他若接班红魔9成球迷拥戴 新浪体育讯 弗格森的接班人问题一直是英国媒体关注的焦点，从最初热炒的马丁-奥尼尔再到穆里尼奥，很多名帅的名字与红魔帅位产生过联系，如今又一位候选站出来表示，希望有一天能成为曼联的主教练，而这个人若真的上任，会得到绝大部分红魔球迷的支持，他就是吉格斯。 吉格斯首次对媒体表示，自己的目标是成为曼联的主教练，目前他已经和加里-内维尔以及斯科尔斯一起开始了教练员课程，当教练是他的未来方向…

---

## [Help! (With drop and drag project)](https://forum.kirupa.com/t/help-with-drop-and-drag-project/312911)

<div class="topic-metadata">

**Author:** [@tim\_norris150](https://forum.kirupa.com/u/tim_norris150)\
**Replies:** 0\
**Last updated:** [August 16, 2010, 1:28am UTC](https://forum.kirupa.com/t/help-with-drop-and-drag-project/312911 "2010-08-16T01:28:43Z")

</div>

Hey guys, I was wondering if I could pick your brains on this, because try as I might I can't seem to get my sprites dragging properly. Below is the code, it is the start of a program to drop and drag notes onto a sheet …

---

## [Play stop root timeline sound AS3](https://forum.kirupa.com/t/play-stop-root-timeline-sound-as3/312905)

<div class="topic-metadata">

**Author:** [@lovejeet](https://forum.kirupa.com/u/lovejeet)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 8:32pm UTC](https://forum.kirupa.com/t/play-stop-root-timeline-sound-as3/312905 "2010-08-15T20:32:29Z")

</div>

Hi, I have added some three sound clips, play pause buttons, on the root timeline in a movie with corresponding callouts. I am able to stop all sounds on the main timeline by below stop\_btn.addEventListener(MouseEven…

---

## [Load external swf & centre](https://forum.kirupa.com/t/load-external-swf-centre/312903)

<div class="topic-metadata">

**Author:** [@kekekiko](https://forum.kirupa.com/u/kekekiko)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 6:08pm UTC](https://forum.kirupa.com/t/load-external-swf-centre/312903 "2010-08-15T18:08:55Z")

</div>

Stuck in trying to load an external movie with 'createnewmoveclip'. I would like to load an external swf into a dynamically made holder rather than an instance on stage which I can do at the mo. Also would like to have…

---

## [Tween/AS2 Preloader](https://forum.kirupa.com/t/tween-as2-preloader/312900)

<div class="topic-metadata">

**Author:** [@krizinxgren](https://forum.kirupa.com/u/krizinxgren)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 4:54pm UTC](https://forum.kirupa.com/t/tween-as2-preloader/312900 "2010-08-15T16:54:46Z")

</div>

Good day The link below takes you to my favorite preloader tutorial and i have been trying to make it work for me. http://www.kirupa.com/developer/actionscript/tween\_as\_preloader.htm In the tutorial the preloader l…

---

## [ActionScript to dynamically change text size?](https://forum.kirupa.com/t/actionscript-to-dynamically-change-text-size/312898)

<div class="topic-metadata">

**Author:** [@hypnotoad72](https://forum.kirupa.com/u/hypnotoad72)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 1:26pm UTC](https://forum.kirupa.com/t/actionscript-to-dynamically-change-text-size/312898 "2010-08-15T13:26:10Z")

</div>

Hello. I am working on a movie clip symbol composed solely of text. Is it possible to create a for loop, that looks at the number ofcharacters in the symbol, take the current character and raise its size by 2pt, and th…

---

## [Help ENTER\_FRAME as3](https://forum.kirupa.com/t/help-enter-frame-as3/312896)

<div class="topic-metadata">

**Author:** [@duchman](https://forum.kirupa.com/u/duchman)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 12:24pm UTC](https://forum.kirupa.com/t/help-enter-frame-as3/312896 "2010-08-15T12:24:50Z")

</div>

Hello, I have this code in frame 1: gl.addEventListener(Event.ENTER\_FRAME, vrata); function vrata(e:Event):void{ var br = (Math.round(Math.random() \* 1)) ; TweenMax.to(gl, 1.5, {colorMatrixFilter:{brightnes…

---

## [Tweening freezing](https://forum.kirupa.com/t/tweening-freezing/312895)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 12:18pm UTC](https://forum.kirupa.com/t/tweening-freezing/312895 "2010-08-15T12:18:16Z")

</div>

Hello guys What do you thing could be the problem. I've got on different frames buttons when I click one of them the tweening the tweening shows up. The problem is: when I click button tweening shows up pretty fine but w…

---

## [ColorTransform after frame change](https://forum.kirupa.com/t/colortransform-after-frame-change/312893)

<div class="topic-metadata">

**Author:** [@dataxa](https://forum.kirupa.com/u/dataxa)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 11:49am UTC](https://forum.kirupa.com/t/colortransform-after-frame-change/312893 "2010-08-15T11:49:13Z")

</div>

I have a problem when i am changing color of a MovieClip. When i change the frame and in some point come back to the frame that holds the MovieClip, then it has returned to its original color. Is there any way it caches …

---

## [Math Opperators in RegExp](https://forum.kirupa.com/t/math-opperators-in-regexp/312892)

<div class="topic-metadata">

**Author:** [@FlashMapper](https://forum.kirupa.com/u/FlashMapper)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 11:15am UTC](https://forum.kirupa.com/t/math-opperators-in-regexp/312892 "2010-08-15T11:15:25Z")

</div>

I'm having an issue with RegExp. I have a string variable equal to "1 + 2 + 3 + 4". I'm trying to use RegExp to replace that string inside another string, however the plus signs are causing it to not be recognized. I…

---

## [Catche problem](https://forum.kirupa.com/t/catche-problem/312890)

<div class="topic-metadata">

**Author:** [@luftadler](https://forum.kirupa.com/u/luftadler)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 10:34am UTC](https://forum.kirupa.com/t/catche-problem/312890 "2010-08-15T10:34:28Z")

</div>

Hi all, I have a problem with a website because it keeps the old configuration in the catche and the visitors that are coming back don't see the updates. It is a possible to resolve this problem? I heard that if i m…

---

## [How to check if drawn shape is circle?](https://forum.kirupa.com/t/how-to-check-if-drawn-shape-is-circle/312889)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 9:58am UTC](https://forum.kirupa.com/t/how-to-check-if-drawn-shape-is-circle/312889 "2010-08-15T09:58:02Z")

</div>

Hi, Let's say i have a simple app where on mouse move user draws a shape. What i am trying to accomplish is to detect if drawn shape is circle so was wondering what would be the best or easier way to do that? I belie…

---

## [3d rotation in as3](https://forum.kirupa.com/t/3d-rotation-in-as3/312888)

<div class="topic-metadata">

**Author:** [@babuind](https://forum.kirupa.com/u/babuind)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 9:06am UTC](https://forum.kirupa.com/t/3d-rotation-in-as3/312888 "2010-08-15T09:06:50Z")

</div>

Hi Friends I am trying to animated two images on axis with rotationX command. it's working when the picutre comes in 90 degree it gets overlapping. I am attaching the picture for your reference

---

## [One Lady Decides to Leave on an Explosive Episode of 'The Bachelor'](https://forum.kirupa.com/t/one-lady-decides-to-leave-on-an-explosive-episode-of-the-bachelor/312886)

<div class="topic-metadata">

**Author:** [@findfoor](https://forum.kirupa.com/u/findfoor)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 6:21am UTC](https://forum.kirupa.com/t/one-lady-decides-to-leave-on-an-explosive-episode-of-the-bachelor/312886 "2010-08-15T06:21:34Z")

</div>

After "The Bachelor" Jake Pavelka accompanied his lady loves on hometown dates, one woman made the difficult decision to leave the show. Jake went to New York City, Massachusetts, Oregon and Florida as he met Gia, Ali, T…

---

## [Pushing multiple loaders into array at once freezes Flash](https://forum.kirupa.com/t/pushing-multiple-loaders-into-array-at-once-freezes-flash/312881)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 2:54am UTC](https://forum.kirupa.com/t/pushing-multiple-loaders-into-array-at-once-freezes-flash/312881 "2010-08-15T02:54:07Z")

</div>

It works fine if I wait until the image is actually loaded (loadComplete) and then push the bitmap I create. If I try to push the loaders like you see here, it freezes up, every time. for (var i:uint=0; i\<loaderArray…

---

## [Embedding SWF in PDF with PHP?](https://forum.kirupa.com/t/embedding-swf-in-pdf-with-php/312880)

<div class="topic-metadata">

**Author:** [@whereami](https://forum.kirupa.com/u/whereami)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 12:24am UTC](https://forum.kirupa.com/t/embedding-swf-in-pdf-with-php/312880 "2010-08-15T00:24:38Z")

</div>

Hey guys! I need a way to embed an SWF into a PDF document dynamically generated with PHP. PDFlib has the ability to embed images into the PDF by calling the \[FONT=Courier New\]pdf\_open\_image\_file()\[/FONT\] command. Is…

---

## [Flash AS3 POST variables to .php file](https://forum.kirupa.com/t/flash-as3-post-variables-to-php-file/312879)

<div class="topic-metadata">

**Author:** [@benjawa](https://forum.kirupa.com/u/benjawa)\
**Replies:** 0\
**Last updated:** [August 15, 2010, 12:15am UTC](https://forum.kirupa.com/t/flash-as3-post-variables-to-php-file/312879 "2010-08-15T00:15:32Z")

</div>

I am trying to figure out why this is not working. I have a Flash .swf that is attempting to POST some variables to a .php file in the same location as my .swf. My facebook app is in FBML Canvas. Here is the function I a…

---

## [Imrpoving Array Compare](https://forum.kirupa.com/t/imrpoving-array-compare/312877)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 11:06pm UTC](https://forum.kirupa.com/t/imrpoving-array-compare/312877 "2010-08-14T23:06:29Z")

</div>

I'm trying to figure out how to determine if the 2nd array contains the same number of items, and all correct, as the first array: //For my purposes, if the user selects answer "B" they get an incorrect response //but…

---

## [Need heklp URGENT, displaying "\<" character](https://forum.kirupa.com/t/need-heklp-urgent-displaying-character/312870)

<div class="topic-metadata">

**Author:** [@newdevide](https://forum.kirupa.com/u/newdevide)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 2:15pm UTC](https://forum.kirupa.com/t/need-heklp-urgent-displaying-character/312870 "2010-08-14T14:15:28Z")

</div>

Guys, im desperate here. How do i display "\<" wheteher through external text file or not. I found out that you have to encode it to %3c, but somehow it still won't display. I'm thinking maybe there's a crash with the \<\>…

---

## [Read regular expression from String](https://forum.kirupa.com/t/read-regular-expression-from-string/312866)

<div class="topic-metadata">

**Author:** [@92Garfield](https://forum.kirupa.com/u/92Garfield)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 12:46pm UTC](https://forum.kirupa.com/t/read-regular-expression-from-string/312866 "2010-08-14T12:46:05Z")

</div>

I want the user to input a regular expression, which is then used. I'm using following at the moment. var filterEx = new RegExp(filterTxt.text.split("/")\[1\], filterTxt.text.split("/")\[2\]); filterTxt is a textbox, w…

---

## [Breaking the rules (limitations)](https://forum.kirupa.com/t/breaking-the-rules-limitations/312865)

<div class="topic-metadata">

**Author:** [@RichSad](https://forum.kirupa.com/u/RichSad)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 12:41pm UTC](https://forum.kirupa.com/t/breaking-the-rules-limitations/312865 "2010-08-14T12:41:48Z")

</div>

Hi all, I have a strong desire to write some code in AS3 to put into an AIR app. I need this code to do two things that AS3 doesn't explicitly allow. I am willing to write code to do this, and may even need to resort to …

---

## [AS3 simple explosion](https://forum.kirupa.com/t/as3-simple-explosion/312864)

<div class="topic-metadata">

**Author:** [@Maxxon](https://forum.kirupa.com/u/Maxxon)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 9:54am UTC](https://forum.kirupa.com/t/as3-simple-explosion/312864 "2010-08-14T09:54:45Z")

</div>

I'm searching for stuff like this. I know it's pretty simple, I even found something similar on AS2, but as I'm no coder I couldn't move it to AS3. And I had no success finding this effect on AS3. Maybe someone has a l…

---

## [Php create array from certain array elements](https://forum.kirupa.com/t/php-create-array-from-certain-array-elements/312861)

<div class="topic-metadata">

**Author:** [@ssbtoday](https://forum.kirupa.com/u/ssbtoday)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 9:03am UTC](https://forum.kirupa.com/t/php-create-array-from-certain-array-elements/312861 "2010-08-14T09:03:15Z")

</div>

Nevermind I found a way...

---

## [Character limit in AS3 string](https://forum.kirupa.com/t/character-limit-in-as3-string/312859)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 4:46am UTC](https://forum.kirupa.com/t/character-limit-in-as3-string/312859 "2010-08-14T04:46:38Z")

</div>

Hi, Does anyone know what the character limit for a string in AS3 is? I'm generating a rather large XML string in a flash app which I'm sending to a php script to parse and save to a DB. I was stepping through the code…

---

## [Need a good method for this - loading thumbnail + largePic - matching them to another](https://forum.kirupa.com/t/need-a-good-method-for-this-loading-thumbnail-largepic-matching-them-to-another/312856)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 3:09am UTC](https://forum.kirupa.com/t/need-a-good-method-for-this-loading-thumbnail-largepic-matching-them-to-another/312856 "2010-08-14T03:09:02Z")

</div>

I am loading 20 thumbnails. I am loading 20 large pictures of the thumbnails. Thumbs load first, and are pushed to thumbArray Large pics load second, pushed into largePicArray They all load at different times. So I can…

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

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