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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading a movie

Status
Not open for further replies.

thecynicality

Technical User
Dec 29, 2004
48
US
Ok once again, i am a real newb at flash.

Problem: i have a button with the loadmovie command, how is it i can make the move load in a window that is closeable, when i do it on level 1 it loads it in the window, but i can't close it, on Level 0 it closes the current window to open, any suggestions?
 
Hmm, when i try that it still loads it in the same window, and when i press the button again it closes for a split second then opens again. Is there a way i can get the movie to come up in a new window with a Menu bar and a close/minimize/maximize option? Thanks in advance.
 
Also, is there a way to float an object, like have a small control panel that is not attatched to the movie, and will stay in one place while scrolling around?
 
Oh! You want to open a new browser window with another .swf embedded into it?

Then use a getURL...

on(release){
getURL(" "_blank");
}

Your movie would be embedded in the your_movie.html.

If you want to open a popup at the same size as the .swf, and with only some window features (no address bar, no tool bar, no scrollbars... etc...), check this...


Regards. Affiliate Program - Web Hosting - Web Design
 
Ok the problem im having with the getURL, is that is loads the movie with no respect to the size. It's sized to the whole window, is there a way i can get the window to resize?

With the popup, it is blocked by pop-up blockers, is there anyway around that?
 
Well you could have javascript coding within the html loaded in the new window that would resize the window to whatever dimensions and maybe set it's position, but that's about all... You couldn't modify the window's other features. And the resizing may not be instantaneous at least on the first window opened.


Regards. Affiliate Program - Web Hosting - Web Design
 
I am so frustrated and fed up with this, i just want it done, it doean't seem like it should be that hard, but for some reason it is.

I tried html like:
<script type="text/javascript">
function winOpen(){
var myLeft=(screen.width-360)/2;
var myRight=(screen.height-390)/2;
window.open('}
</script>

But i kep getting errors, and nothing is working for me.
 
Ok i think i might have the problem, how do i embed a swf movie into an html page?
 
I don't want a popup, but i got the video to embed in html, and when i do getURL it doesn't spread out to the whole page anymore, now i just have to figure out how to the the window the right size. Does anyone know what script commands to use, and where to put them?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top