Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

integrating TFU in my own as2 flash site.
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=2529
Page 2 of 2

Author:  keng_one [ 22. Apr 2010, 21:01 ]
Post subject: 

sorry michael, I've read the How to, and setted Up all paramenters as it Say...


in anyway I don't achieve having TFU loaded in the movieclip without let it replacing my entire site, TFU in anyway replace my site swf altought I load the flash in a movieclip of 650X340.

any soggestion?


another problem is that I don't know where modify the 'base' parameter at the flash,

I couldn't find this "?base" string I had only found this string:

Code:
if(_root.tfu_path.length > 0){ a += "&base=" + _root.tfu_path;}


have I to modify it like this? :

Code:
if(_root.tfu_path.length > 0){ a += "&base=tfu/" + _root.tfu_path;}

where "tfu/" is tha path for all tfu files.


in the How to, at this point I read:

To find the xml language files you have to set the 'base' parameter at the flash. This is needed here because language files are loaded before the config is even loaded. - in this example you would have to add ?base=plugins/tfu/.

where have I to add/modify this string?

tnks in advance.

Author:  TinyWebGallery [ 22. Apr 2010, 23:08 ]
Post subject: 

the preloader is only an example - of course you have to load it into one of your panels. The preloader loads into the main stage which if you use the same code would replace your whole flash.

The preloader code simply passes the values from outside. But you should know the difference between ? and & in an url...
If you still don't get along use the loader component - there it is really simple.

- Michael

Author:  keng_one [ 23. Apr 2010, 11:20 ]
Post subject: 

I solved all problems except one:

I know difference between "?" and "&" in an URL, but I steel don't know were I've to change / add this parameter in the example code you were send me.

I've modified the code to let it load TFU at desired dimension but if I search for the "base" parameter I can't find it in you example code, and in the How to is not so clear. the only "?" that I can find in you Example code is about the language: var a:String = "?lang=";

sorry for these tedious replies,

tnks man,

keng~

Author:  TinyWebGallery [ 23. Apr 2010, 11:35 ]
Post subject: 

I don't know how you load the swf.

but if you use loadMovie:
http://www.sitepoint.com/forums/showthread.php?t=455509

- Michael

Author:  keng_one [ 23. Apr 2010, 19:49 ]
Post subject: 

I load it with loadmovie, it works great, I achieved to animate and interact with the movieclip container,

but I don't know how to pass the Get and Post parameters to the tfu_210.swf,

the How to is not so clear at the lang parameter point, I've read all replies to the link post you attached here, but I can get in touch with it for my purposes,

I don't want to waste your time anymore, I only need to know how to set parameters but at the end of time, is not your problem...

tnks anyway.

bests,

keng~

Author:  TinyWebGallery [ 23. Apr 2010, 21:45 ]
Post subject: 

I think in the thread they explain this. Variables in the container are automatically available in the movie.

I only tested with the loader component (because then the main flash is smaller) and there you can simply pass all parameters you like.

- Michael

Page 2 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/