Rank: Newbie
Groups: Member
Joined: 10/12/2010(UTC) Posts: 8
|
I followed the instructions on your site for creating my own theme and every time I compiled the new SWF file, when I went to add pictures, it got stuck on the Aurigma Image Uploader Flash percentage bar (and wouldn't insert pictures). So I tried recompiling your DefaultTheme.css file and had the same results. If I use the original DefaultTheme.swf file, everything works great. Note that when I compiled the CSS file, I received this message: rmajoran$ /Users/rmajoran/Downloads/flex_sdk_4.1/bin/mxmlc /Users/rmajoran/Desktop/Themes/Default/DefaultTheme.css Loading configuration file /Users/rmajoran/Downloads/flex_sdk_4.1/frameworks/flex-config.xml /Users/rmajoran/Desktop/Themes/Default/DefaultTheme.css(103): Warning: Type 'Button' in CSS selector 'Button' must be qualified with a namespace. { /Users/rmajoran/Desktop/Themes/Default/DefaultTheme.swf (49564 bytes) --- I then changed line 103 to .Button and the error went away... but it still doesn't fix the problem. Thoughts? Here is my code: Code:<script type="text/javascript" src="ClientScripts/aurigma.imageuploaderflash.js"> </script>
<script type="text/javascript">
var fu = $au.imageUploaderFlash({
id: 'Uploader1',
width: '900px',
height: '480px',
licenseKey: 'XXXXXXXXXXXXXXXXXXXXX',
flashControl: {
codeBase: 'ClientScripts/aurigma.imageuploaderflash.swf',
themeUrl: 'ClientScripts/Themes/Default/DefaultTheme.swf'
},
converters: [
{mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: '1200', thumbnailHeight: '1200', thumbnailJpegQuality: '60'},
{mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: '90', thumbnailHeight: '68', thumbnailJpegQuality: '60'}
],
upload: {
actionUrl: 'photoengineupload-v4.cfm?h=#session.d2#',
redirectUrl: 'edit.cfm?step=2&status=1&mid=15&genre1=#genre1#&d=#session.d2#&RequestTimeout=9999'
}
});
fu.restrictions({
fileFilters: [
['Images (*.jpg; *.jpeg; *.jpe)', '*.jpg;*.jpeg;*.jpe']
],
minFileCount: 1,
maxFileCount: #val(photosallowed)#,
maxFileSize: 15728640, //15 MB in bytes
minImageWidth: 150,
minImageHeight: 150
});
fu.messages({
tooFewFilesError: 'You must select at least one file.',
tooManyFilesError: 'You can select not more than #val(photosallowed)# files.',
fileTooLargeError: 'You can add files not larger than 15 MB.',
imageHeightTooSmallError: 'Image height should be larger than 150 pixels.',
imageWidthTooSmallError: 'Image width should be larger than 150 pixels.'
});
fu.writeHtml();
</script>
Edited by moderator Monday, December 6, 2010 4:51:21 AM(UTC)
| Reason: Not specified
|