# programming

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

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

**Page:** 173

---

## [AS3:how to load swc dynamically using as3](https://forum.kirupa.com/t/as3-how-to-load-swc-dynamically-using-as3/328286)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [May 4, 2012, 12:25pm UTC](https://forum.kirupa.com/t/as3-how-to-load-swc-dynamically-using-as3/328286 "2012-05-04T12:25:46Z")

</div>

hello everybody, I have a 2 .swc file ( Left.swc, Right.swc) in my project, i want to load it by as3 & "fla" independent, tried some help on google, but not working still Thanks in advance for any help & suggestions

---

## [Flash Based Content CD](https://forum.kirupa.com/t/flash-based-content-cd/328285)

<div class="topic-metadata">

**Author:** [@ketaki\_desai](https://forum.kirupa.com/u/ketaki_desai)\
**Replies:** 0\
**Last updated:** [May 4, 2012, 7:57am UTC](https://forum.kirupa.com/t/flash-based-content-cd/328285 "2012-05-04T07:57:25Z")

</div>

Hi Guys, I am trying to make an educational content cd which will open up pdfs subject wise. I have managed to finish the entire project and built the .exe file as well along with an fscommand folder containing the pd…

---

## [Anyone here play with Adobe Stagecraft?](https://forum.kirupa.com/t/anyone-here-play-with-adobe-stagecraft/328282)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [May 4, 2012, 2:21am UTC](https://forum.kirupa.com/t/anyone-here-play-with-adobe-stagecraft/328282 "2012-05-04T02:21:45Z")

</div>

I'm new to developing for stagecraft. I'd love to find someone with experience here (if possible) to bounce some questions off of. First big question: the app I'm working on — or rather, that was built by others and I…

---

## [Custom justify in TextField](https://forum.kirupa.com/t/custom-justify-in-textfield/328281)

<div class="topic-metadata">

**Author:** [@panoss](https://forum.kirupa.com/u/panoss)\
**Replies:** 0\
**Last updated:** [May 3, 2012, 5:24pm UTC](https://forum.kirupa.com/t/custom-justify-in-textfield/328281 "2012-05-03T17:24:34Z")

</div>

I want to make a custom justify method for textField (because I can't use the allready existing of the textField, it's not working exactly as I want). Suppose I have a text field with 2 lines of text: ab c def g ('c…

---

## [jQuery - uncaught reference error!](https://forum.kirupa.com/t/jquery-uncaught-reference-error/328280)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [May 3, 2012, 5:15pm UTC](https://forum.kirupa.com/t/jquery-uncaught-reference-error/328280 "2012-05-03T17:15:44Z")

</div>

Ughhhh Annoying... I am using jQuery - and it's not working for me. Very simply I define a function, and call it. Alas - no - I get the uncaught reference error. Maybe I have done something very stupid - but I cant see i…

---

## [FLVPlayback and XML making cuePoints not work](https://forum.kirupa.com/t/flvplayback-and-xml-making-cuepoints-not-work/328279)

<div class="topic-metadata">

**Author:** [@leeto](https://forum.kirupa.com/u/leeto)\
**Replies:** 0\
**Last updated:** [May 3, 2012, 3:04pm UTC](https://forum.kirupa.com/t/flvplayback-and-xml-making-cuepoints-not-work/328279 "2012-05-03T15:04:02Z")

</div>

\[LEFT\]\[COLOR=#000000\]\[FONT=Arial\]I'm loading the cuepoint name,time, and type from a XML file. They work fine when they are typed in directly, but I don't want to hardcode any numbers into SWF. Since, the times are expec…

---

## [Datagrid wih ComboBox Change Event](https://forum.kirupa.com/t/datagrid-wih-combobox-change-event/328277)

<div class="topic-metadata">

**Author:** [@CodeKid23](https://forum.kirupa.com/u/CodeKid23)\
**Replies:** 0\
**Last updated:** [May 3, 2012, 9:23am UTC](https://forum.kirupa.com/t/datagrid-wih-combobox-change-event/328277 "2012-05-03T09:23:03Z")

</div>

Hi, I have a datagrid with a combobox, how can I trigger the change event of the combo box and display the combo box selected text in a dynamic textbox?

---

## [How to overcome this problem when resizing the SWF file according to browser size?](https://forum.kirupa.com/t/how-to-overcome-this-problem-when-resizing-the-swf-file-according-to-browser-size/328272)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [May 2, 2012, 8:14pm UTC](https://forum.kirupa.com/t/how-to-overcome-this-problem-when-resizing-the-swf-file-according-to-browser-size/328272 "2012-05-02T20:14:23Z")

</div>

Hi, I am resizing the flash (.swf) file accroding to the browser window to fit on any screen resolution. But the problem I am facing now is related to animations which cross the \[COLOR=#0000ff\]STAGE \*\*\[/COLOR\]area. …

---

## [Flash to html5](https://forum.kirupa.com/t/flash-to-html5/328266)

<div class="topic-metadata">

**Author:** [@sunshine12](https://forum.kirupa.com/u/sunshine12)\
**Replies:** 0\
**Last updated:** [May 2, 2012, 6:58am UTC](https://forum.kirupa.com/t/flash-to-html5/328266 "2012-05-02T06:58:26Z")

</div>

Hi, I am working on a flash project which needs to be converted to html5. How is it possible to do that? The project has multiple interactive swf's with hotspots and are loaded on button click. I have already tried th…

---

## [hitTestObject from within an animated MovieClip help!](https://forum.kirupa.com/t/hittestobject-from-within-an-animated-movieclip-help/328262)

<div class="topic-metadata">

**Author:** [@49th](https://forum.kirupa.com/u/49th)\
**Replies:** 0\
**Last updated:** [May 1, 2012, 11:31pm UTC](https://forum.kirupa.com/t/hittestobject-from-within-an-animated-movieclip-help/328262 "2012-05-01T23:31:26Z")

</div>

Hi, I am having some trouble performing a hit test in a frog game I am making. When the UP key on the keyboard is pressed an animation in my 'frog' MovieClip plays of a frog jumping, and at frame 22 and 23 (the peak of…

---

## [Unit test for as3 project](https://forum.kirupa.com/t/unit-test-for-as3-project/328260)

<div class="topic-metadata">

**Author:** [@Moshe\_Shein](https://forum.kirupa.com/u/Moshe_Shein)\
**Replies:** 0\
**Last updated:** [May 1, 2012, 3:05pm UTC](https://forum.kirupa.com/t/unit-test-for-as3-project/328260 "2012-05-01T15:05:57Z")

</div>

I have a general question: What is the best way to do unit tests in / on an AS3 project?

---

## [Mouse over pan movie clip](https://forum.kirupa.com/t/mouse-over-pan-movie-clip/328258)

<div class="topic-metadata">

**Author:** [@Hil\_Ai](https://forum.kirupa.com/u/Hil_Ai)\
**Replies:** 0\
**Last updated:** [May 1, 2012, 2:09pm UTC](https://forum.kirupa.com/t/mouse-over-pan-movie-clip/328258 "2012-05-01T14:09:17Z")

</div>

Hey there! I could really use some help. I have two moveclips on my stage that make up my background. One is called land\_mc and the other is called sky\_mc. I'm trying to get them to pan slightly although constrained …

---

## [hitTest on duplicated MovieClips](https://forum.kirupa.com/t/hittest-on-duplicated-movieclips/328252)

<div class="topic-metadata">

**Author:** [@Acon](https://forum.kirupa.com/u/Acon)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 11:34pm UTC](https://forum.kirupa.com/t/hittest-on-duplicated-movieclips/328252 "2012-04-30T23:34:42Z")

</div>

In my as2 game i have an enemy on stage called "Enemy0", my script duplicates this enemys' actions and spawns a var number of enemies called "Enemy". However when i play the game my "Enemy0" hits the wall I made while my…

---

## [Animation switching in AS3](https://forum.kirupa.com/t/animation-switching-in-as3/328249)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 6:20pm UTC](https://forum.kirupa.com/t/animation-switching-in-as3/328249 "2012-04-30T18:20:31Z")

</div>

Hello, I'm writing a simple game program where enemies scroll down the screen and the player must hit them to score points. The problem is switching from one animation to another. I have 3 animations a running, an id…

---

## [How to get this outline effect?](https://forum.kirupa.com/t/how-to-get-this-outline-effect/328248)

<div class="topic-metadata">

**Author:** [@jalalkhan](https://forum.kirupa.com/u/jalalkhan)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 6:16pm UTC](https://forum.kirupa.com/t/how-to-get-this-outline-effect/328248 "2012-04-30T18:16:36Z")

</div>

Hi, I have this file where I have a Graphic on the stage and it has an outline effect in the Flash IDE, but when I publish it, it didnt show in the swf file. can anyone explain me why is this so? See the attached files. …

---

## [Social buttons tidy-up](https://forum.kirupa.com/t/social-buttons-tidy-up/328247)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 5:52pm UTC](https://forum.kirupa.com/t/social-buttons-tidy-up/328247 "2012-04-30T17:52:32Z")

</div>

Hellooo. I have added some social buttons (facebook, g+, twitter) to my site but they are not lining up nicely. Check it out: Please remove the X from the link http://www.meXdiadisplays.tv/test.php You'll see three s…

---

## [Remove Transparent Pixels \[as3\]](https://forum.kirupa.com/t/remove-transparent-pixels-as3/328245)

<div class="topic-metadata">

**Author:** [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 5:11pm UTC](https://forum.kirupa.com/t/remove-transparent-pixels-as3/328245 "2012-04-30T17:11:43Z")

</div>

Hello again kirupa, I created bitmapdata from the stage that is filled with transparent pixels. What is the best way to remove all of the transparent pixels?

---

## [Interactive panning](https://forum.kirupa.com/t/interactive-panning/328243)

<div class="topic-metadata">

**Author:** [@Jorge\_Laguna](https://forum.kirupa.com/u/Jorge_Laguna)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 4:23pm UTC](https://forum.kirupa.com/t/interactive-panning/328243 "2012-04-30T16:23:26Z")

</div>

Hi!!! I'm pretty new here, and I'm basically here to beg for help, I've been working on a point and click game and there's something I cant get right, I have a really large movieclip(4910 X 480) I'm panning on a 850X 4…

---

## [Formatting htmlText](https://forum.kirupa.com/t/formatting-htmltext/328240)

<div class="topic-metadata">

**Author:** [@Matt7](https://forum.kirupa.com/u/Matt7)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 2:56pm UTC](https://forum.kirupa.com/t/formatting-htmltext/328240 "2012-04-30T14:56:46Z")

</div>

I'm working with last.fm's api to return a biography for an artist.. which I have working and displaying on the stage in a textfield. However I am having trouble formatting the text. I want to be able to do a little cs…

---

## [Array length returns incorrect value](https://forum.kirupa.com/t/array-length-returns-incorrect-value/328235)

<div class="topic-metadata">

**Author:** [@panoss](https://forum.kirupa.com/u/panoss)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 12:21pm UTC](https://forum.kirupa.com/t/array-length-returns-incorrect-value/328235 "2012-04-30T12:21:50Z")

</div>

The code loops from the 1st letter of the string ("123 567") till the last and finds position of the gaps in it (1, which is correct) and the Array length (= number of gaps =4 which is wrong). What am I doing wrong? Ju…

---

## [Getting null on the place of Object](https://forum.kirupa.com/t/getting-null-on-the-place-of-object/328234)

<div class="topic-metadata">

**Author:** [@DeadlyDude](https://forum.kirupa.com/u/DeadlyDude)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 10:52am UTC](https://forum.kirupa.com/t/getting-null-on-the-place-of-object/328234 "2012-04-30T10:52:14Z")

</div>

Hello guys , I am storing the current object in a current\_target, when hittest is true and dispathing an event to document class. Here is my code if(evt.target.hitTestObject(\_targetCont)) { current\_target=new…

---

## [Tutorial: Variables in JavaScript](https://forum.kirupa.com/t/tutorial-variables-in-javascript/328233)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 8:09am UTC](https://forum.kirupa.com/t/tutorial-variables-in-javascript/328233 "2012-04-30T08:09:28Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]This is the happening place to discuss all things related…

---

## [New member here, Data Storage question](https://forum.kirupa.com/t/new-member-here-data-storage-question/328232)

<div class="topic-metadata">

**Author:** [@ceerup](https://forum.kirupa.com/u/ceerup)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 7:20am UTC](https://forum.kirupa.com/t/new-member-here-data-storage-question/328232 "2012-04-30T07:20:22Z")

</div>

im creating an app for android and iOS i want the user to be able to exit the app and come back and whatever they typed in the boxes will be there when they come back lets say i have this code for example \<!DOCTYPE…

---

## [Recognising text characters from an image](https://forum.kirupa.com/t/recognising-text-characters-from-an-image/328228)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 3:50am UTC](https://forum.kirupa.com/t/recognising-text-characters-from-an-image/328228 "2012-04-30T03:50:21Z")

</div>

Hi, So let's say you have an image of a letter, for example, let's use the popular Words with Friends letters: \[image\] What would be the best way to detect each letter from this image? At first I collected images…

---

## [Error 2007 & 1009](https://forum.kirupa.com/t/error-2007-1009/328227)

<div class="topic-metadata">

**Author:** [@antlergames](https://forum.kirupa.com/u/antlergames)\
**Replies:** 0\
**Last updated:** [April 30, 2012, 3:17am UTC](https://forum.kirupa.com/t/error-2007-1009/328227 "2012-04-30T03:17:46Z")

</div>

Hey, when I run this I get this: TypeError: Error #2007: Parameter hitTestObject must be non-null. at flash.display::DisplayObject/\_hitTest() at flash.display::DisplayObject/hitTestObject() at Untitled\_fla::Ma…

---

## [Possible google maps style draggable map with buttons?](https://forum.kirupa.com/t/possible-google-maps-style-draggable-map-with-buttons/328225)

<div class="topic-metadata">

**Author:** [@Profitemole](https://forum.kirupa.com/u/Profitemole)\
**Replies:** 0\
**Last updated:** [April 29, 2012, 1:35pm UTC](https://forum.kirupa.com/t/possible-google-maps-style-draggable-map-with-buttons/328225 "2012-04-29T13:35:29Z")

</div>

Hi, I'm trying to build a draggable map (within a certain visible area) that has clickable buttons on it, just like google earth. I'd like the map to be quite larger but only a section of it visible but it can be dragged…

---

## [Before and after question](https://forum.kirupa.com/t/before-and-after-question/328224)

<div class="topic-metadata">

**Author:** [@joenowhere](https://forum.kirupa.com/u/joenowhere)\
**Replies:** 0\
**Last updated:** [April 29, 2012, 1:00pm UTC](https://forum.kirupa.com/t/before-and-after-question/328224 "2012-04-29T13:00:26Z")

</div>

I'm new in Flash, now I want to make a before and after photo gallery, and each set of photo have a bar in it, so user can click on the bar and slide left and right to see the effect before and after, but the problem is …

---

## [Problem in dispatching event](https://forum.kirupa.com/t/problem-in-dispatching-event/328222)

<div class="topic-metadata">

**Author:** [@DeadlyDude](https://forum.kirupa.com/u/DeadlyDude)\
**Replies:** 0\
**Last updated:** [April 29, 2012, 4:33am UTC](https://forum.kirupa.com/t/problem-in-dispatching-event/328222 "2012-04-29T04:33:12Z")

</div>

\[LEFT\]\[COLOR=#333333\]\[FONT=lucida grande\] I am having some problem with the dispatchEvent .I had created my own custom event named "HitEvents" which is under the package "customevents" & I am dispatching that event from …

---

## [Load Multiple Images](https://forum.kirupa.com/t/load-multiple-images/328221)

<div class="topic-metadata">

**Author:** [@marsh0](https://forum.kirupa.com/u/marsh0)\
**Replies:** 0\
**Last updated:** [April 28, 2012, 11:55pm UTC](https://forum.kirupa.com/t/load-multiple-images/328221 "2012-04-28T23:55:27Z")

</div>

Hey, i currently have this program reading 5 pictures out of a xml file. When i click on them it displays each one. I want to make it so that it loads all 5 pictures up in thumbnail size. I have it resizing and display…

---

## [HTML5 audio for firefox](https://forum.kirupa.com/t/html5-audio-for-firefox/328220)

<div class="topic-metadata">

**Author:** [@arpi\_d](https://forum.kirupa.com/u/arpi_d)\
**Replies:** 0\
**Last updated:** [April 28, 2012, 7:47pm UTC](https://forum.kirupa.com/t/html5-audio-for-firefox/328220 "2012-04-28T19:47:32Z")

</div>

Can someone help me? I am trying to open my website with firefox but it is not playing audio effects for menu, but in google chrom the sound effects are working.

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

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