[Flashcoders] RE: quiet in here at the moment
quiet in here at the moment... Flash has been losing steam for a long time. The base of noobies got away from Adobe. The tools are too expensive and complicated. The players and platform too disjointed with: PC Flash, phone Flashlite, Linux Flash and no Apple Flash. Buyers want their content/app investments to work on the high end mobile tools and that means Apple. Apple's decision to ban Flash makes sense - Firefox crawls sometimes with multiple browser windows hogging resources for several Flash ads on most pages. Flash's ease of use went horribley wrong somewhere in the last few years. It requires at least twice as much code to do the same stuff compared to earlier iterations of the language - and twice as long to learn the nuances too. Not to mention abandoning the former language knowledge base that was trashed along the way. Then there was the bone headed move of charging manufacturers for OEM player installs on devices until last year. Adobe could have owned the mobile interface market by continuing to give the player away for free, but... they outsmarted themselves by being greedy. Then there's the decision to skip working with Apple first for Photoshop releases Apple, who made Adobe successful in the first place. Adobe didn't do the existing Flash authors any favors by leaning into non-time-line Flash with Flex as the preferred authoring environment either. They could have brought all those time-line guys into the fold by offering time-line to straight code conversion as a feature of the formerly main authoring tool and taught all those folks what a correct straight to code translation should look like... they didn't, unless i missed something. Then there was the brilliant move of not killing off movie clips that were no longer in/on the time-line for several iterations of the player - how did that happen?! Fact of the matter is, there were cooler inventions/apps when the coding environment and player were simpler. The older apps ran more smoothly on lesser equipment and were more compact and quicker to deliver. Feature creep overwhelmed what used to be a stimulating and rewarding creative experience. Can Flash be fixed? Maybe. I tried an old app in the newest player the other day and it ran better than it has in years, must be the new hardware acceleration - that's a good sign. Dave ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] CS4 IDE menu text size too small
hi All, Checking out CS4 IDE. The menu text size too small to read on a 1920x monitor - is there a way to make it bigger? thanks, Dave _ New Windows 7: Find the right PC for you. Learn more. http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Advanced Rollover Physics/Math...
hi, Using percentages of the parent container height and width triggered by any box the cursor is over will let you adjust the various scales after it's built. Say there are elements A,B,C,D,E F. in the first row and G,H,I,J,K,L in the second and M,N,O,P,Q,R, in the third row... When the cursor is over J it triggers a calculation that sets the xscale/width of J to say 50% of the row's width and divides the remaining balance of space amongst the rest of the boxes in each row, setting each in turn for all three rows - this will appear to be instantaneous to the end user. Then do the same with the height/yscale. This will result in resizing box spaces as the cursor moves. Next the secondary sizes can be set differently than boxes farther from the targeted box if desired. Most of this can be brute forced to make it work, then tweeked to be more dynamic once it does work. hth, Dave Matthews -Original Message- Subject: RE: [Flashcoders] Advanced Rollover Physics/Math... Do you know kinda where to start... I'm trying to figure out how I would program the awareness of the elements. There must be some kind of idle position, and every element needs to know where the mouse cursor is and to know in wich direction to move, and know how big it needs to be according to the mouseposition, and how much space there is inside his 'zone', etc. etc. pfoe _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_022009___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Is Adobe fixing this big FP9 problem?
here's a concrete example of, ' the loaded content problem ' I received a U.S.patent on this Flash 4 based 'invention', it's an interface navigation tool system: http://www.google.com/search?hl=en&q=patent+matthews+data+objects+6943811+&btnG=Search The complete Flash 4 code is published in the docs, but a working example has been on the net since the patent was granted: http://2goto.com/ Top buttons+scroll bars trigger to visible on roll over (zoom bar = window/left). It actually runs on the earliest FlashLite player. The 'zoomer' is completely object oriented. Any internal window can 'loadMovie' any .swf on the net/local that is not relying on a root.call to function. I've had it still operating with 50 independent feeds.swf from 30 different host URL's. The patent explains how the 3k zoomer.swf invention is designed to display a huge number of dataObjects.swf or other data like .jpg's and HTML pages for example. When the cursor is outside of a window, we switch off = unload the content (load a blank.swf into the parent), and reload it when the cursor returns. This allows the interface to appear to hold vast quantities of information and interactive animations, tools.swf, etc. I rebuilt the zoomer code in AS3, it works fine. The newest player's domain permissions may make loading independent Flash.swf's more complex than loading text.txt docs and .jpg's - we'll see. Now, with AIR the browser can be a child object in an .swf - Flash wraps around the billions of HTML based web pages - even those containing content.swf ! We could be developing a fly through universe of videos, interactive video phones, live camera feeds, the whole GoogleEarth tile map system, galleries seas of HTML.pages etc. Inside Flash! ...Except, there is no way for us to unload any of that independently hosted work.swf from the Flash based zoomer interface - even when we unload/replace the parent 'internalWindow.swf' containing the other guys.swf. bummer, Dave Matthews http://www.2GoTo.com p.s. The zoomer could not be invented without Flash, because bitmaps can't scale like vector graphics. The bandwidth/hardware differences between what Flash's vector engines have been able to do for years compared to Micro$oft's WPF/sliverlite are substantial! Flash is exponentially more effecient. thanks folks, good thread... :) Dave _ Going green? See the top 12 foods to eat organic. http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51N1653A___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: AS3 memory management - loaded content
thanks Steve and Matt, Right. Grant wrote about this GROSS MEMORY BUG in the player months ago too! There must be others on this list with an opinion about the player being unable to control loaded content! This BUG essentially means we can't use closed source components for fear of serious memory issues during use by our clients. How can collaborative work be done if any line of code in any .swf can eventually cause the player to stall and crash or hog all the resources? Then what are we supposed to do with AIR where any tool one builds might be open for weeks at a time - often consuming data delivered using some outside companies Flash based widget.swf ?... Tell our customers it's Adobe's fault? This issue is far more complex than code on buried frames used to be in terms of application construction. And after a year we have no response from the Adobe guys... time to look into Sliverlight - i guess - nice. Dave Matthews http://www.2GoTo.com --original--- Message: 6 Date: Sat, 12 Apr 2008 13:55:41 -0700 From: Steven Sacks Subject: Re: [Flashcoders] AS3 memory management - loaded content To: Flash Coders List Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Dave, http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html Grant Skinner recently blogged about this. Major issue. What's worse is Adobe really has no intention of fixing it. I believe Grant's blog post was an intention to put mucho pressure on Adobe by exposing how bad the issue is as well as expose how they refuse to fix it. I dunno if it's going to work but it's better than nothing. -original-- Message: 16 Date: Mon, 14 Apr 2008 09:35:30 -0400 From: "Matt S." Subject: Re: [Flashcoders] AS3 memory management - loaded content To: "Flash Coders List" Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Can anyone explain the logic for this "feature"? It seems like an "unloadMovie" or "deleteMovie" built in function would be an absolute no-brainer, and even essential. But I say this as a designer-turned-coder so I'm probably missing something that real programmers already know. And I can understand the issues with garbage collection and memory usage, but for the mc to actually keep executing all functions and basically remain in an undead state seems odd. Can someone edumacate me? .m -end original- _ Get in touch in an instant. Get Windows Live Messenger now. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_getintouch_042008 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 memory management - loaded content
hi All, Our app is designed to load Flash content examples and widgets from outside servers - anyone on the web can enter a URL.swf into the demo list and those .swf's are loaded as visitors view different areas of the site. Many of the examples we've experimented with setup processes that do NOT let go when the responsible .swf is deleted and/or unloaded from the child container holding it. What's more - even deleting the container does not stop background calculations and sounds from continuing to execute in the player. This is a huge departure from how Flash was! One of the nice features of Flash was the ability to unload content on the fly and know it was out of the player. Is there a reason for this new behavior or just a serious bug - overlooked when the Flash9 player was developed?Dave Matthewshttp://www.2GoTo.com _ Use video conversation to talk face-to-face with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] descriptor file probs stops AIR publish
Trying to use AIR, Wasted six hours yesterday. Tried tutorials, samples form the web, reinstalling updated player, uninstalling AIR upgrades, reinstalling AIR upgrades... no luck finding - fixing - creating a 'descriptor file' for any sort of tutorial or tutorials from the web... What the heck is the problem - i can't be the only one having this problem - i hope. Why does Flash cs3 refuse to produce or use any 'descriptor file'??? sorry for the rant, Dave Matthewshttp://www.2GoTo.com _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AIR publishing problems
hi All, FlashCS3 with the newly released AIR additions installed wants a 'descriptor file'! Ah, what is this and why didn't Flash make one when the special Air publish tool is used? thanks, Dave_Matthews _ Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] target object under mouse-AS3 syntax?
hi all, What is the correct syntax to target any named symbol on stage, please? Looking for the "event target" or something like that - just can't find the exact syntax to look it up in Moock's book! The app has many named symbols on stage, trying to use same 'widget' to drag/resize/rotate/etc. It's painful to code each individually with listeners etc. or dive into each symbol and pasting the frame with the code and buttons inside each... i'm seeing a pattern here and wish to use the same 'widget' to act on any symbol. Read about targeting the 'victim' of a mouse over for example: pseudo code: addEventListener.target.eventTarget(MouseEvent.MOUSE_OVER, set_targetname_to_var); thanks, Dave Matthewshttp://www.2GoTo.com _ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] no list updates for several days!
hi all, Haven't seen a list posting from flashcoders for several days... wondering what's up? Maybe hotmail is stopping the list. Seems weird, any feedback appreciated. Thanks, Dave Matthews _ Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001 ___ 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] RE: obfuscation swf !
good call Hans, Agreed. This list may one of the most 'decent' i have ever seen and the tone of the response scared me too. We have all worried about our work being stolen by others - ridiculing another for these same concerns violates the tone of 'our' group. I also think the original poster handled the negative feedback in a very sophisticated manner, hats off to you sir for being so tolerant. sorry for the noise, Dave_Matthews http://www.2GoTo.com --original- Date: Wed, 18 Jul 2007 06:55:52 +0200 From: "Hans Wichman" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] RE: obfuscation swf ! Hi, I might be wrong but like Bart said, I think SWFEncrypt does all this already. At least I haven't had any problems with this andits fast too AND usable from a build file. But I'm sure some of you will be able to crack it. What I do have problems with is the attitude displayed towards Jimbo by some of the responders for trying to come up with a nice and easy solution, even it isn't foolproof. Putting a donkey sign over someones head is less than motivating. He offered us a challenge, some of us took it and won. No need to get all nasty about it imo. greetz JC _ Don't get caught with egg on your face. Play Chicktionary! http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2 ___ 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] RE: SEO Question
Google blocks transparent Flash in DIV layers, Google skips/blocks pages with DIV layers holding Flash published using an invisible background. We used a DIV layer for Flash content published with a transparent background over a non-scrolling html background for a full Flash site, the DIV layer with the transparent Flash scrolled normally using standard HTML scrollbars while the background remained stationary... nice effect... It never ever showed up in Google. Turns out this is the technique used for those floating ads that block normal HTML content and Google is setup to ignore those pages. Don't remember where it was posted, but there is a serious problem with DIV layers holding transparent Flash - Google considers it cloaking/spam. hth, Dave_Matthews <[EMAIL PROTECTED]> wrote: On 7/9/07, Gustavo Duenas well Dave, we just did as the information said, we place html content in the div instead of the message for the flash plug-in, the content was mostly text with links, like 12 or less, and that was everything we did, so then , the next day we've just seen how we were from page one 4 place to nowhere in google. Assuming we did something wrong, try not to abuse of the links in the div section of the swf object page. Regards gustavo On Jul 9, 2007, at 1:57 PM, Dave Mennenoh wrote: >>> do not use the div section of the page to put links there and >>> content, we did it and google banned us for like three weeks... > > Well, you must've done something wrong as that is the accepted way > to do it. Just using metatags are decidedly not the right way. > > > Dave - > Head Developer > http://www.blurredistinction.com > Adobe Community Expert > http://www.adobe.com/communities/experts/ _ Need a brain boost? Recharge with a stimulating game. Play now! http://club.live.com/home.aspx?icid=club_hotmailtextlink1 ___ 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] as3 - mouseEnabled does not work
hi All, Using flash_cs3 / as3. Having no luck using mouseEnabled = false; Tried alpha = .22; which does make the target object change to semi see through, so the correct object is being addressed and getting instructions. This is for loaded content in a zooming app where the content in in front of the nav buttons - works correctly in previous versions of Flash, but cs3 / as3 changed the default so mouse clicks are stopped by visible content... Also experimented with disabling / enabling mouseChildren = false; and true, trace shows all calls to target loaded content are being registered correctly. Anyone have a clue what the deal is, where to find the fix please. Dave_Matthews http://www.2GoTo.com _ Hotmail to go? Get your Hotmail, news, sports and much more! http://mobile.msn.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] as3 make weird anchor point go away - how
please help, Using ASS_3 make a symbol, use it... do stuff. A new center point appears out of now where for the symbol. realigning everything in the symbol stack does not fix it! Can't cut it out, delete it, paste new symbol after delete, doesn't go away when symbol is edited in new window, delete layer/add new layer/add new instance from library... still some stupid extra anchor point or center point in way the wrong spot. How do i make it stop, or is this some sort of 'feature' in this unfinished pile of slop?. thanks, Dave Matthews _ Dont miss your chance to WIN $10,000 and other great prizes from Microsoft Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/ ___ 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] as3 mask leaks scale of hidden area!
hi All, Working with Flash_cs3_as3 trying to position a content_holder hard coded on the timeline, it is structured like this: content_holder.frame.mask.loadtarget.loadedClip When checking the scaleX/Y of the content_holder object it is showing the larger scale of the loadedClip that is only visible in the masked are within the frame! Is this normal? The mask is 'leaking' the scale of the masked content. We are hacking around this 'feature' by checking the scale of the child frame element and adjust the parent content_holder... but what a mess. If the scale is leaking beyond the mask is this also loading the display system with extra work? thanks, Dave_Matthews 2GoTo.com _ Need a break? Find your escape route with Live Search Maps. http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20Park&cp=33.832922~-117.915659&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=1118863&encType=1&FORM=MGAC01 ___ 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] RE: Swf not loading at run time
hi Kannan, looks like Muzak posted a link to a relevant page from Adobe in this thread, deleted the email or would have included it - try the FlashCoder's archive maybe. The problem of paths in the IDE vs. full paths used on the web for embedded display in an HTML page is an old one. A useful fix is to use a variable in the authoring environment that contains the full path to the files as they will be set up on the server and splicing that variable to the local path (the local path being used during authoring work). Then, just before the final publishing of the main.swf for the HTML webpage - change the /:pathToServer variable from null/empty to the base URL - which is then used by all the loadMovie calls made by the mainParent.swf and it's loaded children.swf's during runtime. We are jumping from Flash4 (cell phones) to cs3 this month, so no as1/as2 examples... actually, no as3 examples yet either, but here is the code we put on the first frame of the main.swf- leaving the path empty/null for authoring then with the path variable set to the base URL at final publishing for the web: /: = a variable declaration and / was replaced by dots as of as1/flash5; /:pathToServer = "http://www.2goto.com/";; then we use '/:internal_window_loadPath' for authoring: /:internal_window_loadPath = (pathToServer) + "edictCON/sysEDICT/bwin.swf"; 'bwin.swf' is an independent.swf deep in the folder structure that we loadMovie and place in the navigation structure, the 'bwin.swf'(internal_window) then loads or is loaded with outside content from the web or other folders on our server. hope that helps, Dave_Matthews http://www.2GoTo.com ...5 year old example... :) -- Message: 13 Date: Tue, 12 Jun 2007 12:12:07 +0530 From: "Kannan Bharadwaj" <[EMAIL PROTECTED]> Subject: [Flashcoders] RE: Swf not loading at run time To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="US-ASCII" Dave, I have the same issue with html page not loading my swf runtime objects. All my flash objects are stored in the same directory which is one level below my html directory. When my html page gets loaded, it seems to look for the runtime library file in the same directory as the html page and since it is not able to find it, it does not load any runtime objects. If I move the runtime library file to the html directory, everything works fine. However, from a file organization standpoint, I would like to have all my swf files in a different directory. Is there anyway I can do this? Thanks in advance Regards, Kannan http://www.solution-space.net Message: 6 Date: Mon, 11 Jun 2007 08:57:31 -0500 From: "dave matthews" <[EMAIL PROTECTED]> Subject: [Flashcoders] RE: Swf not loading at run time To: flashcoders@chattyfig.figleaf.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed hi JohnT, The path to loaded .swf files changes when accessing from an HTML page on the net - it is different than the IDE/authoring environment. For example, with all .swf's in the same folder, the path is direct, the main.swf loads peers from the same folder. When main.swf is embedded in a web page, main.swf loads from the web page's _files folder (adjust file explorer in windoze to show 'hidden' folders)... HTML pages with .swf content store assets in an accompanying 'webPageName_files' folder. So, main.swf must call to the web page's accompanying folder to find the to be loaded .swf files, since main.swf is now outside of the storage folder - the path from the HTML embedded main.swf would be: webPageName_files/to_be_loaded.swf The key is that even though all the .swf files are in the same folder on the server, the main.swf is actually outside of that folder in the HTML page when it is trying to call the content to load. Also, an earlier comment in this thread mentioned case ( capital vs small letters ) on many servers... it's true. hth, Dave_Matthews http://www.2GoTo.com -original--- Message: 10 Date: Mon, 11 Jun 2007 19:38:06 +1000 From: John Trentini <[EMAIL PROTECTED]> Subject: [Flashcoders] Swf not loading at run time Hi guys, I am going insane, please give me a hint, I have a swf embedded in a html doc (the intro). this when completed loads another swf (the main interface). I have an empty mc into which I load another swf (showcase) which dynamically displays a variety of image presentation. When testing the Movie from the authoring environment, everything works like a charm but when I publish and view the html in the browser the showcase.swf does not seem to be loading; I have the same issue also when I open the swf file from the player The html and all swf files reside in the same folder at the same level. I have double checked and t
[Flashcoders] RE: Swf not loading at run time
hi JohnT, The path to loaded .swf files changes when accessing from an HTML page on the net - it is different than the IDE/authoring environment. For example, with all .swf's in the same folder, the path is direct, the main.swf loads peers from the same folder. When main.swf is embedded in a web page, main.swf loads from the web page's _files folder (adjust file explorer in windoze to show 'hidden' folders)... HTML pages with .swf content store assets in an accompanying 'webPageName_files' folder. So, main.swf must call to the web page's accompanying folder to find the to be loaded .swf files, since main.swf is now outside of the storage folder - the path from the HTML embedded main.swf would be: webPageName_files/to_be_loaded.swf The key is that even though all the .swf files are in the same folder on the server, the main.swf is actually outside of that folder in the HTML page when it is trying to call the content to load. Also, an earlier comment in this thread mentioned case ( capital vs small letters ) on many servers... it's true. hth, Dave_Matthews http://www.2GoTo.com -original--- Message: 10 Date: Mon, 11 Jun 2007 19:38:06 +1000 From: John Trentini <[EMAIL PROTECTED]> Subject: [Flashcoders] Swf not loading at run time Hi guys, I am going insane, please give me a hint, I have a swf embedded in a html doc (the intro). this when completed loads another swf (the main interface). I have an empty mc into which I load another swf (showcase) which dynamically displays a variety of image presentation. When testing the Movie from the authoring environment, everything works like a charm but when I publish and view the html in the browser the showcase.swf does not seem to be loading; I have the same issue also when I open the swf file from the player The html and all swf files reside in the same folder at the same level. I have double checked and tried everything I know and I am getting quite desperate now as I don't know what else to do. Is there any simple reason/issue with the implementation? What else can I try to resolve this? thanks JohnT --end- _ Get a preview of Live Earth, the hottest event this summer - only on MSN http://liveearth.msn.com?source=msntaglineliveearthhm ___ 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] AS3 blows_up on gotoAndPlay
What is going on here please? Create a three frame AS3/Flash9 clip. Place a textbox/number on each frame: 1,2,3. ActionScript panel, frame one = gotoAndPlay(2); ActionScript panel, frame two= gotoAndPlay(3); ActionScript panel, frame three = gotoAndPlay(1); Test movie. Stalls the compiler bad - Flash IDE must be closed. Why does this trip up the compiler? thanks, Dave_Matthews _ More photos, more messages, more storageget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 ___ 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] AS3 continuous loop on mouse down
hi All, What is the syntax for a continuous loop in AS3? Have working code for a code loop using mouse down - one frame-main timeline, but can't figure out how to maintain the rate of movement when the mouse is stationary with the mouse button still in down position. thanks, Dave_Matthews Place symbol instance named 'circle' on stage. Paste this code on actions frame: import flash.events.MouseEvent; this.stop(); var circleOrigX:Number; var circleOrigY:Number; var curOrigX:Number; var curOrigY:Number; var panRateX:Number; var panRateY:Number; function panSetUpDrag(event:MouseEvent):void { circleOrigX = event.stageX - circle.x; circleOrigY = event.stageY - circle.y; curOrigX= event.stageX ; curOrigY= event.stageY ; stage.addEventListener(MouseEvent.MOUSE_MOVE, panloop); } function panloop(event:MouseEvent):void { /*want this loop to operate while mouse is stationary - causing pan actions to reposition circle at rate based on distance of cursor from start*/ panRateX = (event.stageX -curOrigX) * 3 ; panRateY = (event.stageY -curOrigY) * 3 ; circle.x = event.stageX - circleOrigX - panRateX; circle.y = event.stageY - circleOrigY - panRateY; event.updateAfterEvent(); } function PanStopDrag(event:MouseEvent):void { gotoAndStop(1); stage.removeEventListener(MouseEvent.MOUSE_MOVE, panloop); } stage.addEventListener(MouseEvent.MOUSE_DOWN, panSetUpDrag); stage.addEventListener(MouseEvent.MOUSE_UP, PanStopDrag); _ More photos, more messages, more storageget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 ___ 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] is the Flash9/CS3 delivered to anyone yet?
hi all, Noticed Flash9/CS3 is offered as a separate download and/or upgrade($199) is on the Adobe site now. Has anyone purchased and received it yet, or is this just a preorder deal? thanks, Dave_Matthews _ Download Messenger. Join the im Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07 ___ 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] live release event - correct URL
http://www.adobe.com/products/creativesuite/launchevent/webcast/ _ Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466&moid=7581 ___ 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] online webcast = 3:30pm today, March 27
ADOBE Flash9 release info: online webcast = 3:30pm today, March 27, 2007, at 3:30 p.m. Eastern time, Adobe Systems will host a webcast of the official launch of Adobe® Creative Suite® 3, live from New York City. To participate, bookmark this page and join us back here on March 27. http://www.adobe.com/products/creativesuite/launchevent/ Feature outline Flash9 http://blog.wired.com/monkeybites/2007/03/gallery_cs3.html feature video Flash9: http://www.adobe.com/products/flash/features/ _ Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466&moid=7581 ___ 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] OT: Adobe download site slow
Adobe's site system is a complete embarrassment. Check your browser cache to see the boat load of garbage they load with every page. If we did that to our clients they would dump us fast! We should have a contest to demonstrate how they should fix that mess. Dave_Matthews -- Message: 7 Date: Wed, 03 Jan 2007 11:32:19 + From: Joe Cutting <[EMAIL PROTECTED]> Subject: [Flashcoders] OT: Adobe download site slow Has anyone else noticed that the Adobe download site being very slow? I've tried it several times in the last week from two different locations (in the UK) and it never really gets above 5k/sec (on my 500k/sec line). This is a particular problem with clients using IE who are trying to install the Flash Player. All they see is a empty box with no indication that the download is happening at all. Firefox is no faster but at least you see the download progress so you know something is happening. I'm fairly sure Adobe is aware of this as well as the effect on their reputation as a "web company" and is working on a fix but its a bit embarrassing to have to tell clients "normally its really fast but right now you need to wait half a hour". Apart from that Happy New Year to you all... Joe Joe Cutting Computer exhibits and installations www.joecutting.com The Fishergate Centre, 4 Fishergate, York, YO10 4FB 01904 624681 - Message: 14 Date: Wed, 3 Jan 2007 15:53:24 +0100 From: " Z?rate " <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] OT: Adobe download site slow To: "Flashcoders mailing list" Past month? I think it's been problem for a long time . The LiveDocs, the search engine, downloads It'd be great if they can update/improve/fix/whatever to make the overall site much faster. Cheers, Juan -- Message: 19 Date: Wed, 3 Jan 2007 14:09:47 -0200 From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] OT: Adobe download site slow Yep.. I too find the overall speed to be very slow since macromedia times... :/ _ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG ___ 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] Tracking mouse movements outside of browser
To make the mouse loose focus on drag out of Flash, Place an invisible button in a two frame clip. Set the button to goto next frame on roll over and stop on frame two. Second frame is blank = no button object from first frame. Place that clip over the drag button in your app. When the cursor rolls over the invisible button/clip, it will disappear leaving your existing dragable scroll button to take the onPress_drag input - BUT when the cursor drags out of Flash - the scroll bar will snap back to "no_input" and when the cursor returns the drag will not be an active command. You may need to adjust the setup a bit, did it a long time ago. See http://www.2GoTo.com for a working example, scroll bars display when the cursor is at window edges. If you can't get it to work, i can find the code... but it's been a long time and i will have to search for a while to find it. Dave_Matthews -original message-- Message: 14 Date: Tue, 12 Dec 2006 14:45:28 -0500 From: "matt stuehler" <[EMAIL PROTECTED]> Subject: [Flashcoders] Tracking mouse movements outside of browser window All, I'm not sure if this is possible, but I'm wondering if there's any way a Flash movie can track mouse movements/actions outside of the browser window. Specifically, I'm working on an RIA which uses a scrollbar along the right edge of the window. If the user, while dragging the scrollbar, moves the mouse outside of the window, the Flash movie stops tracking the mouse position, and the scrollbar stops moving. The scrollbar jumps if the user drags the mouse back into the window at a lower or higher position. (By comparison, an HTML scrollbar doesn't suffer this limitation - the scrollbar continues to move even as the mouse is dragged outside of the window.) Is there a way around this? Cheers, Matt Stuehler _ All-in-one security and maintenance for your PC. Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo005002msn/direct/01/?href=http://clk.atdmt.com/MSN/go/msnnkwlo005001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail ___ 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] OT: eLearning - Spanish and English grade school tools?
Seeking links, My daughter teaches first and second graders in a public school where one of her students only speaks Spanish. Luckily, many of the kids (60%) are bilingual and help translate. Turns out, the kids love the computers they have access to only twice a week for forty minutes a session. She is looking for games and tools to help them learn English and math. The only web based assets she knows of are PBS based links. Could you all please post some links of where to start looking for more of these types of tools. thanks and sorry for the OT post, Dave_Matthews _ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline ___ 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] RE: Profanity - (to
Agreed... -- Message: 12 Date: Sun, 1 Oct 2006 10:01:07 -0400 From: "eric dolecki" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] Profanity - (to Lieven especially) To: "Flashcoders mailing list" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8; format=flowed I respect Jason's comments. He isn't being paranoid, he's simply being polite. - e. On 9/29/06, Cedric Muller <[EMAIL PROTECTED]> wrote: living in paranoid land ? >>> Same s***. > > Could we keep the language on this list down a tad? That's the second > time you've said that in your current thread today. Some of us are on > large corporate networks that get monitored, and I don't really want > that word associated in any way on any report with my e-mail activity. > > Thanks. > > Jason Merrill > Bank of America > Learning & Organization Effectiveness - Technology Solutions ___ 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] All shared objects accessed at same time - you too?
just noticed, Tested this several times, using XPhome + IE7rc1. All the shared objects on this computer have been accessed at exactly the same time by a visit to a single site... Look here: your_boot_disc:\Documents and Settings\your_name\Application Data\Macromedia\Flash Player\#SharedObjects. Remember the 'last accessed' time stamps. Clear cache/cookies/history. Reboot, you may have to reset your cable modem by unplugging it to make it retrieve a new routing address. Then visit an Adobe blog site, try: http://weblogs.macromedia.com/jd/ Now, check the 'last accessed' column in the shared objects file. Be sure to refresh the page or open a new explorer window. Does this mean all those shared objects are actually being poled or read by the company... or what? Dave Matthews ___ 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] RE: Images stay on memory forever?
here ya go Dimitrios, Posted a working example - Flash 4 .fla included - we do mobile. http://www.davidmatthews.com/dad/mem_usage_example.zip ---watch the word wrap in the URL--- Tested in player 9 and works correctly. good luck, Dave Matthews --snip--- Do you have an working example you can shared >maybe? Thanks a million! Dimitrios - Original Message - From: "dave matthews" To: Sent: Friday, September 01, 2006 4:14 PM Subject: [Flashcoders] RE: Images stay on memory forever? hi Dimitrios, Try using hard coded symbol_clips instead of the dynamically attached movies, because frame 2+ is going to contain whatever exists on keyframe one of the code created attached movie. For example, using an IDE target_clip symbol with the first occupied keyframe and the target in frame 5 will require the command "target_clip, goto (key)frame5" and loadmovie content.jpg into replacable_target_movieclip_symbol actually exists only on frame5. The loaded content.jpg can be eliminated from the player by sending the target_clip/timeline to empty keyframe1, which is a known to be an empty keyframe... thus no 'load_target' no content that replaced the 'load_target. Placing attached movieclips on different levels is more complex since we have no way to create truly empty keyframes on dynamic timelines... i think... :) we'll get it working, Dave Matthews ___ 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] RE: Flashcoders Digest, Vol 20, Issue 2
no prob Dimitrios, Posted a working example - Flash 4 .fla included - we do mobile. http://www.davidmatthews.com/dad/mem_usage_example.zip ---watch the word wrap in the URL--- Tested in player 9 and works correctly. good luck, Dave Matthews --snip--- Do you have an working example you can shared >maybe? Thanks a million! Dimitrios - Original Message - From: "dave matthews" <[EMAIL PROTECTED]> To: Sent: Friday, September 01, 2006 4:14 PM Subject: [Flashcoders] RE: Images stay on memory forever? hi Dimitrios, Try using hard coded symbol_clips instead of the dynamically attached movies, because frame 2+ is going to contain whatever exists on keyframe one of the code created attached movie. For example, using an IDE target_clip symbol with the first occupied keyframe and the target in frame 5 will require the command "target_clip, goto (key)frame5" and loadmovie content.jpg into replacable_target_movieclip_symbol actually exists only on frame5. The loaded content.jpg can be eliminated from the player by sending the target_clip/timeline to empty keyframe1, which is a known to be an empty keyframe... thus no 'load_target' no content that replaced the 'load_target. Placing attached movieclips on different levels is more complex since we have no way to create truly empty keyframes on dynamic timelines... i think... :) we'll get it working, Dave Matthews ___ 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] RE: Images stay on memory forever?
hi Dimitrios, Try using hard coded symbol_clips instead of the dynamically attached movies, because frame 2+ is going to contain whatever exists on keyframe one of the code created attached movie. For example, using an IDE target_clip symbol with the first occupied keyframe and the target in frame 5 will require the command "target_clip, goto (key)frame5" and loadmovie content.jpg into replacable_target_movieclip_symbol actually exists only on frame5. The loaded content.jpg can be eliminated from the player by sending the target_clip/timeline to empty keyframe1, which is a known to be an empty keyframe... thus no 'load_target' no content that replaced the 'load_target. Placing attached movieclips on different levels is more complex since we have no way to create truly empty keyframes on dynamic timelines... i think... :) we'll get it working, Dave Matthews -- Message: 8 Date: Fri, 1 Sep 2006 11:25:13 +0300 From: "Dimitrios Bendilas" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] RE: Images stay on memory forever? To: "Flashcoders mailing list" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed; charset="iso-8859-7"; reply-type=response Hi Dave, Thank you for your reply! I tried everything you described here. Unfortunately, I still got the same problem. I guess I'm not doing something right here... This is my code now: _root.attachMovie("p1", "p1", 10); _root.attachMovie("p2", "p2", 20); n = 1; btn.onRelease = function():Void { _root["p"+n].gotoAndStop(2); // frame 2 is empty _root["p"+n].removeMovieClip(); n++; } I even tried removing the movie clip on the next frame, after calling gotoAndStop(2). Still the same. Any thoughts? Dimitrios - Original Message - From: "dave matthews" <[EMAIL PROTECTED]> To: Sent: Thursday, August 31, 2006 11:02 PM Subject: [Flashcoders] RE: Images stay on memory forever? hi Dimitrios, re: Anyone got any idea? We had problems last year with something similar, loading 6 layers of tiles in a 10 x 10 grid from the terraserver: http://www.davidmatthews.com/dad/07-03-05-maplicator.swf press n slide/pan, double click n hold slide to zoom. Turns out .jpg's decompress to over 3 times their size to render in the player. The solution we used to get rid of the memory bloat is to use loadmovie into target clips, which throws the previous .jpg's out of the clip and player - replacing it with the new content. For a greater number of loaded movies, when we change layers in the maplicator for example, we actually move to a blank frame in the target clip's timeline. By moving to a frame where the target clips no longer exist we force the player to abandon the previously loaded .jpg's along with their holder clips which also frees memory because those targets and their content are no longer anywhere in the timeline or player. Because the .jpg's are still in the browser cache (but not in the player), when the user zooms out and we move back to the empty target clips in their timeline, reloading those .jpg's is instantaneous, as they are not reoaded from the server. hth, Dave_Matthews ___ 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] RE: Images stay on memory forever?
hi Dimitrios, re: Anyone got any idea? We had problems last year with something similar, loading 6 layers of tiles in a 10 x 10 grid from the terraserver: http://www.davidmatthews.com/dad/07-03-05-maplicator.swf press n slide/pan, double click n hold slide to zoom. Turns out .jpg's decompress to over 3 times their size to render in the player. The solution we used to get rid of the memory bloat is to use loadmovie into target clips, which throws the previous .jpg's out of the clip and player - replacing it with the new content. For a greater number of loaded movies, when we change layers in the maplicator for example, we actually move to a blank frame in the target clip's timeline. By moving to a frame where the target clips no longer exist we force the player to abandon the previously loaded .jpg's along with their holder clips which also frees memory because those targets and their content are no longer anywhere in the timeline or player. Because the .jpg's are still in the browser cache (but not in the player), when the user zooms out and we move back to the empty target clips in their timeline, reloading those .jpg's is instantaneous, as they are not reoaded from the server. hth, Dave_Matthews p.s. Martin, is this true? - does the player really NOT render things placed way off stage? "Im not sure if this is still the case in fp8 but i know that in previous versions i would also move a clip to -1,-1 to stop the renderer from including it." martin -- Message: 8 Date: Thu, 31 Aug 2006 18:53:31 +0200 From: Martin Wood <[EMAIL PROTECTED]> Subject: Re: [FlashCoders] Images stay on memory forever? To: Flashcoders mailing list Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Sounds perfectly normal to me, making something invisble in flash doesnt mean it will unload the content from memory, in fact it doesnt necessarily mean it wont get rendered. Im not sure if this is still the case in fp8 but i know that in previous versions i would also move a clip to -1,-1 to stop the renderer from including it. martin Dimitrios Bendilas wrote: Sorry for posting again, Anyone got any idea? ___ 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] RE: Flash 4 documentation
hi, i have the Flash 4 docs, email and i'll send them. Dave Matthews [EMAIL PROTECTED] Message: 5 Date: Wed, 30 Aug 2006 09:55:02 -0600 From: "Kevin Aebig" <[EMAIL PROTECTED]> Subject: RE: [Flashcoders] Flash 4 documentation To: "'Flashcoders mailing list'" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" I'm not sure where you could find it, but considering the lowest common denominator is Flash 5, maybe you could make like a little easier on yourself... =] !k -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Flapflap Sent: Monday, August 28, 2006 4:04 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash 4 documentation Hi there, I'm looking for a Flash 4 documentation. I'm also thinking that is it free of charge now, can I download it anywhere ? -- Flapflap[at]sans-facon.net -- DevBlog : http://www.kilooctet.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] RE: Best way to learn OO Analysis and Design with ActionScript
welcome to the party, The basics of design patterns evolved from the timeline for me. Flash is an 'object oriented language' - that is each symbol is an independent 'thing' in the library. Learning the time line and how to do a tween came first, oooh, a moving thing on the screen. Next, we learned how to make a 'stop/start' button. A 'control' for the movement. Thus two segments of the proverbial 'design pattern - the controller and the content. Learning how to load another clip into the content makes that section of the pattern a bit more complex, but does not affect the 'controller button' in any way. Changing the button so it is a slider makes that section of the pattern a bit more complex without changing the content or it's payload, except that now with the control acting as a slider we have more fine grained interaction with the content. Knowing only Flash, this all seems quit natural, but these types of programming feats are quit difficult in most other programming systems. Separating what we do to the content from what the content is allows us to - say load different source text into the content object without mangling our control button. This 'design pattern' also allows us to create another button that adjusts the scale or rotation of the content object while also leaving the original 'on/off' function of the first button undamaged. That's all there is to it. Of course it can be far more complex. Say we want to change the content loaded into the content object based on a user name, or day of the week... none of the new abilities should mess with the existing controls we already made. And a sequence of decisions must be made before loading any content into the content container - This then calls for a new type of object/function - a load sequencer that acts without damaging the existing working set up. I am not quit sure of the specific terms of the formal vocabulary, but the idea of keeping different aspects of the project 'compartmentalized' is what design patterns are all about. The separation of the general areas of the project keep us organized and help avoid damaging sections that are working correctly as we add new abilities to any given project. As projects become more complicated groups of similar types of activities in the program will naturally be in one part of the interaction 'pattern' and that is why everyone says take it easy and don't push too hard to get it all into a predefined 'pattern' too soon because that will make a person crazy... :) hth, Dave_Matthews http://www.2GoTo.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of David Bellerive Sent: Friday, August 18, 2006 9:41 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Best way to learn OO Analysis and Design with ActionScript Hi everyone! I'm having real difficulty understanding how to properly architect and structure Flash applications using ActionScript 2.0. I've read Colin Moock's excellent "Essential ActionScript 2.0" and several other books and articles on the topic and while I can safely say that I do understand the syntax, I can't seem to write an entire application using OO design mainly because I can't figure out what should be in a class, which class should do what, which class should extend MovieClip, which class should use composition instead, which class should start the application, etc. I'm sure a lot of excellent Flash developpers in this mailing list didn't have previous coding experience before they started Flash (like myself) and managed to become the ActionScript 2.0 OO pros aroud here. Any help / tips ? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] RE: WSIWYG HTML text editor in Flash
maybe this post could be TRIMMED a bit girls? -- Message: 20 Date: Thu, 10 Aug 2006 09:58:44 +0100 From: "Giles Taylor" <[EMAIL PROTECTED]> Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion To: "Flashcoders mailing list" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" I did it by getting the index in the textField, as you described, then looping through every character in the html and counting the characters that are not in tags. When (number of characters not in tags) == (the index in the textfield) then you have your index in the html. Mmm, nice! ;) Giles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 09 August 2006 19:15 To: Flashcoders mailing list Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion You have to take out all the html, amend it (using html) and then re-assign it all to the textfield. Ok, but even doing that, you would have to use something like Selection.getCaretIndex() to know where in the Textfield you are so you can insert the tag in the right place, but that wouldn't seem to work because in the tests I did it Selection.getCaretIndex() gives you the position in the string shown as it is in the textfield, not the HTML code. So the index # is way off because of the hidden HTML tags are counted. How would you know where in the HTML code (not in the rendered HTML) the user placed their caret so you can insert the IMG tag? Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Giles Taylor Sent: Wednesday, August 09, 2006 12:25 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion Yes, but you should be writing to the .htmlText property not the .text property as that will then keep all the styling in place via html code. You have to take out all the html, amend it (using html) and then re-assign it all to the textfield. Giles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 09 August 2006 16:36 To: Flashcoders mailing list Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion To insert an image you need to process the text as "text". So you first Yes, I understand that, :) but in doing that: "since writing to the text property of a TextField object destroys any custom formatting associated with the field (i.e. the interal style profiles), [you] have to use the TextField.replaceSel() function (p. 889 in Moock's ASDG for FlashMX)." So with your TextFormat destroyed, you've sacrificed the user's ability to continue to format the text in order to add an image. At least, that's how I understand it. TextFormat does not have as an available style. Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Marcelo Volmaro Sent: Wednesday, August 09, 2006 11:02 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion To insert an image you need to process the text as "text". So you first need to get the html text (textfield.htmlText), insert the image using string functions and then re-insert the text into the textfield. Because you know where the cursor is in the textfield "text" but not in the "html" text, you need to insert some kind of marker at the cursor position, and then replace that marker inside the html text with the img tag. That will do the trick. On Wed, 09 Aug 2006 11:09:37 -0300, Merrill, Jason <[EMAIL PROTECTED]> wrote: OK - follow me here for a fun mental exercise: I think the major issue I'm running into with this is the TextFormat class relies on the text field's visual formatting described by the Flash Players internal style profiles. And since the TextFormat class does not support an tag, I cannot use TextFormat to insert an image, I have to insert the tag as a string. AND SO since writing to the text property of a TextField object destroys any custom formatting associated with the field (i.e. the interal style profiles), I have to use the TextField.replaceSel() function (p. 889 in Moock's ASDG for FlashMX). AND since the replaceSel() function encodes the markup, you can't have it render the image! So it seems to be a catch-22 and I'm screwed using TextFormat and trying to let the user also add an inline image. Unless someone knows otherwise, I am going to have to use a movieClip container instead of an IMG tag. That will not be ideal, but it might fly for this project. I really
[Flashcoders] part of text is not visible...!
hmdakr, part of text is not visible...! try stuff, like: Drag/set _xScale of text box longer. Put linebreaks or spaces after the text. Change fonts. Change text_box properties. try everything, Dave_Matthews --- Message: 14 Date: Wed, 12 Jul 2006 13:55:54 +0100 (BST) From: hmdakr <[EMAIL PROTECTED]> Subject: [Flashcoders] part of text is not visible...! To: flashcoders@chattyfig.figleaf.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 Hi, text is loaded from notepad file. When we see the text with Flash player 7 text is ok. But when we see it with the Flash Player 5 some part of dynamic text is not visible. e.g. My house was On flash player 5 it comes as My house. "was" is not visible. On Flash player 7 it is ok it comes as-My house was File was made in Flash 5. plz help me...! thx in advance...! ___ 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] Flash player inventor explains everything
one of 'the gods of the internet' speaks, This one hour video/Breeze presentation by "Principal Scientist, Flash Player" Gary Grossman is the best, most in depth explanation of what's happening in the Flash Platform ever published. http://seminars.breezecentral.com/p64058844/ enjoy, Dave Matthews http://www.2GoTo.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] Can't update text in rotated text field
hi Steve, This is an old bug left over from Flash 4 (and FlashLite now). It's related to instances of objects no longer responding to coded tweens after those same objects are dragged n dropped by the end user. It is also related to non-embedded text fields not showing up when behind a mask. Try doing the rotation in the timeline manually, rather than coding the movement as a tween. Tried it here and the text box stayed visible and changed the text as the variable was changed. Embed the fonts, as others have suggested too. good luck, Dave_Matthews http://www.2GoTo.com Message: 12 Date: Fri, 16 Jun 2006 10:39:55 -0700 From: "Steven Sacks" <[EMAIL PROTECTED]> Subject: RE: [Flashcoders] Can't update text in rotated text field To: "'Flashcoders mailing list'" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="US-ASCII" Why don't you just rotate the entire movieclip instead of the text field? Works for me. Here's the script for always printing landscape with PrintJob: function printCertificate() { var mc = MC_Certificate; var realW = mc._width; var realH = mc._height; _pj = new PrintJob(); var pageCount = 0; if (_pj.start()) { var portrait, cXscale, cYscale; var orient = _pj.orientation; if (orient.toLowerCase() != "landscape") { portrait = true; mc._rotation = 90; mc._x = mc._width; cXscale = (_pj.pageWidth / realH) * 100; cYscale = (_pj.pageHeight / realW) * 100; } else { cXscale = (_pj.pageWidth / realW) * 100; cYscale = (_pj.pageHeight / realH) * 100; } mc._xscale = mc._yscale = Math.min(cXscale, cYscale); if (_pj.addPage(mc, {xMin:0, xMax:realW, yMin:0, yMax:realH})) { pageCount++; } } if (pageCount > 0) { _pj.send(); } mc._xscale = mc._yscale = 100; if (portrait) { mc._rotation = 0; mc._x = 0; mc._y = 0; } delete _pj; } ___ 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] RootkitRevealer flagging shared object... :(
hi all, RootkitRevealer flagged this file as a problem: c:\Documents and Settings\myUserName\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\#name.com. Was able to delete all other files in this folder, this one resists deletion and renaming. Tried deleting it using safe mode too... no luck. Please notice the 'period' at the end of the file name, seems unique and no other files in the folder have one at the end of "com". Googled the real company name and they seem to be a reputable Flash component seller, so i changed it to "#name.com." for this post. Anyone else unable to delete a file in this space? Anyone got a clue? getting ready to reformat, Dave Matthews ___ 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] PayPal issues
A few days ago some one was asking about PayPal issues, PayPal offers a developer's link to webassist.com for an .mxp file for .swf based access to a PayPal account. After days of messing with it and searching forums, this showed up on a webassist.com thread:- Product: WA PayPal eCommerce Toolkit Category: Implementation Posted by: WebAssist Date: 2/7/2006 12:37 pm Viewed: 17 times Attachment: None TITLE RE: Flash extention kit doesn't work correctly MESSAGE Reply: The PayPal toolkit for Flash does not work properly due to things that are out of our control. This is why we no longer offer the product, and do not support it. All This after endlessly searching PayPal, joining webASSist.com etc. Thanks PayPal and thanks webASSist.com... ya bunch 'o ... Dave_Matthews 2GoTo.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] XML Data visualization
hi Kevin, Try poking around http://www.2GoTo.com It's an experimental data visualization system based on an infinitely large, non-distorting hyperbolic plane that imports .swf files as content. It zooms from 2% to 28000% and can display hundreds of different .swf files at the same time, from many different servers at the same time. later, Dave_Matthews Message: 23 Date: Tue, 31 Jan 2006 16:06:28 -0600 From: "Kevin Aebig" <[EMAIL PROTECTED]> Subject: RE: [Flashcoders] XML Data visualization To: "'Flashcoders mailing list'" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" I understand what you mean in regards to design patterns, and have used MVC and MVP patterns before in other projects. I also have a very good understanding of the inner workings of the Tree component, but am looking for something more "experimental". The yugop tree is a good example of something I'd be interested in seeing. I already have this "bounce" style tree menu's source from a different party, but it seems bulky and the implementation isn't clean enough. Basically I'm trying to re-think how data can be viewed intelligently, but artistically. I assume I'm not the first... =] Cheers and thanks for suggesting the ARP framework. I'd heard about it, but maybe it's time I play around for a bit... !k ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Can an "in browser.swf" P2P a different end user's "in browser.swf"?
hi All, Can an "in browser.swf" P2P a different end user's "in browser.swf"? Got any suggestions about the best way to do it? Why can't it be done. thanks, Dave_Matthews ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: zoomable Flash maps
hi Hans, like this? http://2goto.com/maplicator/07-03-05-maplicator.swf Double click/hold/slide to zoom, single click/hold/slide to pan. Dave_Matthews --original message- Message: 17 Date: Tue, 29 Nov 2005 11:54:32 +0100 From: Van De Velde Hans <[EMAIL PROTECTED]> Subject: [Flashcoders] zoomable Flash maps To: "'flashcoders@chattyfig.figleaf.com'" Hi list, I need to make a geographical map viewer module in Flash with a dynamic number of hierarchical zoomable depth levels and with a number of hotspots per level (i.e. the stores of the client in a certain country, region or city). And I need to foresee an administration module that allows to drag and drop hotspots on the maps and store these hotspots to a database. Please send me links to examples of Flash maps, howtos or anything that can help << Thanks, -- Message: 18 Date: Tue, 29 Nov 2005 08:10:31 -0300 From: Daniel Cascais <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] zoomable Flash maps To: Flashcoders mailing list Hi Hans, I've seen this map application being mentioned a few times: http://www.zoomify.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: detecting when mouse goes outside of the flash
hi Martin, If the panorama tool is a 'drag to pan' system and you need to detect the mouse release outside of the Flash area, try this: Place an invisible button over the entire dragged button, which might be the whole stage. Set this invisible button to goto a blank frame and stop on rollover, leaving the original panorama drag button to pick up it's rollover or onDown(and drag) signal from the cursor. For some reason this allows Flash to detect when the mouse is released outside of the player (out in the html page) and triggering the on release function of the dragged button - sending the dragged button back to it's starting (stopped) position, where it should also have a command to make sure the panning is halted. Have no idea why it works, but figured it out when trying to stop scrolling when cursor is released outside the player at: http://www.2GoTo.com... works great. If you can't get this to work, i can build an exact working example for you. Dave_Matthews --original messages-- Message: 12 Date: Wed, 23 Nov 2005 10:10:32 +0100 From: "Martin Klasson" <[EMAIL PROTECTED]> Subject: [Flashcoders] detecting when mouse goes outside of the flash Hi coders. This has been up before, and I have done some own tests and searched the archives as well. But I can't find the solution, if there is any. I want a certain thing to happen in my flash when the mouse moves outside flash. Since the _xmouse/_ymouse stops updating when dragged outside you cant rely on them (they do work WHEN mouse is pressed and dragged out from the swf, but that is of course not a solution) I have also tried to add a big 'button' which has onRollOut/onDragOut attached to it, but the problem is that button-events above it will disable the underlying one. So what I know of there is no solution to this problem, but probably some decent hacks? I am not interested in a solution which requires code in the html-page or so, but if you have such one I would like to know about it as well. But mainly I wish to know a solution in which flash internally can say if the mouse-cursor is outside the flash in the html-page. Thanks Coders / martin --- Message: 15 Date: Wed, 23 Nov 2005 23:02:20 +1300 From: "Campbell Anderson" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] detecting when mouse goes outside of the flash If you ever do a cursor replace in a flash movie you will see that when the cursor leaves the stage the cursor you create stays at the edge.. so Im pretty sure that you if you listen to the mouse position and it goest to within on pixel from the stage width its a safe bet it has gone out. a mouse listener: var xpos:Number; var ypos:Number; // Create a mouse listener object var mouseListener:Object = new Object(); // Every time the mouse cursor moves within the SWF file mouseListener.onMouseMove = function() { xpos = _xmouse; ypos = _ymouse; CheckPosition(xpos, ypos); }; function CheckPosition(_xpos:Number, _ypos:Number){ var _StageWidth:Number = Stage.width; var _StageHeight:Number = Stage.height; //have a buffer zone around the edge to give time to catch event var Buffer:Number = 10; //10 pixels if(xpos>=(_StageWidth-Buffer) || ypos>=(_StageHeight-Buffer) || xpos<=Buffer || ypos<=Buffer){ result_txt.text = "out"; } else{ result_txt.text = "in"; } } Mouse.addListener(mouseListener); stop(); you could use an on enterframe and a decent frame rate and it may get a better acuracy. The biggest problem is this isnt 100% but at least it gives you a starting point. -- Message: 14 Date: Wed, 23 Nov 2005 10:43:19 +0100 From: Hans Wichman <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] detecting when mouse goes outside of the flash Hi, i had the same problem and approached it a little differently, which might be or not be of use to you. I simply check whether the mouse has moved or not. Your situation might be very different, but in mine I had to update the rotation in a panorama based on the mouse position within that panorama. If you'd mouse the out real quick, the panorama went spinning ;) and never stopped. So now return an dx/dy based on mouse position and altered by the amount of time the mouse hasnt moved. In effect if you move your mouse to the left in the panorama for example it will move quickly at first and slowly grind to a halt. Same thing happens when you move the mouse outside. Other that than no clue... greetz Hans -- Message: 16 Date: Wed, 23 Nov 2005 23:14:04 +1300 From: "Campbell Anderson" <[EMAIL PROTECTED]> Subject: Re: [Flashcoders] detecting when mouse goes outside of the flash P.S. to make it more reliable (but I realise you not happy with using browser code..
[Flashcoders] RE: Big wide flash surface -how big can my be?
correct Mani. second post because subject was wrong a minute ago... :) At 2GoTo.com, we use an empty movie clip for the main infinitely large plane, then load movies onto it using x/y coordinates to position them. We have loaded movies at x/y points in the 500,000+ pixel range with no problems from any of the players. Dave_Matthews --original message Message: 10 Date: Mon, 21 Nov 2005 20:11:46 -0500 From: Manuel Saint-Victor <[EMAIL PROTECTED]> Subject: Re: [Flashnewbie] RE: Big wide flash surface -how big can my be? Thanks, That's exactly what I was wondering about. Mine won't be more than like 5 windows. So I'm guessing by you calling them internal windows that they are nested within one "main movie clip" that plays the role of the main navigator of sorts. That's the way I'm trying to do it right now. Thanks again, Mani On 11/18/05, dave matthews <[EMAIL PROTECTED]> wrote: hi Manuel, Flash can handle an infinitely large plane... :) The problem gets to be how does one navigate the thing. There is a working example of a Flash interface at our test bed: http://www.2GoTo.com This is just a test site, so you'll have to poke around the internal windows to find the duplicate window feature - it'll carry hundreds of internal windows, if you've got the ram. later, Dave_Matthews ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: Flashcoders Digest, Vol 10, Issue 84
correct Mani. At 2GoTo.com, we use an empty movie clip for the main infinitely large plane, then load movies onto it using x/y coordinates to position them - we have even been able to load x/y points in the 500,000 pixel range with no objections/problems from the players. Dave_Matthews -- Message: 10 Date: Mon, 21 Nov 2005 20:11:46 -0500 From: Manuel Saint-Victor <[EMAIL PROTECTED]> Subject: Re: [Flashnewbie] RE: Big wide flash surface -how big can my be? Thanks, That's exactly what I was wondering about. Mine won't be more than like 5 windows. So I'm guessing by you calling them internal windows that they are nested within one "main movie clip" that plays the role of the main navigator of sorts. That's the way I'm trying to do it right now. Thanks again, Mani On 11/18/05, dave matthews <[EMAIL PROTECTED]> wrote: hi Manuel, Flash can handle an infinitely large plane... :) The problem gets to be how does one navigate the thing. There is a working example of a Flash interface at our test bed: http://www.2GoTo.com This is just a test site, so you'll have to poke around the internal windows to find the duplicate window feature - it'll carry hundreds of internal windows, if you've got the ram. later, Dave_Matthews -- original message -- Message: 2 Date: Thu, 17 Nov 2005 17:31:54 -0500 From: Manuel Saint-Victor <[EMAIL PROTECTED]> Subject: Re: [Flashnewbie] Big wide flash surface -how big can my Flash file I was wondering as far as say a background rectangle that is predominately offstage - sorry I didn't think of that phrasing when I asked. I'm thinking like you would have in a racing game with a lot of the track not visible or a huge chalkboard that eases relative to mouse position M On 11/17/05, Merrill, Jason <[EMAIL PROTECTED]> wrote: > >As far as how big your Flash file can be, if you look in the HTML source >of the site you posted, they just publish width="100%" height="100%"... > >Jason Merrill | E-Learning Solutions | >icfconsulting.com <http://icfconsulting.com><http://icfconsulting.com> > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] POST bug - player8 + Paypal
hi All, Lost the link to the "player8 post bug" posted recently... :) Now it's time to turn this Paypal code into a Flash button: https://www.paypal.com/cgi-bin/webscr"; target="paypal" method="post"> width="78" height="23"> Is that the "POST" command that's broken in the newest player? thanks, Dave_Matthews ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders