Groups | Blog | Home
all groups > macromedia mobile and devices flashlite > january 2005 >

macromedia mobile and devices flashlite : Nokia 6600 and loading variables


Jomuel
1/24/2005 6:49:37 AM
I cant seem to load data from a web server using my Nokia 6600!!!

Ive tried almost everything... when i try to browse the text file on a web
server its ok, but when i use loadVariables to load it inside FLASHLITE i
always get a UNABLE TO LOAD error! ive tried switching to different providers
but I still get that error...

I tried to load the content locally and it was able to load it.

Can anyone from macromedia help?

thanks
Justin E-C
1/24/2005 6:52:33 AM
from your post in the loading data thread, it looks like you may have some bad
syntax, though I'm not sure if it would generate the error or not.

my response in the other thread:

loadVariables is for loading varaibles into a movie clip. to load into a
level, you need to use:

loadVariablesNum("myURL", 0)

with loadVariables, the same would be (since 0 is the _root)

loadVariables("myURL", "/")
Jon Danao
1/24/2005 7:05:23 AM
Jomuel
1/24/2005 7:38:07 AM
i dont think so sir, because I had tested it on all possible syntax. i just
posted _root because thats the most familiar syntax specially for flash 5/6/7
devs.

and the error is a "ERROR LOADING DATA" i dont think it has to do with syntax.
I tried to load something using flash mx 2004 environment and i was able to
simulate the loading. but when errors occurs when i test it on the phone..

i also saw your thread sir, i tried loading your txt file and got the same
error message.

This is relly weird because once i browse your link by using the phone
browser, i was able to see it..

I forgot to mention, when i tested it locally i was able to load it so i doubt
if its a syntax error.

any more insights to why this is happening?

thanks!
Jomuel
1/24/2005 7:40:27 AM
Hi jon,

Ive used ALL possible carriers already! bought a lot of SIM cards just to test it :)

Were you able to resolve your problem? i think we have similar problems

Jomuel
1/24/2005 7:49:09 AM
Justin E-C
1/24/2005 8:16:57 AM
Jomuel
1/24/2005 8:20:13 AM
Justin E-C
1/24/2005 8:52:13 AM
have you tried the network analyzer from that other thread?

(Rob Borcic's post from the other thread)
Try installing this app:
http://flashmobile.macromedia.com/flashlite/downloads/network.sis

The app is named "network" and it's very simple. You launch it, and select
"Run Test" from the menu. The app will ask you to supply a URL to which it will
then attempt to connect. When it's done, it will pop up a notice saying
"request completed." When complete, you should check for a file on your phone
named C:/netdebug.txt. This file will contain a trace of what has happened
along with any data received by the phone. There is also a predefined URL,
accessible by selecting "Run MACR test" from the menu so you don't have to type
in your own URL if you don't want to.

If you enter the URL that is having problems, the log file should show the
problem.
Jomuel
1/24/2005 9:15:59 AM
yes i was able to use that. no errors reported.

Jomuel
1/24/2005 9:21:10 AM
cheesewhisk
1/24/2005 10:19:12 AM
how much text is in the text file. Try reducing it and see if it works with
maybe one word. I've had a similar problem, I can't remember if that was the
message that I got but basically I reduced the amount of text it worked. Can
someone from Macromedia let us know if there is a limit to how much content can
be dynamically loaded?
Daniel Portilla
1/24/2005 2:40:33 PM
Hello Jomuel, I don't know much about FlashLite, I´m a beginner programmer
in FlashLite, but in the Flash Player 6 Macromedia had included a security
restriction about to loadvariables or loadmovies from another domains. If
you say that it works in local mode, it is posible that there is a problem
with the loadvariables from remote servers or with the URL.

The FlashLite manual says that every loadvariables or loadmovies functions
to remote files, needs to be confirmed by the user with a button click, did
you know this?

What kind of URL do you use to the loadvariables file?

Because the path in FlashLite its diferente from browsers, I've some
examples in FlashLite where the path of a file its diferent ( \ or / ) if
I use a browser or the FlashLite of the Nokia 6600.

Jomuel
1/25/2005 2:11:34 AM
Hi!

i dont think i was able to read about the loadVariables activated by user
clicks. But let me try it and get back to you.

Im also thinking the same thing with regards to security. but its weird
because when i test it on my Flash development environment, I can simulate the
values. I can read the variables well.

Can anyone from macromedia confirm what NewsGroup and I are saying about
security issues?

Thanks!
Jon Danao
1/25/2005 2:29:20 AM
hey jomuel,

am from manila too. i had exactly the same problem like yours. i used 2 phones
& 2 different carriers.

it worked when justin posted my data on his website. you can still use this
sample data just to test your loading of variables.

here it is: http://www.infinitumdesign.com/mobile/data.txt

its pretty weird. possibly restrictions on our carriers regarding certain
domains. i couldnt even finish my app for the contest. :(



Jomuel
1/25/2005 3:29:44 AM
hi jon,

I tried using that link but it seems i still cant get through. Whats your MSN messenger, wish we can discuss this in chat.

mine is jpmananquil@hotmail.com MSN messenger only.

Jon Danao
1/25/2005 3:38:49 AM
jomuel,

got only YM.
ym id: jon_danao

Daniel Portilla
1/25/2005 10:28:10 AM
Hello Jomuel, are you from Manila? Do you speak spanish? I'm spanish, and I
prefer to speak in spanish about your problem with FlashLite. If you can
speak spanish and you still have problems with the loadvariables, sendme an
email in spanish and my answer will be better than my other answers.

About the restrictions of the loadmovie and loadvariables functions you can
see it in the Macromedia Flash Lite 1.1 Authoring Guidelines (page 13)
of the Flash Lite CDK.

Bye

Jomuel
1/28/2005 2:54:13 AM
AddThis Social Bookmark Button