Re: [Flashcoders] Re: Sending 2 HTTP requests from a webchat-like app

2009-08-17 Thread Mick G
You might want to think about using something more robust like smartfoxserver so you can not have the restrictions of http requests. I've been using is on a chat/whiteboard app for a while and it's an enormous performance increase over any http requests. On Sun, Aug 16, 2009 at 3:26 PM, Alexander

[Flashcoders] amfphp AS3 - results as named arrays?

2009-08-15 Thread Mick G
I have a project that I built in AS2/amfphp that I am converting to AS3 and from what I can tell, in AS3 there is no way to access the results of an amfphp query as named arrays - is this correct? In AS2 after a resmoting response I could do this: getDraw_Result = function (Results:Array) {

Re: [Flashcoders] AS3 training courses in Sydney

2008-11-09 Thread Mick G
I did a course with this company years ago (2004 I think it was) and it was great. Linda was my trainer and she did a great job at answering questions for different levels of people in the room from advanced to beginners. I remember researching before I did the course and someone mentioned to me

Re: [Flashcoders] Edit SWF file server side via PHP

2008-11-07 Thread Mick G
php and inject a dynamic generated code on your movie. http://www.mtasc.org/ But why to you want to change variables inside a movie? Why don't just load the variables? Fabrício On Thu, Nov 6, 2008 at 10:19 PM, Mick G [EMAIL PROTECTED] wrote: I have a SWF that I want to be able

[Flashcoders] Edit SWF file server side via PHP

2008-11-06 Thread Mick G
I have a SWF that I want to be able to change a few variables server-side via PHP. I know there is MING (libming.org) but would prefer not to have to go to this much trouble and am hoping I can do this via PHP. From a post here

[Flashcoders] Obfuscator encryption tools

2008-06-03 Thread Mick G
I know this has been discussed many times but I'm having troubles finding any up-to-date information on this topic. It's been a while since I looked into this subject. Just after any recommended tools for an Obfuscator for AS2 SWFs. ___ Flashcoders

Re: [Flashcoders] animating into bitmaps data, recording stop points

2008-04-10 Thread Mick G
the bitmap. Mick G wrote: I'm working on an animation of sorts that uses the Flash drawing api to draw into bitmapdata. At various intervals throughout the animation I want to record screenshots and be able to step back and view these various stages of the animation. The only way I can

[Flashcoders] animating into bitmaps data, recording stop points

2008-04-09 Thread Mick G
I'm working on an animation of sorts that uses the Flash drawing api to draw into bitmapdata. At various intervals throughout the animation I want to record screenshots and be able to step back and view these various stages of the animation. The only way I can think of achieving this is creating

[Flashcoders] encrypt string (fast)

2007-08-16 Thread Mick G
I need a way to encrypt a LARGE string (up to 100k of text) - my data is mostly xy coordinates so 90% numbers. I've tried a few AS encryption classes that I've found online and considering I have such a large string, they're all too slow. It doesn't need to be too secure - decryption speed is

Re: [Flashcoders] encrypt string (fast)

2007-08-16 Thread Mick G
need to encrypt it? If you just need it unreadable, then why not kill two birds with one stone and compress it? http://www.razorberry.com/blog/archives/2004/08/22/lzw-compression-methods-in-as2/ On 8/16/07, Mick G [EMAIL PROTECTED] wrote: I need a way to encrypt a LARGE string (up

[Flashcoders] Synchronized game timing

2007-08-08 Thread Mick G
I'm after a little theory here from people who have created multi-player games before. I have a java socket-server in place and all the functionality of the game working fine. I just need a way to synchronize the game (as best as I can). What I'm trying to do is restart a new game every 3

Re: [Flashcoders] Synchronized game timing

2007-08-08 Thread Mick G
, but then you have to worry about firewalls. To get past the firewalls, you can use UDP hole punching, but that requires a level of control over the packet that none of the projector apps offer, so basically, if you want to do anything real-time, do it in C++, or Java. --- Mick G [EMAIL

[Flashcoders] Convert URLs in a string to links

2007-06-25 Thread Mick G
Can anyone think of an efficient way to convert a URL (or multiple URLs) in a string to a link. eg. myString = this website http://www.this.com is really cool; would convert to: this website a href='http://www.this.com' http://www.this.com/a is really cool. I tried splitting the string at

[Flashcoders] shared objects file limit

2007-06-06 Thread Mick G
Could someone please confirm, is the default 100K file limit for share objects per domain, per subdomain, or per url, or per share object? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Local connection no good in tabbed browsing

2007-05-19 Thread Mick G
I've noticed that when using Localconnection in FF (not tested in IE) with tabbed browsing, the communication between two SWFs can get lost becuse the same SWF can be running at the same time. Has anyone experienced this and have a solution/workaround?

Re: [Flashcoders] (no subject)

2007-05-13 Thread Mick G
I'll elaborate on that so it's actually helpful ;) Make sure your DIV has an ID Call a Javascript function that goes something like this function hideSWF(){ var s = document.getElementById('swfDIVid'); s.style.display=none; } if you need it to appear again JS...

[Flashcoders] Flash chat options

2007-05-11 Thread Mick G
Does anyone have any suggestions to the best way to implement a Flash based chatroom (Can be commercial, but I have a low budget). I'm after something that utilizes a free XML socket server and something that works efficiently on a server without any nast polling. I've tried implementing

[Flashcoders] Pick random hex color

2007-05-03 Thread Mick G
Can anyone suggest the best way to approach a function to select a random hex color that returns only valid hex values? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Zigo Fuse Filter syntax

2007-04-25 Thread Mick G
I'm working with Zigo/FMP and just getting used to these mysterious wonders... I've used *mc_tween2* in the past and was able to do this type of thing but not having any luck with the Fuse Kit... //Blur to 10, then back to 0 ZigoEngine.doTween(mc, Blur_blur, 10, 2, Elastic.easeOut, 0);

Re: [Flashcoders] Microsoft Silverlight ...

2007-04-17 Thread Mick G
I'm going to throw a wild guess out and say that once the penetration begins Silverfast will be to PC users what quicktime is to mac users... (meaning it will be used by most PC users, but not as many mac users). With the Microsoft backing, it will no doubt at some point be part of IE and be

[Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Mick G
Does anyone know how this is done? (The saving as JPG option) http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN My guess is AS3 and some type of AS3 JPG encoder? It seems too fast and responsive to be doing any server side image encoding.

Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Mick G
for Flash 8, so I highly doubt it's an AS3 solution. I believe it's a highly optimized server-side solution. On 4/13/07, Mick G [EMAIL PROTECTED] wrote: Does anyone know how this is done? (The saving as JPG option) http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN My guess

Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Mick G
I highly doubt it's an AS3 solution. I believe it's a highly optimized server-side solution. On 4/13/07, Mick G [EMAIL PROTECTED] wrote: Does anyone know how this is done? (The saving as JPG option) http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN My

[Flashcoders] Color Picker/chooser Component

2007-04-12 Thread Mick G
Just on the look out for a color picker component (the palette kind, not an eyedropper) that allows me to SET a color to the chooser as well as from. eg. Send a color to the component and have it update with the color I send. All I can find is picker components send colors out of the component,

Re: [Flashcoders] Scaling Filters

2007-04-11 Thread Mick G
Matrix scaling also does the same thing - does not scale Blur/filter properties. I've tried this... var snapshot:BitmapData = new BitmapData(121,88,true,0x); //Matrix to scale the new image var myMatrix = new Matrix(); myMatrix.translate(-23,-19); myMatrix.scale(0.25, 0.25);

[Flashcoders] Scaling Filters

2007-04-10 Thread Mick G
I've noticed if I apply for example a 10x 10y blue filter to a MC, then scale it 200%, it retains the 10 pixel blur - which actually makes the MC look less blured because the blur has not been scaled. Is there any way to lock in a filter blur so that when it's scaled, it looks proportional?

Re: [Flashcoders] Scaling Filters

2007-04-10 Thread Mick G
Create a holder movieclip as its parent; the inner movieclip is the one who holds the filter, but the holder movieclip is the one who gets scaled. I don't think this works (But I wish it did). I have a HOLDERMC.CHILDMC.MCwithblurfilterapplied I'm scaling HOLDERMC 200% and the blur does not

Re: [Flashcoders] Free Upgrade CS2 to CS3???

2007-03-29 Thread Mick G
I'm just wondering if all the CS3 talk is getting a little out of control for this list. I understand it's a tool we all use, but I personally like to see this list closer to the flashcoding topic rather than discussing our favorite Adobe applications and upgrade paths. I don't want to start a

Re: [Flashcoders] Flash CS3 Announced

2007-03-27 Thread Mick G
Apart from what the new Flash CS3 features are - it's interesting how much confusion there is over this very low key release. Is the new tactic of software releases now days about surprise attack? :) On 3/27/07, hank williams [EMAIL PROTECTED] wrote: It appear that flash CS3 is much more

Re: [Flashcoders] Flash and levels

2007-03-27 Thread Mick G
I think in general, levels aren't used much any more. It's become more common to use holder movieclips to control groups of content. If you have to, you can even put holder MCs on different levels of your timeline and load content into whichever MC you want. You can then also do things like

Re: [Flashcoders] too many lines in one frame

2007-03-21 Thread Mick G
Perhaps 32K is the compiled size limit - not the uncompressed .as file size limit. On 3/21/07, me myself [EMAIL PROTECTED] wrote: Maybe, but the AS file was 115kb, and it had been working fine for months (during which time it was well over 32kb). I'm wondering if it's more about reaching some

[Flashcoders] 500 blur filters on 500 MCs

2007-03-20 Thread Mick G
Just curious if anyone has had experience working with filters on a large number of movieclips. I have 500 - 1000 movieclips on stage (not animating) and I want to apply various different blur filters and other filters to these movieclips. I can't use one big parent clip and apply a filter to

Re: [Flashcoders] 500 blur filters on 500 MCs

2007-03-20 Thread Mick G
Thanks for the reply Steven - I understand I'm pushing things here. Would you think cacheasbitmap would help in this situation? If you apply a blur to a MC, then cacheasbitmap, does that convert the MC with blur to a cached bitmap? If so, my guess is it would probably help the cpu, but take a

Re: [Flashcoders] 500 blur filters on 500 MCs

2007-03-20 Thread Mick G
OK, after researching more I found out that applying a filter to a MC will actually turn bitmapcaching on for that MC anyway. I did stumble on this which is interesting: http://www.sebleedelisle.com/?p=35 Anyone know the theory of how this works? On 3/20/07, Mick G [EMAIL PROTECTED] wrote

Re: [Flashcoders] remoting question

2007-03-16 Thread Mick G
I'm not aware of a way to do this either. In the past I've just had an animated progress bar that loops and illustrates loading is taking place - the animation is started when the call is made and stopped when results are returned. On 3/15/07, Glen Pike [EMAIL PROTECTED] wrote: Hi, I

Re: [Flashcoders] Export a bitmapData to a PDF on server

2007-03-15 Thread Mick G
ImageMagik supports PDF http://www.imagemagick.org/script/index.php On 3/15/07, Flap Flap [EMAIL PROTECTED] wrote: Hi there, Do you people knows a way to export a bitmapData to a pdf on server ? I assume its possible as we can do it for a jpg. I just looking for ready to use script if

Re: [Flashcoders] swf2jpg conversion

2007-03-14 Thread Mick G
All Flash 8 solutions. http://www.sephiroth.it/tutorials/flashPHP/print_screen/ http://www.quasimondo.com/archives/000572.php http://www.5etdemi.com/blog/archives/2006/06/saving-bitmaps-in-flash-a-fast-solution/ The PHP flash2jpg solutions that most people talk of are only for rendering

Re: [Flashcoders] question about txt files and flash

2007-03-14 Thread Mick G
How big are we talking? I've loaded 150K text files before (which is something like 5 pages of text). Are you sure there's not some type of invalid node or incorrectly formatted element in your xml file? Does the XML file load properly in a browser? On 3/14/07, Gustavo Duenas [EMAIL PROTECTED]

Re: [Flashcoders] I have small doubt

2007-03-13 Thread Mick G
If you're using CFM, just do a standard POST to a CFM script that updates the XML. It's more of an issue of how you can do this in Cold Fusion (which this list is probably not the best place to get help). If you create a form that has this functionality you need then flash will be able to post

Re: [Flashcoders] Flash / Flex specific search engine

2007-03-07 Thread Mick G
So this is just using google search API and all it is is just a search engine that searches specific sites you've determined to be flash/flex specific? Is there anything particularly special about it? On 3/7/07, Dave Watts [EMAIL PROTECTED] wrote: Trying to figure out what this is - what

Re: [Flashcoders] Number -- how good for use as an integer?

2007-03-05 Thread Mick G
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_13989 I think you may have to put some Math.round(); around some of your values just in case. On 3/5/07, Douglas Pearson [EMAIL PROTECTED] wrote: Can someone clarify whether Number is actually just a simple wrapper round a double

Re: [Flashcoders] Crossdomain for president

2007-03-02 Thread Mick G
Have you thought about using the server-side proxy method? I've used this to load Yahoo XML into flash modules. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16520 On 3/2/07, John Crosby [EMAIL PROTECTED] wrote: Howdy all, Wouldn't it be nice if Yahoo starts adding

Re: [Flashcoders] Crossdomain for president

2007-03-02 Thread Mick G
All you need is any server-side language (There are links on that page for PHP, CFM, ASP and JSP) All you do is create a file eg. yahooxml.php In this PHP file you put: ?php $dataURL = http://www.yahoo.com/xmlfeed.xml;; //note that this will not follow redirects readfile($dataURL); ? From

Re: [Flashcoders] Append variables to SWF server-side

2007-02-28 Thread Mick G
of that. -Andy On 2/26/07, Mick G [EMAIL PROTECTED] wrote: Does anyone know if there is a way to add data to a SWF file server-side? Eg. I have a swf that site on my server. I want users to be able to select an option from a dropdown such as Select a color: BLUE. This would then send them a SWF

Re: [Flashcoders] simulating airbrush + calligraphy brush

2007-02-28 Thread Mick G
If you want to simulate a painting application you have to be mindful of how artists work. You WILL have ten of thousands of strokes being generated which will at some point (depending on the users system) slow down the flash player. Many artists do lots of sketch style mouse actions where they

Re: [Flashcoders] Dragging a clip gives erratic ._x numbers

2007-02-28 Thread Mick G
Perhaps it's doing some rounding because your mouse is sitting on half pixels and it's not noticeable to the eye (if that's even possible). Have you tried putting a Math.ceil around the _x values to see if it helps always round the value up? On 2/28/07, David Cohn [EMAIL PROTECTED] wrote:

[Flashcoders] removeMovieclip actions on 1000 MCs

2007-02-16 Thread Mick G
I have 1000 movieclips on stage and want it so whichever one you click on gets removed. At the moment I have a for loop that is assigning: for(var i=0; i1000; i++){ this[mc+i].onPress = function(){ trace(this); this.removeMovieClip(); } } it all works fine, I'm just

Re: [Flashcoders] handling non-western characters in Flash

2007-02-15 Thread Mick G
I did this for a project recently... - Used XML files (different one for each language) - Use device fonts (embedding fonts for most languages is not an option... eg. Japanese font files would add massive file size) On 2/15/07, Michael Mudge [EMAIL PROTECTED] wrote: It'll take a ton of space,

Re: [Flashcoders] handling non-western characters in Flash

2007-02-15 Thread Mick G
, have you ever tried this with shared fonts? Maybe have on font per shared library and load on demand the font that you need? Donald - Original Message From: Mick G [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 15, 2007 2:20:20 PM

Re: [Flashcoders] Art oriented uses/examples of Flash

2007-02-14 Thread Mick G
Web cam expirements (I consider these art) http://incomplet.gskinner.com/ 3D simulated art experiments http://www.levitated.net/ On 2/14/07, Iv [EMAIL PROTECTED] wrote: Hello Roy, http://www.conclave.ru RP Nice to see the links that people are sharing @ best Flash projects. If RP it's not

Re: [Flashcoders] clickTags and sending variables to aspx

2007-02-13 Thread Mick G
You're probably better off appending them manually so you can defined exactly which vars to send... on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag+var1, _blank, GET); trace (var1); } if you need the var names as part of the URL string you may need... on (release) {

Re: [Flashcoders] clickTags and sending variables to aspx

2007-02-13 Thread Mick G
I didn't see the append=. Let me try again... on (release) { var1 = append=this_to_be_appended_to_URL; getURL(clickTag+?+var1, _blank); trace (var1); } On 2/13/07, Mick G [EMAIL PROTECTED] wrote: You're probably better off appending them manually so you can defined exactly which vars

Re: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Mick G
If you have access to PHP you can use http referrer (which isn't 100% effective, but one of the better solutions) $ENV{'HTTP_REFERER'} I'm not sure how well that will work with a Flash application but potentially you could send that to flash via a flashvar in PHP from your page. On 2/7/07,

Re: [Flashcoders] Remove / Hide a video component

2007-01-30 Thread Mick G
I just did a quick test and dragged a component on stage and set myvid._visible = false; and it seemed to hide the component just fine Failing that you could always change it's x or y position to somewhere off stage like myvid._x = -1000 On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote: I

Re: [Flashcoders] Need a volunteer Flash Programmer

2007-01-30 Thread Mick G
This is very small and non-profit. I cannot pay you Classic! You may wish to read this... http://positionrelative.wordpress.com/2007/01/23/craigs-pissed/ On 1/30/07, Swivelgames Support [EMAIL PROTECTED] wrote: Hey, I am looking for some US based or English speaking Flash Programmers to

Re: [Flashcoders] ExternalInterface with multiple swfs

2007-01-29 Thread Mick G
I've had this working fine - just make sure you use different IDs for each Flash module. On 1/29/07, Thomas Fowler [EMAIL PROTECTED] wrote: All- A recent post spurred my memory of an issue I had a while back. Has anyone experienced any issues with having two SEPARATE SWFs in an HTML page

[Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Mick G
I've always wondered why there is no option to omit comments when publishing a SWF. We all try comment our code as much as possible and at times it can double (or more) the number of lines of code in an application. This would especially make sense when using other people's classes or extensions

Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Mick G
in the publish settings do this? ben Mick G wrote: I've always wondered why there is no option to omit comments when publishing a SWF. We all try comment our code as much as possible and at times it can double (or more) the number of lines of code in an application. This would

Re: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Mick G
OK - thanks for clarification, I must be going a little mad :) On 1/25/07, Martin Wood-Mitrovski [EMAIL PROTECTED] wrote: comments arent compiled. dont worry about it. :) Mick G wrote: Am I wrong in thinking that comments are included in a SWF when it's published

Re: [Flashcoders] Invisible re-draw

2007-01-25 Thread Mick G
Will updateafterevent() help? http://www.webpronews.com/webdevelopment/webapplications/wpn-27-20040521updateAfterEventExplained.html On 1/25/07, Micky Hulse [EMAIL PROTECTED] wrote: Hello. True or false: A Flash banner will not re-draw on the screen, via browser for example, if there is no

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Mick G
Try looking into this JS/Flash bug - it's a strange one but gets me once and a while... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 On 1/23/07, Nick Zotta [EMAIL PROTECTED] wrote: I created my own swfobject kind of javascript class that uses document.write() to put my

Re: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Mick G
Zotta [EMAIL PROTECTED] wrote: Thanks for the link, I've already seen this bug on the net, but it is not my case. My swf filename only contains small capital letters. On 1/23/07, Mick G [EMAIL PROTECTED] wrote: Try looking into this JS/Flash bug - it's a strange one but gets me once

[Flashcoders] Loading international language XML into Flash

2007-01-16 Thread Mick G
I have a file that needs to be able to load various languages into the Flash via XML (Chinese, Japanese, Russian, etc.) Any tips? - Is this as simple as using system fonts for all dynamic text fields - If I want smooth fonts, do I just need to find a font to embed for each language (in which case

Re: [Flashcoders] crossdomain issues -- do they exist?

2007-01-16 Thread Mick G
I thought the crossdomain policy file wasn't supported in Flash player 6?? You have to use: System.security.allowDomain http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213 or if you have control of both servers, use a proxy file (or the shim method) to load the file on the

Re: [Flashcoders] Loading .html as a String variable

2007-01-16 Thread Mick G
If you had a server-side language like PHP you could create a script to add myString= to the start of the file then load it with loadvars. On 1/16/07, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. Does anyone know of a way to load an .html document as a simple String variable, so it can be

Re: [Flashcoders] hell with swapDepths

2007-01-15 Thread Mick G
Keep all the clips that you want to perform swap depths inside a holder MC, that way when you're swapping depths it will only swap depths with elements inside that holder MC, not other elements. On 1/12/07, sam rolfe [EMAIL PROTECTED] wrote: Ok, so i thought I could use swapDepth in my class

Re: [Flashcoders] importing large string into Flash

2007-01-10 Thread Mick G
as xml content then u can read as normal xml. bye regards palanivel subramanian On 1/10/07, Mick G [EMAIL PROTECTED] wrote: I have external texts file that I'm loading into Flash containing strings like this content=1243,24,2423423,4235436,64564,64,45,6767867,8768,76... etc. Many

Re: [Flashcoders] export images from flash

2007-01-08 Thread Mick G
http://www.quasimondo.com/archives/000572.php On 1/8/07, badi malik [EMAIL PROTECTED] wrote: hi all, i'm wondering if it's possible to export a jpg from flash and post it to a server for an application like Image Magick to composite...? thanks much

Re: [Flashcoders] Flash Game - Post Encrypted Score to server side script

2006-12-22 Thread Mick G
You can also try checking the HTTP referrer in PHP to make sure people can only post data to your PHP script from your page on your site. On 12/22/06, JulianG [EMAIL PROTECTED] wrote: Thanks John! ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] frame 1 - stop() not working with simulate download

2006-12-12 Thread Mick G
I've seen this behavior when using if(bytesLoaded==bytesTotal) and not checking if the bytesLoaded is 1K (or some small file size) to be sure it has started loading. So... use-- if(bytesLoaded==bytesTotal bytesLoaded1024) On 12/12/06, John Olson [EMAIL PROTECTED] wrote: I'm not sure why I

Re: [Flashcoders] Extracting SWF height and width from php

2006-12-11 Thread Mick G
On idea... You could use Stage.width and Stage.height in Flash - send those variables via Javscript/externalInterface and use a javascript function to adjust the height/width of the table. On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to extract the height and width

Re: [Flashcoders] Need to reload page ads on Flash event clicks.

2006-12-07 Thread Mick G
I'm not sure how 247realmedia works but I know eyeblaster have some custom code that lets you communicate from one banner to another via their extension. You might want to check with them. Otherwise look into localconnection... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16243

Re: [Flashcoders] Need to reload page ads on Flash event clicks.

2006-12-07 Thread Mick G
a page called page.html, which has a FlashApp embedded. If I'm moving some section A to section B in my flash app, I'd like to force the ads on page.html to all refresh without reloading the whole page again. Is that clearer? On 12/7/06, Mick G [EMAIL PROTECTED] wrote: I'm not sure how

[Flashcoders] File-name operand bug workaround

2006-12-06 Thread Mick G
Does anyone know of a work-around to this bug: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 I'm getting javascript errors in IE using externalInterface and SWF file names that have a hyphen in them. Unfortunately I'm working with a content management system that renames SWF's

Re: [Flashcoders] File-name operand bug workaround

2006-12-06 Thread Mick G
converted by ActionScript's escape() function, but you can force it like so: ExternalInterface.call(myJSFunc, escape(s).replace(-, %2D)); Then, in JavaScript: function myJSFunc(filename) { filename = unescape(filename); // Continue } On 12/6/06, Mick G [EMAIL PROTECTED] wrote: Does

Re: [Flashcoders] componets below mask

2006-12-04 Thread Mick G
I believe this is because components use system fonts and system fonts do not show up in masks - if the components allow you to embed fonts, this should fix the problem. On 12/3/06, learner [EMAIL PROTECTED] wrote: Hello all, I have kept few components on the stage, like buttons, label etc.

Re: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Mick G
Does this help? for(var i=Array.length; i=0; i--){ //loop backwards } On 12/1/06, Scott Morgan [EMAIL PROTECTED] wrote: You could also use the reverse method which reverse's the order of your array: myArray.reverse(); and then loop through it like you normally would. Six of one,

Re: [Flashcoders] RE: setInterval and IE

2006-11-30 Thread Mick G
I'm sure I've used setInterval at least a dozen times in eyeblaster OTP/banners and don't recall ever having an issue. As for eyeblaster in general, I'm so glad I don't have to touch that damn thing any more ;) On 11/30/06, Stephen Ford [EMAIL PROTECTED] wrote: Using setInterval in a

Re: [Flashcoders] setRGB question

2006-11-30 Thread Mick G
Even easier... mymc.setRGB(0x00); //set to black mymc.setRGB(undefined); //remove black On 11/30/06, eka [EMAIL PROTECTED] wrote: Hello :) use Color.setTransform method to clear the color effect :) var c:Color = new Color(mc) ; c.setRGB(0x00) ; c.setTransform ({ra:100, ga:100,

Re: [Flashcoders] setRGB question

2006-11-30 Thread Mick G
Ooops I think that syntax is wrong :) I was thinking of the tweening classes colorTo :) On 11/30/06, Mick G [EMAIL PROTECTED] wrote: Even easier... mymc.setRGB(0x00); //set to black mymc.setRGB(undefined); //remove black On 11/30/06, eka [EMAIL PROTECTED] wrote: Hello :) use

Re: [Flashcoders] Stage Height Bug?

2006-11-17 Thread Mick G
It works OK for me without the onEnterFrame... I think what's happening is your Flash IDE SWF preview window is being cropped for display. Is the bandwidth profiler open and cropping your SWF? Have you tried outputting your trace to the stage and previewing it in a HTML file? On 11/17/06,

Re: [Flashcoders] Searching for Generator-like utility

2006-11-17 Thread Mick G
Most solutions I've seen (such as the one Jim posted) only support converting Drawing API content to images. I've heard talk of people using ImageMagick or some type of screencapture software to convert what is displayed in the SWF to an image but am yet to see any examples. Let me know if you

Re: [Flashcoders] swf and referring domain

2006-11-17 Thread Mick G
Two lines... *import* flash.*external*.*ExternalInterface *var thisDomain:String = flash.external.ExternalInterface(eval, location.href); I always forget that damn import and it kills me wasting time debugging it ;) On 11/17/06, Tyler Wright [EMAIL PROTECTED] wrote: Dave, If you were

Re: [Flashcoders] swf and domains, what domain made the call?

2006-10-29 Thread Mick G
Perhaps when you instruct with what EMBED code to use on myspace, do it like this... EMBED src=mydomain.com/myfile.swf?id=123 That ID could be a unique ID to a certain account. In flash you can do whatever database calls you need and check if that userID has the access you need. If the swf is

Re: [Flashcoders] Easy to learn and use 3d program

2006-10-27 Thread Mick G
swift3D - used in many design agencies I've worked for, not for it's features - just easy to use and create simple flash 3D content. On 10/27/06, Mike Mountain [EMAIL PROTECTED] wrote: Cinema 4D by Maxon is both simple to use and very powerful M -Original Message- From: [EMAIL

[Flashcoders] WinXP style skin for components

2006-10-25 Thread Mick G
Has anyone seen skins for Flash UI Components that look like WinXP skins. I recall seeing some once that detected if you were on Windows or MacOS and it displayed the appropriate skin but can't find it. ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Mick G
if the answers is: hey dude, this is not going to work properly, ever, then please just completely remove wmode. It is getting people mad. It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page

Re: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Mick G
Sorry - I should have italicized my sarcasm :) On 10/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: It's not broken - people use it, look at the advertising industry using it on millions of pages/sites every day with their wonderful over the page transparent advertising... Wonderful?

Re: [Flashcoders] Allow smoothing on imported jpeg:s

2006-10-10 Thread Mick G
Foce a: _quality=best on your timeline and see if it helps (Not sure if it will for imported JPGs, but I've done this before to fix rotated jagged stage JPGs) On 10/10/06, Johan Karlsson [EMAIL PROTECTED] wrote: ... Which works as long as the project is a flash 8 project. ;) But I guess most

[Flashcoders] Flash transparent on top of Windows Media Player

2006-10-09 Thread Mick G
Does anyone know if there is a way to embed flash transparent (wmode=transparent) on a layer above an embedded Windows Media Player active-x control? So it's like this... --Flash (wmode transparency) ---Windows Media play playing video -HTML page I've made a demo to achieve this and the

[Flashcoders] btn action function with params

2006-09-29 Thread Mick G
Just a small thing that I've always wondered... When you assign a function name to a button action, is there a way to send parameters to this function? eg. function doStuff(mc){ trace(mc); } //Option1. this is a short way of targeting the above function my_btn.onRelease = doStuff; //Option2.

Re: [Flashcoders] btn action function with params

2006-09-29 Thread Mick G
with Delegate.create() Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mick G Sent: Friday, September 29, 2006 2:29 PM To: Flashcoders mailing list

Re: [Flashcoders] masking a clip which uses the drawing api

2006-09-22 Thread Mick G
Try placing your API elements in a holder clip and masking that. Some people create new clips each time they draw an element and you may be masking only one element - not really sure what your API is doing but worth a try. On 9/22/06, Helen Triolo [EMAIL PROTECTED] wrote: sounds like

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Mick G
Working OK here - FF / PC. On 9/12/06, Aaron Roberson [EMAIL PROTECTED] wrote: I have a flash banner on my site that is parsing xml and displaying a navigation menu. I have recieved a couple of reports that some users are unable to click through to the pages linked in the navigation. Could as

Re: [Flashcoders] Site Check Please

2006-09-12 Thread Mick G
Yeh, it might be overkill to publish as Flash 9 just for a navigation system. On 9/12/06, Ryan Potter [EMAIL PROTECTED] wrote: Once I installed flash 9 it worked fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Tuesday,

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Mick G
http://www.adobe.com/devnet/flash/articles/webcam_motion.html On 9/12/06, Serge Jespers [EMAIL PROTECTED] wrote: So... euhm.. no one? Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see

Re: [Flashcoders] png load queue

2006-08-09 Thread Mick G
Have you tried using JPGs instead of PNGs just to see if there's a difference there? I had an animation that was almost twice as fast when I used JPGs instead of PNGs. Either way, it sounds like a lot of data you're loading - perhaps it's just on your local machine it's slow because it's loading

Re: [Flashcoders] Calling functions in sequence

2006-08-09 Thread Mick G
You could call the second function from the first (and have a paramater so it only runs the second function if you send the paramater). function funct1(runNext){ //do something if(runNext){ funct2(); } } function funct2(){ //do whatever } to call only the first function: funct1(); to

Re: [Flashcoders] Php Host

2006-07-12 Thread Mick G
Usually all the mediatemple fans come running out for this one ;) I'd recommend MediaTemple if you have high traffic or high demand site. I've had 2 sites that other various hosting companies complained I was using too much of their shared server resources - Media Temple server specs are VERY

Re: [Flashcoders] Progressivelly download (and show) a jpg image

2006-07-02 Thread Mick G
You can 'fake' something by downloading a very small version of the image (like 3K) and scale it to the final size, once that has loaded, display, then start loading the full size version. I've done this before with very large file sized images. You could even use a PHP script using the GD

  1   2   >