# programming

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

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

**Page:** 501

---

## [Publish Local FLV via NetStream](https://forum.kirupa.com/t/publish-local-flv-via-netstream/308802)

<div class="topic-metadata">

**Author:** [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 10:42am UTC](https://forum.kirupa.com/t/publish-local-flv-via-netstream/308802 "2010-04-30T10:42:48Z")

</div>

Howdy fellows, Well from the title it is clearly stated what i wanted to do , but let explain to you a little more, suppose i have a flv on my local machine named "local.flv", now what i was thinking about doing was pla…

---

## [FLVPlayback - Streaming MP3 from RTMP - No MetadataEvent?](https://forum.kirupa.com/t/flvplayback-streaming-mp3-from-rtmp-no-metadataevent/308800)

<div class="topic-metadata">

**Author:** [@JoeK](https://forum.kirupa.com/u/JoeK)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 10:03am UTC](https://forum.kirupa.com/t/flvplayback-streaming-mp3-from-rtmp-no-metadataevent/308800 "2010-04-30T10:03:11Z")

</div>

Any reason why the FLVPlayback wont fire a MetadataEvent.METADATA\_RECEIVED event when trying to load an MP3 from a Flash Media Server? I have some complex functionality requiring the use of the FLVPlayback component to…

---

## [textIndent property in StyleSheet class](https://forum.kirupa.com/t/textindent-property-in-stylesheet-class/308799)

<div class="topic-metadata">

**Author:** [@plumpnation](https://forum.kirupa.com/u/plumpnation)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 9:55am UTC](https://forum.kirupa.com/t/textindent-property-in-stylesheet-class/308799 "2010-04-30T09:55:01Z")

</div>

import flash.text.StyleSheet; var ss:StyleSheet = new StyleSheet(); ss.parseCSS("p{fontSize: 10; textIndent:50;}h1{fontSize:15;}"); styleMe.styleSheet = ss; styleMe.htmlText = "\<p\>Title for my text\</p\> \<p\>This is my t…

---

## [Controlling loaded swf files help](https://forum.kirupa.com/t/controlling-loaded-swf-files-help/308795)

<div class="topic-metadata">

**Author:** [@guitood](https://forum.kirupa.com/u/guitood)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 8:40am UTC](https://forum.kirupa.com/t/controlling-loaded-swf-files-help/308795 "2010-04-30T08:40:07Z")

</div>

Hello, I’m trying to create a universal fla file (shell.fla) in which I can load any swf file and control it from buttons in the shell itself. The buttons being play, pause, rewind, magnify etc. I’ve done all this in AS2…

---

## [Referencing dynamicaly created child movie clip](https://forum.kirupa.com/t/referencing-dynamicaly-created-child-movie-clip/308794)

<div class="topic-metadata">

**Author:** [@andrewF](https://forum.kirupa.com/u/andrewF)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 8:14am UTC](https://forum.kirupa.com/t/referencing-dynamicaly-created-child-movie-clip/308794 "2010-04-30T08:14:10Z")

</div>

I have used AS3 in frame 1 of the timeline to create a holding MC 'opening\_Mc' into which 7 sub MCs are loaded when the user presses each of 7 buttons. When each of the sub MCs loads it is populated with images using …

---

## [Load AS3 external movie in AS2](https://forum.kirupa.com/t/load-as3-external-movie-in-as2/308792)

<div class="topic-metadata">

**Author:** [@basscadet](https://forum.kirupa.com/u/basscadet)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 7:24am UTC](https://forum.kirupa.com/t/load-as3-external-movie-in-as2/308792 "2010-04-30T07:24:31Z")

</div>

Hi all, I have the following problem: I have a small swf with 2 frames that brings weather data from weather.com. There's this script in frame 1: stop(); //================= //ini variables //================= var c…

---

## [Liquid Design Layout](https://forum.kirupa.com/t/liquid-design-layout/308791)

<div class="topic-metadata">

**Author:** [@m3ks](https://forum.kirupa.com/u/m3ks)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 7:19am UTC](https://forum.kirupa.com/t/liquid-design-layout/308791 "2010-04-30T07:19:00Z")

</div>

O.k. so what Im trying to accomplish is something like this: http://amoled.samsungsdi.com/ if you enter and skip the intro you come to the site, and when you shrink the browser, the navigation moves with it, untill at …

---

## [\[AS3\] Call public function from different actionscript file?](https://forum.kirupa.com/t/as3-call-public-function-from-different-actionscript-file/308790)

<div class="topic-metadata">

**Author:** [@Tauschung](https://forum.kirupa.com/u/Tauschung)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 5:17am UTC](https://forum.kirupa.com/t/as3-call-public-function-from-different-actionscript-file/308790 "2010-04-30T05:17:59Z")

</div>

Game is pretty much complete, but I am having a problem that is driving me nuts. At the end of a game, I am trying to give an option to start the game over again. The problem is I am having to try to do this from a dif…

---

## [AJAX Page Loading Framework](https://forum.kirupa.com/t/ajax-page-loading-framework/308786)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 12:34am UTC](https://forum.kirupa.com/t/ajax-page-loading-framework/308786 "2010-04-30T00:34:13Z")

</div>

I was wondering if anyone knew about any free AJAX frameworks to automate the process of loading webpages via AJAX in a website. For example, given the following site template: \[header\] \[content\] \[footer\] Is there a…

---

## [Motion tween object along path](https://forum.kirupa.com/t/motion-tween-object-along-path/308785)

<div class="topic-metadata">

**Author:** [@emman879](https://forum.kirupa.com/u/emman879)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 12:28am UTC](https://forum.kirupa.com/t/motion-tween-object-along-path/308785 "2010-04-30T00:28:44Z")

</div>

Hi guys, Im trying to make a ball move to the position of a crosshair (not the mouse, but another object on the stage) which stops after 15 seconds (if you can imagine a penalty shoot out game). So the ball is still …

---

## [Encrypt swf?](https://forum.kirupa.com/t/encrypt-swf/308777)

<div class="topic-metadata">

**Author:** [@noneya123](https://forum.kirupa.com/u/noneya123)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 10:12pm UTC](https://forum.kirupa.com/t/encrypt-swf/308777 "2010-04-29T22:12:49Z")

</div>

What is the best current method (for Mac) to encrypt our SWF's and prevent our code from being stolen and decompiled?

---

## [Middle Click in AS3](https://forum.kirupa.com/t/middle-click-in-as3/308771)

<div class="topic-metadata">

**Author:** [@enridp](https://forum.kirupa.com/u/enridp)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 8:09pm UTC](https://forum.kirupa.com/t/middle-click-in-as3/308771 "2010-04-29T20:09:05Z")

</div>

Hi !!! I'm looking for the way to detect the middle click with AS3. I know there is a MouseEvent.MIDDLE\_CLICK, but it's only for AIR: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/MouseEvent.ht…

---

## [ComboBox + CellRenderer = Breakage!](https://forum.kirupa.com/t/combobox-cellrenderer-breakage/308770)

<div class="topic-metadata">

**Author:** [@FlashHed](https://forum.kirupa.com/u/FlashHed)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 6:55pm UTC](https://forum.kirupa.com/t/combobox-cellrenderer-breakage/308770 "2010-04-29T18:55:00Z")

</div>

FIXED (sort of...): Basically what was happening was that when I try to deactivate individual cells within a list of a combo box it would break down in a for loop due to null cell renderer references, I think this had …

---

## [Event.COMPLETE and FP9](https://forum.kirupa.com/t/event-complete-and-fp9/308769)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 6:51pm UTC](https://forum.kirupa.com/t/event-complete-and-fp9/308769 "2010-04-29T18:51:00Z")

</div>

I have a client who was saying that the preloader remained on top of everything even when it hit 100%. I had not experienced this before so I asked what version of FP he had..He has FP9 . I had FP10 . So install an arc…

---

## [Class Extends Problem](https://forum.kirupa.com/t/class-extends-problem/308768)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 6:41pm UTC](https://forum.kirupa.com/t/class-extends-problem/308768 "2010-04-29T18:41:14Z")

</div>

Hi guys, I've a class with all my hadlings that extends movieclip in this class i have an action that load a swf that have a class file that extends sprite...when i click on the button that load the sprite type class it …

---

## [Math.random() question](https://forum.kirupa.com/t/math-random-question/308767)

<div class="topic-metadata">

**Author:** [@captsin](https://forum.kirupa.com/u/captsin)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 6:00pm UTC](https://forum.kirupa.com/t/math-random-question/308767 "2010-04-29T18:00:05Z")

</div>

Hello, I have created a tween with actionscript that moves a movie clip of a cityscape along the x axis whenever the mouse is clicked. This is my code var skylineTween:Tween=new Tween(skyline\_mc,"x", Regular.easeIn…

---

## [Stupid fill tool](https://forum.kirupa.com/t/stupid-fill-tool/308766)

<div class="topic-metadata">

**Author:** [@Heart\_Song](https://forum.kirupa.com/u/Heart_Song)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 5:44pm UTC](https://forum.kirupa.com/t/stupid-fill-tool/308766 "2010-04-29T17:44:22Z")

</div>

I created an animation and I want to color it in. ( I made the drawings by paint brush in Flash). The problem is the thing seems to think that every little line I draw is a seperate item. I've tried breaking it apart bu…

---

## [Making the water in a picture a symbol](https://forum.kirupa.com/t/making-the-water-in-a-picture-a-symbol/308765)

<div class="topic-metadata">

**Author:** [@saraCA23](https://forum.kirupa.com/u/saraCA23)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 5:30pm UTC](https://forum.kirupa.com/t/making-the-water-in-a-picture-a-symbol/308765 "2010-04-29T17:30:40Z")

</div>

I am trying to make the water in a picture of the ocean an object.

---

## [CS3 to CS4 | ReferenceError: Error #1065: Variable is not defined](https://forum.kirupa.com/t/cs3-to-cs4-referenceerror-error-1065-variable-is-not-defined/308763)

<div class="topic-metadata">

**Author:** [@BeechyBoy](https://forum.kirupa.com/u/BeechyBoy)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 4:34pm UTC](https://forum.kirupa.com/t/cs3-to-cs4-referenceerror-error-1065-variable-is-not-defined/308763 "2010-04-29T16:34:59Z")

</div>

I have seen a few posts regarding: ReferenceError: Error #1065: Variable is not defined, but none solving this issue... I have just upgraded to CS4 from CS3. I compiled and run the projects built in CS3 and get this er…

---

## [Flash and Excel](https://forum.kirupa.com/t/flash-and-excel/308759)

<div class="topic-metadata">

**Author:** [@junior\_kimbroug](https://forum.kirupa.com/u/junior_kimbroug)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 3:02pm UTC](https://forum.kirupa.com/t/flash-and-excel/308759 "2010-04-29T15:02:53Z")

</div>

Hi, I wonder if it is possible to read Excel documents like a xml document with Flash. Kind regards

---

## [Best way to tackle data entry](https://forum.kirupa.com/t/best-way-to-tackle-data-entry/308758)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 2:43pm UTC](https://forum.kirupa.com/t/best-way-to-tackle-data-entry/308758 "2010-04-29T14:43:16Z")

</div>

Hi I have a map of the UK with around 30 markers on when these are clicked I need the box to appear as shown in my attachment. These all need individual data and a unique link. How would you do this? Could I load t…

---

## [Creating a "toolbox" - how would I code this efficiently?](https://forum.kirupa.com/t/creating-a-toolbox-how-would-i-code-this-efficiently/308753)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 11:48am UTC](https://forum.kirupa.com/t/creating-a-toolbox-how-would-i-code-this-efficiently/308753 "2010-04-29T11:48:39Z")

</div>

I really have no idea how to ask this question, but I'll try anyway. A project I'm helping out with requires multiple tools (like the various types of pen and brush tools in most paint programs). The tools are thing…

---

## [Can somebody save this swf file to a video file](https://forum.kirupa.com/t/can-somebody-save-this-swf-file-to-a-video-file/308749)

<div class="topic-metadata">

**Author:** [@kevinkhan](https://forum.kirupa.com/u/kevinkhan)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 10:09am UTC](https://forum.kirupa.com/t/can-somebody-save-this-swf-file-to-a-video-file/308749 "2010-04-29T10:09:45Z")

</div>

I dont have a clue how to do it.. Im trying to upload it to you tube and needs to be in a video file.. im looking for good quality.. here is the banner www.corkdesigns.ie/flashback/banner1.swf Can anybody help?

---

## [Motion editor and tweens are driving me crazy](https://forum.kirupa.com/t/motion-editor-and-tweens-are-driving-me-crazy/308747)

<div class="topic-metadata">

**Author:** [@fideldonson](https://forum.kirupa.com/u/fideldonson)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 9:25am UTC](https://forum.kirupa.com/t/motion-editor-and-tweens-are-driving-me-crazy/308747 "2010-04-29T09:25:09Z")

</div>

It seems simple but i cant get it to work right. I want to alpha tween (ease in from 0 to 1) an object on stage over 25 frames. And after the tween is over i want the object to persist on the stage and in the timeline. H…

---

## [Dynamic Preload Problem](https://forum.kirupa.com/t/dynamic-preload-problem/308746)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 8:40am UTC](https://forum.kirupa.com/t/dynamic-preload-problem/308746 "2010-04-29T08:40:43Z")

</div>

Hi guys, I've a preload bar in my movieclip that i add on the stage for every thumb. With this code only the last preload bar does the preload...the others don't do anything...Here the code: function testMovieClip():v…

---

## [Use loader to encrypt swf](https://forum.kirupa.com/t/use-loader-to-encrypt-swf/308744)

<div class="topic-metadata">

**Author:** [@domyself](https://forum.kirupa.com/u/domyself)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 7:40am UTC](https://forum.kirupa.com/t/use-loader-to-encrypt-swf/308744 "2010-04-29T07:40:32Z")

</div>

I think the simple way to encrypt a swf is using Loader. Adding a chorme to the target swf, so the decompiler can not work. I'd used serval encrypt tools. Finally, I find a very lite app(air application).

---

## [HTML not full](https://forum.kirupa.com/t/html-not-full/308743)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 7:20am UTC](https://forum.kirupa.com/t/html-not-full/308743 "2010-04-29T07:20:26Z")

</div>

I publish into HTML file, but it is not full, there is empty space on the left and right. How to make it full ?

---

## [Cannot modify header information-headers already sent!](https://forum.kirupa.com/t/cannot-modify-header-information-headers-already-sent/308740)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 5:52am UTC](https://forum.kirupa.com/t/cannot-modify-header-information-headers-already-sent/308740 "2010-04-29T05:52:53Z")

</div>

Hi, I've a common header for my php script. That includes session checking and manipulate the links based on the user logged in or not. This header is used for all the pages. The problem is redirection for many pages n…

---

## [Mask Move with mouse](https://forum.kirupa.com/t/mask-move-with-mouse/308739)

<div class="topic-metadata">

**Author:** [@experts585](https://forum.kirupa.com/u/experts585)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 5:39am UTC](https://forum.kirupa.com/t/mask-move-with-mouse/308739 "2010-04-29T05:39:14Z")

</div>

i have a problem in moving the mask with mouse someone tel me what is the right code here is the code i use // myImage is bakground image // myMask is masking stop(); myImage.setMask(myMask); onEnterFrame= func…

---

## [How to transform a selected text in a RichTextBox into a TextBlock](https://forum.kirupa.com/t/how-to-transform-a-selected-text-in-a-richtextbox-into-a-textblock/308738)

<div class="topic-metadata">

**Author:** [@Flame113](https://forum.kirupa.com/u/Flame113)\
**Replies:** 0\
**Last updated:** [April 29, 2010, 4:33am UTC](https://forum.kirupa.com/t/how-to-transform-a-selected-text-in-a-richtextbox-into-a-textblock/308738 "2010-04-29T04:33:00Z")

</div>

Hi all, I have a trouble at the moment. I have a RichTextBox (or whatever which I can enter text), I want to select a word and transform it into a TextBlock. Is it possible? Thank you

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

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