Re: [Flashcoders] Full Screen issue on a Mac
Could someone with a Mac check if this is working in fullscreen? Sorry, no. And clicking your "go full screen" button does nothing. No crashes though. Intel Max OSX 10.5.4, Safari 3.1.2, Flash player version 9.0.124. Cheers David http://venturawave.com/fs/fullscreen.html This site crashed on my client's Mac. The problem was likely that I didn't include or nest the the embed tags within the object tags in my html page when I modified for full screen. Here's my new code in the html (which hopefully works) ... data="fullscreen.swf" type="application/x-shockwave-flash" width="640" height="510" http://www.macromedia.com/go/getflashplayer"; carlos ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Preloading images
Hi Another approach (if the number and size of the images isn't too great) is to grab the bitmapdata from each one once it's loaded and store that in an array. David What have you guys found is the best way to load images in the bg, for example with an image gallery, where once image 1 loads, the rest start loading up in the bg? I've been using an MCL, which loads in the background and then immediately deletes onComplete and starts the next one, but I'm wondering if theres a better way. Or rather, I'm sure there's a better way and I just havent found it yet... ;) .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] printJob, orientation and rotation or scaling issues
Thanks guys Steven, I've played around with your code and got it working on my setup but will need to test later in the day on the computer/printer combination that was causing the problems. I needed to modify it though because your code assumes the clip is scaled at 100% to start with. In my case it's not. You could make your code more generic by adding at the start... var originalScale:Number = mc._xscale; mc._xscale = mc._yscale = 100; ...and then after printing, instead of setting the scale back to 100... mc._xscale = mc._yscale = originalScale; Or there's probably a way of leaving the scale as it is and fiddling around with the maths in the rest of the code - but that's too hard for this time of day! Cheers David On 2/05/2007, at 9:31 PM, Steven Sacks wrote: I cover this topic on my blog. :) http://www.stevensacks.net/2007/03/16/force-landscape-printing-with- printjob/ ___ 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] printJob, orientation and rotation or scaling issues
Hi I'm having problems correctly rotating a movieclip to accomodate users printing in either portrait or landscape format. There was a thread about this maybe 4 to 6 weeks ago and I'm unable to locate it in the archives. If anyone recalls that, would they mind pointing me to it? The item to print is a landscape formatted movieClip and I'm wanting to rotate and scale it so that users with print setup to portrait will still print it OK. Here's my code which works OK on some machines but not others. MovieClip to print is postcardClip and it's normal size is much smaller than page size... var myPrintJob:PrintJob = new PrintJob(); var notCancelled:Boolean = myPrintJob.start(); if (notCancelled){ var startScaleX:Number = postcardClip._xscale; var startScaleY:Number = postcardClip._yscale; if (myPrintJob.orientation == "portrait"){ // NEED TO ROTATE postcardClip._rotation = 270; } postcardClip._xscale = 180; postcardClip._yscale = 180; myPrintJob.addPage(postcardClip); myPrintJob.send(); postcardClip._rotation = 0; postcardClip._xscale = startScaleX; postcardClip._yscale = startScaleY; } delete myPrintJob; What's happening is that on some computer/printer combinations, a triangular portion (half the image) is printing correctly with the other triangular half printing as solid triangular block. I suspect something wrong with the scaling part of my code. Any help appreciated. David ___ 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] The great CS3 Swindle
A related issue which has got me wondering is what to do with some of my old software... The upgrade path to either CS3 Web Premium or Design premium assumes that we have one of several existing versions of software including Creative Suite 2 OR Macromedia Studio 8. I'm sure there are many others on this list who own BOTH of these, yet that counts for nothing when upgrading. I'm contemplating using Studio 8 to unlock the upgrade package then selling Creative Suite 2 - with the proper licence transfer of course. I suppose I could also purchase two copies of the Cretaive Suite 3 - use CS2 to unlock one and Macromedia Studio 8 to unlock the other, then onsell one of the CS3 bundles. Any thoughts? David ___ 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] Detecting mouse events over non-white parts of amovieClip
Thanks John, Bob, Jason and Keith for your thoughts and advice. I think we'll be making vector graphics to match all the bitmaps . For now, sleep beckons... Cheers David ___ 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] Detecting mouse events over non-white parts of a movieClip
cant you just use hitArea and make a transparent vector shape "hit state" for each visual element? As I think I indicated, that is indeed an option, but one we're looking for a way to avoid. Cheers David ___ 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] Detecting mouse events over non-white parts of a movieClip
Can't you override the onMouseOver of the clips to prevent the cursor change? Or wait, why would the cursor be changing? There's no onRollover event being specifically handled, but each of the clips has onPress, onRelease and onReleaseOutside events handled. My understanding is that it's the default behaviour of a clip with any mouse events handled at all, that the cursor changes when it enters the clip. In the case of a clip comprising a vector graphic the change occurs when it enters a non-white area. In the case of a clip containing a bitmap, it changes when the cursor enters the bounding rectangle of the clip. ___ 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] Detecting mouse events over non-white parts of a movieClip
Thanks for those suggestions. I didn't think about Birmapdata.hitTest(), but I had thought about using getPixel() Sure, I can use that to decide whether or not the user has clicked on a non-white area, but that doesn't resolve user confusion. It doesn't help the user to know which item they are about to select because the cursor will already have changed when the mouse enters the bounding rect. Cheers David On 8/02/2007, at 4:05 PM, Jason Boyd wrote: Also, just looking this up made me notice that as of Flash 8, you can do pixel-level hit detection between not only a bitmap and a point, but 2 bitmaps, with alpha threshold support! BitmapData.hitTest() On 2/7/07, Jason Boyd <[EMAIL PROTECTED]> wrote: Check out the BitmapData class, specifically the static loadBitmap (id) method for creating an instance from a library symbol, and getPixel () which allows checking individual pixel values. I would think an algorithm that would work would be to iterate through the display list, do hitTest() on every clip, and for those that hit, starting with the first (which is the highest depth), copy the image data into a BitmapData object and do a getPixel() at that spot to test for the transparent color (which sounds like its white). This would be slow, presumably. But might redo the objects on stage so that they are already Bitmaps or BitmapData. My 2 cents. ___ 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] Detecting mouse events over non-white parts of a movieClip
Hi I need to detect mouse events on a movieclip's non-white content rather than it's bounding rectangle even where the contents are bitmap based. I'm putting together an activity for kids where they create a piece of art by dragging and dropping visual elements onto their canvas, then they can subsequently select these elements to move them, resize them, rotate, delete them etc. The user must be able to accurately select these elements even when they are overlapping – so long as a movieClip is partially visible, it needs to be selectable. The problem of course is that the movieClips are responding to mouse events as soon as the mouse enters their bounding rectangle. The items they drag are sourced from photographic material and need to remain as bitmap–based movieClips. They are a collection of everyday items: fruit, plants, vehicles, people etc and currently they are imported as PNGs with an alpha channel. One option would be to make a vector graphic version of every single graphic, have that layered behind in each clip and have that detect the mouse events – but what a pain! There has to be a simpler way? I guess I need seomething like a background transparent blending mode – but there isn't one:( I'm sure others have tackled this problem. Anyone? David ___ 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] load image from local machine into browser based swf?
Is there any way to allow the user to select an image file on their local machine and then load the image directly into a SWF running in a browser from a remote server without using any server-side script? I have a need to do this also - to alow a user to select one of their own images to use within a swf. I haven't found any neat way but I've played around with a two-step approach as follows.. 1. Use FileReference class to browse then upload a file to a remote server. 2. Use loadClip to then download that image from the remote site to the swf. I've had it work occasionally, but haven't managed to get it reliable and in any case it's a real clunky approach. If anyone has anything that really works I'd love to know about it. David ___ 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] Q: Performance of AS3 vs Java
I'm not too keen on seeing 3D interfaces and spinning/whirling items anytime soon. That includes product items for the most part too. No problem. Don't look:) David ___ 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] RE: Keyboard accessibility and sliders
Hi Andrew Basically, once the slider gains focus, you then use keys to control the slider position. The tab key moves the focus away from the slider. Here's the shortcuts I'd recommend: Right arrow and up arrow - increment slider (using right and up allows the slider to be vertical or horizontal with no impact on users) Left arrow and down arrow - decrement slider Ctrl+up and Ctrl+right - large increment Ctrl+down and ctrl+left - large decrement Home/end - lowest and highest slider positions Makes perfect sense to me. How would you prevent the left/right arrow keys from moving the focus away from the current slider to the next/previous item in tab order? David ___ 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] RE: Keyboard accessibility and sliders
Hi Dan Thanks for your comments. The use of arrow keys has been requested by the client. I may have to try and talk them out of it. But it makes sense visually - the sliders are arrows pointing left and right, and it's important that the user can slide them as little or as much as they like (constrained only by their extreme left and right limits). My plan was to use left and right arrow keys and a setInterval so they can be moved smoothly and easily. If the choice is to either follow the rules and make it cumbersome, or break the rules make it easy, my choice would be to make it easy for non-mouse users. Just looking for the best way. Thanks David Standard keyboard accessibility states that the tab and enter key are the 2 keys that can be used. ie. These map to switch users keys as standard. So what you can do is tab to the slider and then on an enter press the slider can increment an amount and so on, until the next tab to the next acccessible item. You can even mark the increments on the slider if you want. Your slider will then be accessible to all user including 1 switch users. It is standard that you tab between items and and enter hit does the item action. Dan M ___ 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] Keyboard accessibility and sliders
Hi I'm developing a Flash item that is required to be keyboard accessible. One screen has a series of sliders. I want the user to be able to tab to select which slider they wish to use, then use their arrow keys to move the sliders left or right. Of course the normal behaviour of the arrow keys with tabEabled items is that they can serve as an alternative to the tab key. I'm looking for a way to keep as closely as possible to the standard keyboard accessibility guidelines while allowing the use of the sliders via the keyboard. Anyone care to share their solution to this? I wondered about having everything tab disabled then handling the whole thing with a key listener, but that would be a real pain. There are other items on the same screen that also need to be part of the normal tab order. Cheers David ___ 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] FLVPlayback class documentation
F1 - Help - Components Language Reference > FLVPlayback Component > FLVPlayback Class Thank you thank you:) David\ ___ 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] FLVPlayback class documentation
Can someone tell me where to find the full documentation for the FLVPlayback class? Thanks David ___ 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] Flex Builder 2 for Mac - 6 things you need to know
It opens revealing a "Flex Start Page" panel which has a heading "How Flex Works, a sub-heading "6 things you need to know" followed by 6 text links that lead nowhere. Works for me! They link to internal help docs with a URL like: http://127.0.0.1:58332/help/index.jsp?topic=% 2Fcom.adobe.flexbuilder.help%2Fhtml%2Fhow_flex_works_2.html I don't know the packaging yet, but that's a local address, rather than an adobe.com address: http://www.google.com/search?q=define%3Alocalhost For "How might a local address fail?" then some ways include moving the files around on disk, browser security changes ot prohibit local files, difficulty finding a browser... anything like this seem like it might be happening here...? I have Safari running. Safari has no problem accessing other local files. I have re-booted: still no joy. I have run the uninstaller and re-installed from scratch, rebooted yet again: still no joy Clicking those links displays absolutely nothing:( David ___ 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] Flex Builder 2 for Mac - 6 things you need to know
Hi Have downloaded Flex Builder for mac, installed it and launched the app. It opens revealing a "Flex Start Page" panel which has a heading "How Flex Works, a sub-heading "6 things you need to know" followed by 6 text links that lead nowhere. Anyone else have this problem? Anyone know how to access this information? Is there maybe something additional that also needs to be downloaded? David ___ 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] centering printed content
Does anyone have experience centering a PrintJob? I'm unable to manipulate the location of the printed object on the paper. One option is to include a large page-sized rectangle behind the visible content and set it's _alpha to 0. Centre your visible content within this area. David ___ 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] BitmapData size limit
Hi Charles / Bill It is a hard limit of object within Flash. It is similar to the hard limit of image sizes within Director as well. It has nothing to do with memory use but rather they way the app and player were programmed. I wasn't aware of the limit in Director - any idea what it is? In Director.. newImage = image(6000,6000,16) -- bloody big put ilk(newImage) --> image put newImage.width --> 6000 In Flash var newImage = new BitmapData(3500,300) // not so big trace(typeof(newImage)) --> undefined trace(newImage.width) --> undefined Bill, what you described very similar to what I'm trying to do, in my case I have a set of 7 images each 500 X 300 and I thought I'd assemble them in a single panoramic imag, display it in a single movieClip and handle the scrolling with copyPixels and a mask What I'm doing now is just putting them into individual clips spaced 500 pixels apart and scrolling the parent clip behind a mask - not using BitmapData at all. Works OK I guess, just seems less tidy soehow:( Cheers David Charles P. On 10/5/06, Dave Wood <[EMAIL PROTECTED]> wrote: Thanks for your response Micha > this has to with other things. the 2880 px stuff is related to one > single object, you can have as much object of that size as you > want, as long as you have enough ram. >> I wanted to create an image object 3500 X 300 pixels which will >> take up about 4 Mb - but I can't > sure you can't. you gave your answer in the above quoted text. > your limitation is 2880 px square. and 3500 beats that. No I didn't give the answer. I can understand why 2880 X 2880 might be considered excessively big, but to have 2880 pixels as a limit for a single dimension is silly - unless there is some other reson I don't yet understand. And if another reason exists, then I want to understand what it is. For example, if I have an image object 2881 X 10 pixels, that would be only about 280 kb. Why can't I create such an object? I don't want to scale my image up because I know it will degrade. Thanks David > just scale it down to 2880 and you should be fine, than you can put > it in a mc and scale that one up. that should do the trick. > > micha ___ 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@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] BitmapData size limit
Thanks for your response Micha this has to with other things. the 2880 px stuff is related to one single object, you can have as much object of that size as you want, as long as you have enough ram. I wanted to create an image object 3500 X 300 pixels which will take up about 4 Mb - but I can't sure you can't. you gave your answer in the above quoted text. your limitation is 2880 px square. and 3500 beats that. No I didn't give the answer. I can understand why 2880 X 2880 might be considered excessively big, but to have 2880 pixels as a limit for a single dimension is silly - unless there is some other reson I don't yet understand. And if another reason exists, then I want to understand what it is. For example, if I have an image object 2881 X 10 pixels, that would be only about 280 kb. Why can't I create such an object? I don't want to scale my image up because I know it will degrade. Thanks David just scale it down to 2880 and you should be fine, than you can put it in a mc and scale that one up. that should do the trick. micha ___ 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] BitmapData size limit
Ooops! sorry - my bad maths - that 24 Mb should have been 32 Mb David On 6/10/2006, at 7:28 AM, Dave Wood wrote: Anyone know why the 2880 pixel limit for either width or height of a BitmapData object? If the intention is to limit the amount of memory required (2880 X 2880 pixels would require about 24 Mb), then the limit should be on the total size of the image surely. Or is there some other reason for this that someone can explain? I wanted to create an image object 3500 X 300 pixels which will take up about 4 Mb - but I can't. Any thoughts? David ___ 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] BitmapData size limit
Anyone know why the 2880 pixel limit for either width or height of a BitmapData object? If the intention is to limit the amount of memory required (2880 X 2880 pixels would require about 24 Mb), then the limit should be on the total size of the image surely. Or is there some other reason for this that someone can explain? I wanted to create an image object 3500 X 300 pixels which will take up about 4 Mb - but I can't. Any thoughts? David ___ 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] Re: how to hide your AS 2.0 from flash leech software
Hi David I'm always suspicious when a person's first post to a mailing list is in promoting a commercial product. Maybe I'm just too paranoid, who knows. I'm also a little suspicious of people using nom-de-plumes, but I got an answer to my question. Care to suggest any alternatives? Regards David ___ 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] Re: how to hide your AS 2.0 from flash leech software
You can protect your AS code from decompilers by using an obfuscator. Anyone know of any for use on a Mac? David ___ 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] Interactive Map Examples
Hi Matt i'm looking for examples of interactive flash maps. i'm trying to see what else is out there as i build out my application...which will be a map of the US. I'm still very much a beginner myself with this map stuff, but you are welcome to have a peep at this, and I'll do my best to answer any questions you have... http://www.pixelpump.co.nz/photo_map.swf what i'd like is that a user can click a state and that state will be the prominent viewpoint from which a user can select a county. It might be similar in that here the main view is New Zealand, and you can click a button to see one particular region. It's still got a long way to go though, but I'm making progress. Cheers David ___ 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] Yahoo Maps: Detecting latitude and longitude of mouse over map
Hi David When flash calculates _width and _height, it also includes things inside the movieclip which may be invisible, or masked out. Good thought, but no, the movieclip contains nothing beyond the area covered by the map instance. Note that it wsan't just the clip containing the map the gave the strange values, but also of the map itself. Cheers David ___ 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] Yahoo Maps: Detecting latitude and longitude of mouse over map
The actual dimensions of the movieClip (and also the map) are 400 X 300 pixels. Sorry, that was a typo - they are actually 500 X 400 pixels. David ___ 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] Yahoo Maps: Detecting latitude and longitude of mouse over map
Hi I'm trying to detect the latitude and longitude of the cursor as the user moves their mouse around a map. Should be straightforward I thought - if I use LatLonRect data and then calculate based on _xmouse and _ymouse data and the height and width of the movieClip containing the map, I should be able to do this right? Weird problem is that flash reports the _height and _width of the movieclip incorrectly. I have a movieClip "mapTable_mc" in which there is a map named "map" The actual dimensions of the movieClip (and also the map) are 400 X 300 pixels. trace(mapTable_mc._height) …output is 1280 trace(mapTable_mc._width) …output is 1280 Trace mapTable_mc.map._height …output is 1280 Trace mapTable_mc.map._width …output is 1280 Height and width are not only incorrect but also the same as each other! If I trace _xmouse and _ymouse values, they are exacly as expected. Can anyone shed any light? David ___ 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] Shockwave files.
Does anyone know if there is a way to covert shockwave files into media files that can be viewed using windows media player? Can they be converted to streaming video files? If you have the original Director file you can export it as a Quicktime movie - but most Shockwave files are likely to be interactive in which case streaming makes no sense. But if it's a pure animation, you can do that then convert it to a Windows Media file. David ___ 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] Non-breaking spaces
Hi Can anyone confirm that in Flash Player 8, non-breaking spaces in text fields are broken? I have an old calendar make back on Flash 5 days. It used a single text field to display each month's calendar using non-breaking spaces and a mono-spaced font to ensure all the dates lined up. I just updated it to Flash 8 and updated the code to AS2 and it's broken - the calendar dates no longer line up. I backed up a bit and made a version for to Flash Player 7 (also converting the code to AS2) and there is no problem there. Anyone? Thanks David ___ 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] Flash Maths bug???
Apologies if this is common knowledge, but I've just come across a huge maths problem in Flash... as I've mentioned before I'm working on an online trading system where real people make or lose real money, sometimes a huge amount of it, so this isn't funny... You are right. It's very not funny. Here's one solution that might be useful to you... correctThis = function(thisNumber:Number,thesePlaces:Number):Number{ var temp:Number = Math.pow(10,thesePlaces); return Math.round(thisNumber * temp) / temp; } var a:Number = 171.9; var b:Number = 172.2; var c:Number; trace(correctThis(b - a,2)); ...0.3 Cheers David ___ 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] Flash 6
Flash 6 was technically Flash MX duh! I shoulda knowed that:( Thank you:) David ___ 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 6
Hi Flash history question. Can anyone tell me when Flash 6 came out? I think it was some time in 2001 because mx came out in 2002. Thanks David ___ 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] Printing in landscape
Has anyone found a way to set the print orientation to landscape? I don't think you can. Are you able to alert the user to the need for landscape before initiating the PrintJob? You can then test for whether they have chosen it with Printjob.orientation. David ___ 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