Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you load a movie with a fixed pixel size? 1

Status
Not open for further replies.
Jul 13, 2001
180
US
I have a background movie where I load an image in. When the browser is stretched , or more important when the resolution is changed, the loaded movie changes size along with everything else. Is there a way to keep the loaded movie at an absolute size , regardless whether the parent movie is resized?

Thanks in advance.
 
Oldnewbie, I am or lately have been challenged, hasn't been easy at the coral as of late and my brain is fried.

" simply playing with javascript and the visibility of that higher division in which the second movie is embedded. "

especially higher division. Too vague for me at least. And I swear to the good Lord I read that over several times and I am adding up 0's. Anyhow TMI.

Thank you just the same.

P.S. I assure ytou that I was not looking or expecting for a handout when I asked for the fla. From downloading from Flashkit and opening them and looking at the logic is how I learn.
 
Just e-mail me an address (hit my handle for my e-mails) to which I can e-mail you the .flas.
But as I said, those won't really be of any further help, as they don't contain anything used to make all of this work.
Everything is in the html (which you can easily see the source from my link), and that's what you should be studying.

If you want to email me both of your .flas (zip them up), I can better try to set it up for ya!
That's really the best I could do!

Going to hit the sack... Catch you in the morning!

Regards,

cubalibre2.gif
 
Did! Got it! But quite busy this afternoon... Will look into it tonight.
One question though!

I guess you would have something more in this main movie (outside of the logo), right? If not what's the point in making it scalable?

Regards,

cubalibre2.gif
 
It works in Opera 7.2. (Well, mostly. It doesn't react when you resize the height, only when you resize the width. But it basically works.)

The important part of oldnewbie's html is:
Code:
<div id=&quot;anim&quot; style=&quot;position:absolute; width:300px;
height:300px; z-index:1; left: 800px; top:320px; visibility:visible;&quot;>
...
</div>

That should surround the object you don't want resized. Absolute positioned elements are displayed overtop of most elements. That's what he's talking about when he says 'higher division.'
 
Thanks again!

Oldnewbie, yes you surmise correctly.
When a user click on the logo the background movie loads a nother movie of a split door opening. :)

Gratitude to the nth power.

Manny
 
Unless there's something I don't understand, my guess is that this will not yield the results you seem to be expected. The logo movie will be embedded on a higher division in the same html than the main movie. Granted the logo won't be scaled if the user resizes the browser window, but I fail to see the whole point in this.
That said I will try to set it up tonight.

Regards,

cubalibre2.gif
 
But this is one .swf... Not one .swf loaded in another.

Regards,

cubalibre2.gif
 
But loading one .swf inside another isn't the fun part. I already know that's possible.
;)
 
But the fun part is that the loaded movie not scale when the other main movie does!

Regards,

cubalibre2.gif
 
It's not working for you? Which browser are you using?

Or are you just disparaging the delay?
 
So the picture is a loaded .swf into another main .swf?

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top