Hi,

I've been working on an extensive upload component  making use of the flash
8 filereference classes. Everything works great on windows ,no problems
there but on macintosh I'm experiencing lots of problems.

I've tested it for a while and noticed that neither the onProgress or
onComplete events are triggered while uploading on a mac. I've read in other
threads here on flashcoders that sometimes indeed one of the events doesn't
trigger. But in all problem situations I've read about ,there only seems to
be 1 broken event not 2. I could easily make a quick fix if either the
onComplete or onProgress event work but with only the onOpen event
triggering there's not much I can do.

Things i've tried:

- simplifying my code to a very basic version : make an listenerObject,
define the events , assign the listenerObject to the filereference object,
browse, upload (basicly textbook version)
- server side uploading with a coldfusion cfm page containing only this. The
normal method I am using that works like a charm on windows.

 <cffile action="upload" filefield="Filedata" destination="#dir#"
nameconflict="makeunique">
connectionstring being =  http://.../upload.cfm?dir=....

- server side uploading with a coldfusion service file, cfc. Tried this
because somebody fixed the onComplete event by making sure the uploadscript
returned something.

    <cfcomponent>
    <cffunction name="doUpload" access="remote">
        <cfargument name="dir" type="string" required="yes">
        <cffile action="upload" filefield="Filedata" destination="#dir#"
nameconflict="makeunique">
        <cfreturn 1>
    </cffunction>
</cfcomponent>

connectionstring being = http://../upload.cfc?method=doUpload&dir =...


I am testing everything on mac os X version 10.4.5 , Safari and internet
explorer mac edition browser.

Anyone who encountered these problems before ,and perhaps found a fix ,that
can help me? I'd greatly appriciate it.

Thanks.

Yves
_______________________________________________
[email protected]
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

Reply via email to