|
|
#1 (permalink) |
|
Junior Member
Join Date: Dec 2008
Posts: 2
|
Heya Guys!
Great work you did there but still there are two questions remaining here... 1. Is it possible to load external swfs via the Thumbs? 2. Is it possible to make the "scr" always to adjust itself to the Stage.width? I tried just by "scr.width = Stage.width" but unfortunatelly it does also resize the Thumbs... What I actually want to do is a gallery that loads the picture you click on right in the background as the backgroundpicture... I hope someone can help. And btw... its really urgent! It should have been finished yesterday ![]() Great regards Igor |
|
|
|
|
|
#3 (permalink) |
|
Junior Member
Join Date: Jan 2009
Location: Seriously under a bridge. Throw chocolate and I'll let you pass.
Posts: 2
|
"2. Is it possible to make the "scr" always to adjust itself to the Stage.width?
I tried just by "scr.width = Stage.width" but unfortunatelly it does also resize the Thumbs..." Don't change the width of scr. Change the width of a. //stretch the mask to the width of the stage scr.a._x = 0; scr.a._y = 0; //listening for event myListenerload = new Object (); myListenerload.onResize = function () { scr.a._width = Stage.width; scr.a._y = 0; } Stage.addListener (myListenerload); myListenerload.onResize (); I know question number one is answered on the forum cuz I found it once. Now I'm looking again cuz my long term memory sucks. Hope this helps. the troll ![]() |
|
|
|
|
|
#4 (permalink) |
|
Junior Member
Join Date: Jan 2009
Location: Seriously under a bridge. Throw chocolate and I'll let you pass.
Posts: 2
|
// set click handler function
function clickHandler(dat, lbl) { // handler function receives "data" as string and "label" as string mcHolder.loadMovie(dat); mcHolder is an empty movie clip on my stage that I want all my pretty swf files to appear in. In my data.xml file I put in the path to my pretty swfs. Note how I'm so sure they are pretty. Hope this helps. Oh and Happy New Year. Mine will be spent in front of this blasted computer. I wonder if it's okay to drink and code????? Troll suspect all things that a troll might find pretty. ![]() |
|
|
|
|
|
#5 (permalink) | |
|
Junior Member
Join Date: Feb 2009
Posts: 9
|
Quote:
function clickHandler(dat, lbl) { // handler function receives "data" as string and "label" as string mcHolder.loadMovie(dat); For those that don't know it's in the fla file line 56 of the AS code. Now I don't know if this is right, please correct me if I wrong...but I then updated the data.xml file to read <item image="thumbs/11.jpg" label="Old tree from my aunt's backyard" data="11.swf" /> It works for me, but might not be the correct way to do it. |
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 05:28 AM.











Linear Mode
