[Flashcoders] Required Actionscript Programmers
Hi, We take great pride in introducing ourselves as Zobble Solutions, a company aimed at merging information and entertainment at all possible levels. We have established ourselves as a customer-centric organization that helps its clients become competitive through the use of innovative technology and content solutions. We also have a down-to-earth brand of creativity that helps us win out over competitors ten times our size, and ensures repeat business from our clients Zobble has an expertise in the following domains: * e-Learning * Localization * Gaming * Multimedia * Web Services Current Opportunity: We looking for designers, developers and programmers to work on an assignment basis. If you have the drive to accomplish challenging assignments, send us samples of your best work and updated resume. Regards, Rhea Gupta Managing Director Zobble Solutions 022-28835030 M: 9833191033 [EMAIL PROTECTED] [rhea at zobble dot com] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Components do not behave
Ok, so I got the component thing running more or less. I now have a dozen of components (all using the same assets - such as bevels etc.). I only got a couple of problems to iron out. My components, though, do not inherit from UIObject (or other MM classes) - I try to avoid that to allow compilation with MTASC in th future without attachment to Flash IDE. First of all is the whole resizing business. I have to both resize the component in the init code and in the setSize - I still don't understand the relationship between the two. Right now how I have to do it: function initComponent():Void { // bla bla // rearrange components based on the new _width and _height } function setSize(nWidth:Number, nHeight:Number):Void { // bla bla // rearrange components based on the new _width and _height AGAIN } This is te only approach that works. The second problem is exporting SWC. Some SWCs work after export, some others don't. One, for instance, shows nothing on the Stage when included in another file, but works beautifully - the other shows up OK on the Stage but looks like in the authoring environment upon exporting. When I drag the symbols from my main document (where all the widgets get created) the work and show up fine. I wonder if there is some good documentation about creating SWCs somewhere, or if csomeone can explain to me what am I doing wrong. -- Julian 'Julik' Tarkhanov please send all personal mail to me at julik.nl ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Components do not behave
If you don't extend UIObject, then what is your sizing implementation. UIObject handles that for you. Furthermore, you can compile mx components with MTASC if you don't want to have to write that stuff by yourself, or use another open source component set. UIComponent actually has it's own seperate variables for width and height values which allows you're component to use them vs. actually relaying on _width and _height to be preset. Typically, you use a bounding box movieclip on frame 1 to set the initial width and height and UIObject will remove it for you. If you don't want to do that you can do what UIObject in Flex does, and implement a measure function; this function by default sets the width and height and is used initially to setup the default width and height if none has been set beforehand. If you aren't using UIObject / UIComponent, you'll have to code all of that yourself unless another component framework provides that for you. - Original Message - From: Julian 'Julik' Tarkhanov [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, April 23, 2006 12:17 PM Subject: [Flashcoders] Components do not behave Ok, so I got the component thing running more or less. I now have a dozen of components (all using the same assets - such as bevels etc.). I only got a couple of problems to iron out. My components, though, do not inherit from UIObject (or other MM classes) - I try to avoid that to allow compilation with MTASC in th future without attachment to Flash IDE. First of all is the whole resizing business. I have to both resize the component in the init code and in the setSize - I still don't understand the relationship between the two. Right now how I have to do it: function initComponent():Void { // bla bla // rearrange components based on the new _width and _height } function setSize(nWidth:Number, nHeight:Number):Void { // bla bla // rearrange components based on the new _width and _height AGAIN } This is te only approach that works. The second problem is exporting SWC. Some SWCs work after export, some others don't. One, for instance, shows nothing on the Stage when included in another file, but works beautifully - the other shows up OK on the Stage but looks like in the authoring environment upon exporting. When I drag the symbols from my main document (where all the widgets get created) the work and show up fine. I wonder if there is some good documentation about creating SWCs somewhere, or if csomeone can explain to me what am I doing wrong. -- Julian 'Julik' Tarkhanov please send all personal mail to me at julik.nl ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Components do not behave
On 23-apr-2006, at 18:31, JesterXL wrote: If you don't extend UIObject, then what is your sizing implementation. UIObject handles that for you. Furthermore, you can compile mx components with MTASC if you don't want to have to write that stuff by yourself, or use another open source component set. UIComponent actually has it's own seperate variables for width and height values which allows you're component to use them vs. actually relaying on _width and _height to be preset. Typically, you use a bounding box movieclip on frame 1 to set the initial width and height and UIObject will remove it for you. I wonder - can I find the source code of UIObject somewhere? -- Julian 'Julik' Tarkhanov please send all personal mail to me at julik.nl ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Components do not behave
its on your machine. this is well documented do a google about the v2 source On 4/23/06, Julian 'Julik' Tarkhanov [EMAIL PROTECTED] wrote: On 23-apr-2006, at 18:31, JesterXL wrote: If you don't extend UIObject, then what is your sizing implementation. UIObject handles that for you. Furthermore, you can compile mx components with MTASC if you don't want to have to write that stuff by yourself, or use another open source component set. UIComponent actually has it's own seperate variables for width and height values which allows you're component to use them vs. actually relaying on _width and _height to be preset. Typically, you use a bounding box movieclip on frame 1 to set the initial width and height and UIObject will remove it for you. I wonder - can I find the source code of UIObject somewhere? -- Julian 'Julik' Tarkhanov please send all personal mail to me at julik.nl ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Components do not behave
On 23-apr-2006, at 19:06, Johannes Nel wrote: its on your machine. this is well documented do a google about the v2 source Thanks, found it in the classlib. Will try to investigate how MM handles all that. -- Julian 'Julik' Tarkhanov please send all personal mail to me at julik.nl ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Forcing XML connection closed from SWF
Here's some random ideas: - The keep-alive option is a good thing (everything goes faster) and normally does not impose a problem. If you have a problem on the server because of that (too many threads or too many sockets taken), always remember that it is the responsibility of the server to control this and not the client (browser). - Note that the connection should disconnect by itself after some time. Did you measure how much time you had to wait? (probably a couple of minutes). I think it should never be foreever. Maybe you did not realize this timeout potentially makes this less of a problem. (?) For Internet Explorer, the keepalivetimeout registry setting is KeepAliveTimeout under: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings - If you just want to turn off keep-alive temporarily just to do a test on your machine, it is possible that you can turn it off in your browser's options (set it to not use HTTP 1.1) or by modifying a registry key. Or else, you can try to find a proxy or tcptunnel that could force it off. - A potential brute-force solution (not sure it is really reliable): I know that you can control the keep-alive on a request-basis by modifying the http headers (at least in IE). You can try to use XMLHttpRequest (from javascript) and force to turn off the keep-alive option by setting HTTP Headers. That is - after you finished doing your XML query. -- that's on the client (browser) side - Make many connections to be sure you saturate all the available connections (something like 2, 3 or 4). - Make sure you use a keep-alive-friendly proxy (or tcp tunnel) to really test that the connections are kept alive and that your method really makes a difference. - I do not know if we can control the HTTP Headers from within flash - if you can, try to modify the headers to shutoff the keep-alive option. It *might* be possible with the recent flash player 8 (raw sockets). hope this helps, B. 2006/4/21, Nathanial Thelen [EMAIL PROTECTED]: Thank you for the idea on that one. I am particularly looking for a browser side only solution in this case. Thanks, Nate On 4/21/06 2:57 PM, David Rorex [EMAIL PROTECTED] wrote: On 4/21/06, Nathanial Thelen [EMAIL PROTECTED] wrote: I was wondering if anyone out there know how to force a XML connection closed once the onLoad has happened? The way it works currently is that if the webserver has keep-alives on, the connection to the server stays open. I am pretty sure that the browser controls this, but would love to hear any ideas on the topic. Possibly you could use a php file (or whatever server scripting language you use ) on the server, which does only 2 simple things: 1. Send a HTTP header that indicates not to use keep-alive. Keep-alive: no or something? look up the exact command. This will tell the browser not to use that feature. 2. Print out the xml file, which will be received by flash. -David R ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Nathanial Thelen Partner Userplane LA: 323-938-4401 x203 www.userplane.com AOL: natethelen MSN: [EMAIL PROTECTED] -- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Testing ExternalInterface on Windows for me.
i'm just reading this now... but here's how to fix all your problems: 1) as for 'getting the movie' - since you are using FlashObject, it's really easy, just use document.getElementById(); once you call fo.write() you can get the reference to the movie and you don't have to get it again - no sense in running that every time you call a function. normally i'll embed the flash movie inline in the page, then put the externalinterface initialization stuff in an onload event. that way you know the flash movie will be there, and it gives all the other elements on the page time to load as well. 2) the form issue is a sort of known issue - there's a lot of problems when placing the flash movie inside a form, although i haven't heard of issues with placing it before vs. after. read the comments on the livedocs here: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/ html/wwhelp.htm?context=LiveDocs_Partsfile=2200.html and maybe try some googling for more info. On Apr 20, 2006, at 3:35 PM, David Rorex wrote: Instead of creating a reference to your flash movie and storing it, I get it every time. JS Code: function getMovie(movieName) { if (navigator.appName.indexOf(Microsoft) != -1) { return window[movieName] } else { return document[movieName] } } Example usage in JS: getMovie('myMovie').someFunctionInFlash(); -David R On 4/18/06, Aaron Smith [EMAIL PROTECTED] wrote: Mark, Ryan, Thanks for the input. I looked at that other guys ExternalInterface testing. I switched all of my code to follow what he is doing. I am still getting IE errors. I can't figure out what is going on. IE doesn't like calling methods on the flash object for some reason. When it calls ( flashMovieScroller.gotoStepFromJS(num) ) it errors out. Why would it be doing that for my methods and not Geoff's methods. Weird!. take a look again at this. Look at the update JS and HTML compared to that other guys. See if there's anything you notice that might be wrong. http://www.smithaaronlee.net/jstest/ImgScrollerTEST333.html The only thing I haven't tried yet was rearranging the flash objects on the page to see if that helps. I guess i'll give that a try thanks for taking the time. -Smith On Apr 18, 2006, at 12:46 PM, Mark Llobrera wrote: Ryan: When testing locally with Windows/IE, you can set allowScriptAccess to 'always' - it'll save you having to upload to a server. Aaron: I was stalled with ExternalInterface myself yesterday; I had the hardest time getting it to work on the Windows/IE combo. The included samples from Macromedia didn't work, and several others on the web didn't work either. Other browsers (Firefox, Safari/Firefox on the Mac) worked fine. Since I was using flashobject to embed the swf, I wandered over to Geoff Stearns's blog and found this example: http://blog.deconcept.com/code/externalinterface.html. I eventually ended up taking that html (since it worked on Win/IE) and using it as the basis for my html page, just so I could figure out what was wrong. I found two things different between my page that didn't work and the deconcept example: If you look at the code on that page the reference to the flash movie isn't initialized until the entire page is loaded. That would be the first place I would look. The second thing I learned yesterday (and this is where it starts to devolve into voodoo) is that the order of items on the page matters greatly (but seemingly only on Win/IE). I was calling a flash movie from a javascript function triggered by a form button (http://www.dirtystylus.com/sandbox/feedroom/filebrowser/ file_browser.html - an attempt to feed an flv on a local filesystem to a video object). When the form was placed before embedding the swf, it didn't work on Win/IE. As soon as I moved the form after the embedded swf in the html code, it worked. Extremely weird. -Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ryan Potter Sent: Tuesday, April 18, 2006 3:19 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Testing ExternalInterface on Windows for me. I get the same as you. I looked at the external interface code that I have and the only difference I can see is I have swLiveConnect set to true but I don't think that is it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Smith Sent: Tuesday, April 18, 2006 12:46 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Testing ExternalInterface on Windows for me. Yes I tried it out on yours and my server. works just fine. Now have a look at this. on Firefox and IE: ( http://www.smithaaronlee.net/ jstest/ImgScrollerTEST.html ) It works in firefox like it should. But in IE it doesn't work completely. I'm having troubles figuring out what is wrong in IE, IE throws errors when you click on a
[Flashcoders] shared objects wrong needed size
Hi guys, in a project I'd like to give the option to the users to save as shared object around 110 Kb of data. The problem is that the player asks to the user to increment the storage size at 1 MB! Is there any way to make the player ask to increment the storage *only* for the needed size and not for the next big level? Thanks, chr -- ___ { Christian Giordano's site and blog @ http://cgws.nuthinking.com } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] shared objects wrong needed size
Nope. Just because it asks for a meg doesn't mean it'll use a meg. - Original Message - From: Christian Giordano [EMAIL PROTECTED] To: flashcoders flashcoders@chattyfig.figleaf.com Sent: Sunday, April 23, 2006 7:53 PM Subject: [Flashcoders] shared objects wrong needed size Hi guys, in a project I'd like to give the option to the users to save as shared object around 110 Kb of data. The problem is that the player asks to the user to increment the storage size at 1 MB! Is there any way to make the player ask to increment the storage *only* for the needed size and not for the next big level? Thanks, chr -- ___ { Christian Giordano's site and blog @ http://cgws.nuthinking.com } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] XMLSocket and PPC
Hello, I currently don't have a working PocketPC at hand but does anyone if XMLSocket is supported by the Flash player for the PocketPC? As far as I can recall it should be supported in v6 and v7 of the player. Anyone here able to confirm this? Thanks. -- Yours, Weyert de Boer ([EMAIL PROTECTED]) innerfuse* http://www.innerfuse.biz/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] XMLSocket and PPC
On Apr 23, 2006, at 8:26 PM, Weyert de Boer wrote: Anyone here able to confirm this? Thanks. Yes. FP6+ -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] How To Detect the FullScreen mode of the swf file
Hi, How to detect whether the swf is playing in fullscreen mode in Flash player or not? Thanks in Advance. Regards, Karan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SourceSafe??? Recommendations needed.
Few Notes: - CVSNT tries to minimize binary file growth. Do not know how it compares to others. - To compare binary documents, you will probably have to find tools tailored for each file type. For example: for Microsoft Word documents, you can use the built-in Word compare utility. I do not know if anybody tried that, but for SWF files (or even FLAs?) , you could maybe try to convert it to a text file of some sort for the purpose of comparing - there are few tools that can do that (at least for swf files you can use swfmill - not sure for FLA files). Although that technique is not very visual for comparing changes in graphic elements. You can at least know that this graphic named abc changed. Also, for FLA files, we put virtually no code in the files (only a single import statement for the Main class). All the code is stored in external .AS text files - which are easy to compare and update. Bottom line - whatever decision you take: even the worse source-control system will be a far better than nothing. good luck! B. 2006/4/21, [EMAIL PROTECTED] [EMAIL PROTECTED]: Now I will be upfront and state clearly that I don't neccessarily believe that StarTeam has done a lot on the to minimize binary file growth other then to apply compression to the file. What I mean by that is if you were to say take a text file in CVS and look at how it stores it. It does so by saving all the changes into a single text file and uses a markup and indexing system to track what the latest version should be and who made all the individual changes up to that point. Something that can be easily done in text files is not something that can be so easily done with a binary file. As Jester points out, all version control systems to date cannot tell you what changed between saves of an fla or for that matter a swf. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Ad alignment problem
Hello all, I have a problem, which I believe is on topic, but check me if not, with some ads on our site that are loading external movies and when they do the alignment on the page is tweaked - but only in IE. We have them loading in with a proper alignment as gifs, but there is an empty flash movie loaded in by javascript that immediately loads in an external swf, which promptly moves left in IE. I don't have a page for you to look at as these are not on the site yet, though the urgency of this is pressing since the advertisers are calling us everyday. I have tried using javascript to remove the ad and place it in a properly-aligned table using DOM methods, but when the external movies load both the ads shift position. Do you have any knowledge on ensuring proper alignment of Flash ads in IE or are there issues regarding this browser and externally-loaded movies? Thanks. Jonathan Berry ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Pushing content from DB to Flash widget
Does anyone know if it's possible to push content from a database to a list of flash clients (or widgets running on a desktop). I can have a flash app that checks every X seconds for new content from a database, but wondering if there's a way to do it in the other direction and push the content from a database to the flash clients without them having to poll the database. Are XML SocetServers the key here? Is there an issues with server strain on such things if say 1000 clients are connected to the server? Any info, ideas or experiences would be appreciated. - Mick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com