safari/flash peculiarity
- Started
- Last post
- 5 Responses
- connerd
anyone ever run into this problem:
using flash mx, i have a LoadVars object that I submit to a processor .cgi url, via the LoadVars.sendAndLoad() method.
this appears to work in all browsers except safari, where I get this wierd little quirk, where it seems to chop off the last character in one of the strings i send. for example, i'll submit a name and password, and where I submit "connerd" as the name, the cgi only seems to recieve "conner".
funnily enough, it doesn't do this to all the strings because the password I pass in is still correct.
anyone ever encounter anything like that? c'mon all you flash nerds!
(hope this isn't too complex)
thanx
mc
- ********0
that's heavy
- connerd0
knawmean tho?
to simplify:
why does safari chop off the ends of strings w/ flash..
and how do i fix it?
- dehryll0
this *is* quite a heavy topic. i suggest going outside, digging a hole, and inserting your head into the hole.
when you done messing around with that, you need to specify some things:
• is it the last variable sent that is being chopped off?
• how are you processing the variables?
• what language are you using for the cgi?
- connerd0
oh yeah.. i tried digging a hole and sticking my head in.. but i think i did something wrong cause it didn't work :(
• i'm not entirely sure whether the variable being chopped is the last one sent, because its part of an object.
_level0.userInfo = [object] {
name:"connerd",
password:"password",
}when i trace the object while debugging, the name actually appears to be the first variable.
i know offhand that one pecularity in flash is that it tends to send object params in reverse order for some wierd reason.. so maybe name is being sent as the last param..?
• the variables are being processes thru a sendAndLoad() method attached to LoadVars objects, and they get processed by a perl file, but i'm pretty sure it doesn't have anything to do with the perl.
the wierd thing is just that it works fine in other browsers.
hope i didn't confuse you even more.. thanks though for the help
- connerd0
ok, after i read what i just wrote i found a way that seems to fix it, just by sending a third param in front of the name param called 'blank'.
thnx anyway :)