Re: [Flashcoders] Uploading file problem on MAC
Not if you're trying to use FileReference. I've noticed that only some applications on the Mac would embed that filetype info. But, when the file gets transferred from the Mac to PC then back, sometimes the info would get lost. But, most files on OSX now use file extensions, so you can still filter by those. - Josh On Mar 15, 2006, at 8:32 AM, Michael Kønig wrote: That works - thank you! So you dont want macExtension types when using a mac?? Strange. But again, thank you. From: Josh Buhler <[EMAIL PROTECTED]> Reply-To: Flashcoders mailing list To: Flashcoders mailing list Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 08:09:21 -0700 When using FileReference.browse(), you can specify the types of files you want to allow in an array. For example: var typeLIst:Array = [{description: "Image files", extension: "*.jpg;*.gif;*.png", macType: "JPEG;jp2_;GIFF"}, {description: "Flash Movies", extension: "*.swf", macType: "SWFL"}]; myFileReference.browse (typeList); The example above would limit the selectable files to .jpg, .gif, .png, and .swf. Each element in the array is an object with a description, extension, and macType property. If you remove the macType property from the object, then the files will still be filtered by extension on the Mac, but should still be selectable. - Josh On Mar 15, 2006, at 7:43 AM, Michael Kønig wrote: I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler <[EMAIL PROTECTED]> Reply-To: Flashcoders mailing list To: Flashcoders mailing list Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non- selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /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@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 ___ 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] Uploading file problem on MAC
That works - thank you! So you dont want macExtension types when using a mac?? Strange. But again, thank you. From: Josh Buhler <[EMAIL PROTECTED]> Reply-To: Flashcoders mailing list To: Flashcoders mailing list Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 08:09:21 -0700 When using FileReference.browse(), you can specify the types of files you want to allow in an array. For example: var typeLIst:Array = [{description: "Image files", extension: "*.jpg;*.gif;*.png", macType: "JPEG;jp2_;GIFF"}, {description: "Flash Movies", extension: "*.swf", macType: "SWFL"}]; myFileReference.browse (typeList); The example above would limit the selectable files to .jpg, .gif, .png, and .swf. Each element in the array is an object with a description, extension, and macType property. If you remove the macType property from the object, then the files will still be filtered by extension on the Mac, but should still be selectable. - Josh On Mar 15, 2006, at 7:43 AM, Michael Kønig wrote: I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler <[EMAIL PROTECTED]> Reply-To: Flashcoders mailing list To: Flashcoders mailing list Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non- selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /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@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 ___ 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] Uploading file problem on MAC
When using FileReference.browse(), you can specify the types of files you want to allow in an array. For example: var typeLIst:Array = [{description: "Image files", extension: "*.jpg;*.gif;*.png", macType: "JPEG;jp2_;GIFF"}, {description: "Flash Movies", extension: "*.swf", macType: "SWFL"}]; myFileReference.browse (typeList); The example above would limit the selectable files to .jpg, .gif, .png, and .swf. Each element in the array is an object with a description, extension, and macType property. If you remove the macType property from the object, then the files will still be filtered by extension on the Mac, but should still be selectable. - Josh On Mar 15, 2006, at 7:43 AM, Michael Kønig wrote: I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler <[EMAIL PROTECTED]> Reply-To: Flashcoders mailing list To: Flashcoders mailing list Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non- selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /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@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] Uploading file problem on MAC
I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler <[EMAIL PROTECTED]> Reply-To: Flashcoders mailing list To: Flashcoders mailing list Subject: Re: [Flashcoders] Uploading file problem on MAC Date: Wed, 15 Mar 2006 07:30:05 -0700 When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non-selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /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@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] Uploading file problem on MAC
When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required, and the list of extensions used by Windows to filter the files will still work on the Mac, so I'd just remove the macType specification. - Josh On Mar 15, 2006, at 6:34 AM, Michael Kønig wrote: I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non-selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /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@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] Uploading file problem on MAC
I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non-selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I hvae found that there are problemes with MAC and the onComplete call, but cant find anything on not being able to select files in the first place. Can anyone help. /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