-
Senior Member
hmmm that is odd. Not too sure what could be causing that. I try seeing if I have an MX version of Flash and see if that happens at my end.
Wile E. Coyote - "Clear as mud?"
-
Senior Member
OK, was able to install mx 2004 and had a look at your file and for the life of me couldn't figure it out. I even tried doing a bare bones loadMovie(); with your images folder and nothing seemed to work. Then I tried substituting your images for mine and it worked. So for some reason the error actually resides in your jpg's. You may want to try resaving them. Once I did, they actually began to load. That at least solves one of your issues.
Wile E. Coyote - "Clear as mud?"
-
Hi thanks.
Got it working...sort of.
The images appear now.
But i want to add the code to help it scale fullscreen.
Not sure where to insert it.
Code:
Stage.align = "TL";
Stage.scaleMode = "noScale";
MyImagesHolderHeight = new Object ();
MyImagesHolderHeight = MyImagesHolder._height / MyImagesHolder._width;
MyImagesHolderWidth = new Object ();
MyImagesHolderWidth = MyImagesHolder._width / MyImagesHolder._height;
if ((Stage.height / Stage.width) < MyImagesHolderHeight) {
MyImagesHolder._width = Stage.width;
MyImagesHolder._height = MyImagesHolderHeight * MyImagesHolder._width;
} else {
MyImagesHolder._height = Stage.height;
MyImagesHolder._width = MyImagesHolderWidth * MyImagesHolder._height;
};
MyImagesHolder._x = Stage.width / 2;
MyImagesHolder._y = Stage.height / 2;
sizeListener = new Object();
sizeListener.onResize = function() {
if ((Stage.height / Stage.width) < MyImagesHolderHeight) {
MyImagesHolder._width = Stage.width;
MyImagesHolder._height = MyImagesHolderHeight * MyImagesHolder._width;
} else {
MyImagesHolder._height = Stage.height;
MyImagesHolder._width = MyImagesHolderWidth * MyImagesHolder._height;
};
MyImagesHolder._x = Stage.width / 2;
MyImagesHolder._y = Stage.height / 2;
}
Stage.addListener(sizeListener);
I tried it in the MyImagesHolder mc
Last edited by brisa_main; 09-08-2008 at 01:09 PM.
-
Senior Member
Try on the main timeline see what kind of results that gives you.
Wile E. Coyote - "Clear as mud?"
-
tried that, doesnt work quite right. i tried it in the first frame of actionscript layer and it scales but not within the window or in the right position
-
this is proving difficult.
can you point me towards any more tutorials.
all i want is:
*full screen scaling image (code works)
* just simple next prev buttons
* preloader in between images
*ideally a fade between images
proving impossible
-
Senior Member
It's not impossible, I'm thinking part of the problem is trying to piece together different parts of code from different sources that do specific tasks, just may not happen to work well together. If I have time I'll try looking at it again to see what I can come up with.
Here are some links for full screen.
Here's a good one, http://julian.empiregn.com/2007/2/22...ies-with-Flash and another http://www.tutorio.com/tutorial/liquid-flash-layout and http://www.retrothinking.com/archive...ge=guides&n=41
Mind you I haven't read either one, just briefly looked them over. HTH.
Last edited by Robb@exo; 09-08-2008 at 05:25 PM.
Wile E. Coyote - "Clear as mud?"
-
yeh all the elements by themselves are so simple.
Im just struggling to get them all working
Reckon you could knock something up?
-
Senior Member
Still working on a suitable fade out but the rest is working. Have a look.
http://www.mediafire.com/?sharekey=d...07dab5d09a5f8f
Wile E. Coyote - "Clear as mud?"
-
Hi Robb
Thanks.
Although i can't open it in mx again..
I have been looking at this:
http://www.tutorio.com/tutorial/liquid-flash-layout
Reckon that would help the scaling part?
-
Senior Member
Last edited by Robb@exo; 07-31-2009 at 08:15 AM.
Wile E. Coyote - "Clear as mud?"
-
Thanks Robb.
Love the fade on those!
Would i be able to make so the prev/next is layed over the image?
Also the full screen scaling?
Thanks
-
Senior Member
Did you preview the html file? Try doing that and use the full screen button and let me know if that's what you were after. And yes the buttons can be displayed overlaying the image.
Wile E. Coyote - "Clear as mud?"
-
Ideally I'd want it without the full screen button. So its full screen all the time.
Im having problems getting it working aswell.
Getting and Ac run activecontent error
-
Senior Member
Last edited by Robb@exo; 07-31-2009 at 08:15 AM.
Wile E. Coyote - "Clear as mud?"
-
Wow that looks ace in flash.
However when I preview it in dreamweaver from the html file it doesn't go full screen. Just appears about the size of a default stage.
Ive tried 100% width and height with no joy.
Hmmm
Thanks!
-
Senior Member
If you want your html page to automatically configure to full screen dependent upon on the users screen requirements then you can achieve that via javascript.
Wile E. Coyote - "Clear as mud?"
-
Yeh I've looked into that briefly with no joy.
Without javascript the one i tried looks like this:
http://i27.photobucket.com/albums/c197/rab_1972/web.jpg
And your one like this:
http://i27.photobucket.com/albums/c1..._1972/web2.jpg
-
Hi
Got it scaling to fullscreen now!
So thats all fine.
Just finding it difficult to get the prev/next to stay fixed....
Also how do i change them so i can have a plus and minus symbols instead.
Or maybe use two small arrow jpegs?
Many Thanks
-
Senior Member
Just replace the dynamic text field in the mc with your graphic.
Wile E. Coyote - "Clear as mud?"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|