Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash Page Stops Dynamically Stretching After .swf Page Loaded



Hello I have a flash site that has four pages which all stretch to fit window size. As soon as I go to a gallery page that is called in via SWF, and come back, I loose my dynamic stretching of all my pages...I would like the SWF page to stretch to fit also, and its isn't... any thoughts? thanks! celticvfx



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 10-08-2007, 01:23 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Page Stretching To Fit
Boy, do I feel like a noob all over again...

Anyway, what I'm doing is loading MySQL data into Flash via PHP, and what I need to have happen is the Flash movie to behave like a normal HTML page. For example, the information is loaded in and if the information displayed is higher than the HTML allows for, I would like for this is stretch so the browser scroller shows on the side, much like you would have for many pages on these forums. Right now, the height is set at 700px but I was hoping there would be a way to adjust this so everything would just scroll.

This might be an easy and wholly obvious solution, which I think it will be, or it might be very tricky or even impossible. Can someone point me in the right direction here? I'm dumbfounded.

One Flash Swf Starts When Another On Same Page Stops
I am wondering if it is possible (and if so how) to have one flash movie on a website that plays and when it gets to the stop action it also tells another on the same web page to start. I am thinking javascript, but I don't know where to start

Thanks in advance

Page Stops Loading When Flash Starts
hey i was just wondering if anyone else has had this problem:

we have a pretty heavy animation on a page that also has alot of regular html and images. when the flash is loaded in, it stops all the other images loading, we had to give three or four blank frames at the start of the animation to stop it happening. Also it happens almost without fail in IE, but intermitently in firefox, which suggests that it's a bug in the player right?

just wondering if anyone has come accross this before....

Dynamic Stretching Page Thingy :-s
I'm trying to find a tutorial or some sample files to let me recreate the effect of the re-sizing mc in this site EVB

Any help would be appreciated.

Not too worried about the changing colour etc but just how to tween between so many different pages without having to draw all the tweens manually.

There must be a way of doing it useing actionscript in some way.

HELP !!

Flash+Javascript+Actionscript Stops IE Loading The Rest Of The Page?
Hello, thought i would repost this after some more thought...

Basically... In internet explorer, the flash script (as below) loads and it stops everything else on the page loading in internet explorer... firefox is fine, but the minute it sends this javascript code to the page IE gets stuck and doesn't bother loading the rest of the page!!

Any ideas?

Previous Message:
Hi again!

I'm stuck pulling my hair out...

Basically, we have a map, which can be seen here:
http://www.suffolk24.co.uk/ListingW...restaurant.aspx

The flash is here:
http://www.suffolk24.co.uk/ListingWP/Maps/Mapper.swf

The source is here:
http://www.suffolk24.co.uk/ListingW...per_smaller.fla

Now, in the embed source the following tags have been added:
PHP Code:




param name="sendDefault" value="False***/true"
and sendDefault="False***/true" in the embed part...







I am not responsible for that bit, but the flash file should automatically pick up on that, so i wrote this code to make it pick up whether its true:

if (sendDefault = "True") {
getURL("javascript:setDefault(' CO11_CO7_CO4_CO6_CO8_CO10_CB8_CB7_IP26_IP27_IP28_I P33_IP32_IP29_IP30_IP24_IP31_IP22_IP21_IP20_NR35_N R34_NR32_NR31_NR33_IP18_IP19_IP17_IP16_IP15_IP10_I P12_IP11_IP9_IP2_IP8_IP7_IP1_IP5_IP4_IP3_IP13_IP14 _IP6_IP23 ')");
}

this sends all these post codes to an inviisble form on the page, and selects them as appropriate, ready for the search... i put the code in the first frame of the preloader, although i've tried it in other places.

the problem is if you look at the page it's on (above) in INTERNET EXPLORER, the rest of the page is stopped from loading, and it is directly something to do with if (sendDefault = "True") { bit of the code, i tried a few other variations of it, but does anyone know what i'm doing wrong?

I also tried if (sendDefault == True) {

And that made the page load properly, but is definitely not doing anything as it searches beyond the postcodes that should be selected...

I need to get this finished ASAP! So please help me if you can! Thanks a lot guys for all your genius brain sharing

Dynamically Loaded Swf Stops Functioning When Loaded
i have 2 very simple working swfs (main.swf and loaded.swf). Problem is, when i dynamically load one into the other, it doesn't function properly anymore.

Details - the loaded.swf that gets loaded has a dynamic scroll (reading from a txt). when i test the main.swf the entire loaded.swf scrollls and not just the text.

- files attached -
help!

MC Moves, Stops, Fades And Then Web Page Changes
I hope somebody can help me out.

I have an MC that moves left and then stops. THis is the code on the MC:

Code:
onClipEvent (load) {
setProperty ("", _x, "1000");
}
onClipEvent (enterFrame) {
if (_x > "-308"){
this._x -= 5;
}


}
What I've tried to do without success is for this MC to fade out to alpha = 0 and then get URL to another web page after it stops at the x axis = 308.

Thnx in advance .

GetURL Refreshes Page And Stops MovieClip
Hi,

I have been looking on the net to find a solution for next problem, but haven't succeeded yet.

In the top of my website I use a shockwave file as my menu, the rest of the site is php-based.
It contains 5 main menu items and each of them opens up a submenu.
Next should happen when clicking on one of the main menu items.

When clicking on menu item it should
- load the new part of the page
i do this by sending a variable to the php page from the shockwave file using getURL
i.e. getURL("index.php?page=2", "_self", "POST")';

- slide out the submenu that belongs to the clicked menu item
i try to do this by using
on(release) {
with("mcSub1") {
gotoAndPlay(2);
}
}

The problem is that when you click a menu item it does load the new page, and it does start the movieclip, but because it also refreshes the page it stops the movieclip and the movieclip goes back to its start position...

Jordi

Sound Stops Playing When I Change Page
Hi!
I embedded an swf footer in an html page.
The footer contains an on/off sound button.
When I hit the button, sound starts or stops playing, that is correct.
But when I change page, surfing in the same site, a new html page containing the same footer loads.
The problem is that sound starts playing even If I choose stop.

Help please!
thanxs, Claudia

Dynamically Change The <title> Of A Page Via Flash
Not sure if this is the best place to ask but here goes:

Anyone know how I can use swfobject or something else to change the page title of my html container page depending on where a user is in the flash swf?

I realize it will mean sending a var from flash and likely firing some javascript in my html doc but beyond that I'm stumped as the page doesn't refresh.

Flash Menu - Dynamically Showing Current Page
The situation is pretty simple, yet I'm feeling like a simpleton since I can't figure it out.

I have a standard navigation menu that runs throughout a site. Each button has a simple rollover animation, taking the default state from green with blue text, to blue with white text.

How can I tell Flash what page I'm on so the current page's button is blue by default?

Cheers

Embedding SWF Into HTML Page Stops Load Movie Function
I have a FLA with numerous external SWF's loaded simply by using code like this on a button:

on (release) {
_root.pattern.loadMovie("ss304.swf");
}


This works perfect when I test the movie and when I publish the movie. However, when I embed the SWF into a HTML page, the external SWF's no longer load. All the files are in the same directory.

Any idea how to solve this?

Thanks

Can Flash Find Out The Url Of The Page It Has Been Loaded Into?
can flash find out the url of the page it has been loaded into?

eg a generated query address like ********PersonalInfo.asp?id=bob

loads the flash movie alwaysTheSame.swf

flash needs to read the url of the page it was loaded into and then trim it down to the name bob

and then load movie "photo of bob" and "info about bob"

seems a bit round and about to me, the ASP guy is trying to give me the job in Flash, I think he should do it all in ASP and leave me alone.

preferably I need someone to tell me it can't be done and i'll be happy. I just have a nasty feeling it is possible and I have some long nights ahead...

HELP When Page Is Re-loaded Flash Does Not Show Up
I need some help, please.... I've been trying to fix this for hours and have gotten nowhere. Any suggestions are greatly appreciated.

I have my navbar done in flash and if you refresh/reload the page or go to the next page, the flash is gone leaving blank white space. If you run your mouse over where it is, it appears. Also, if you delete the cache while on the page, it magically appears the second you hit OK from the Internet Options window. (This is in IE 6, firefox works normally!)

Does anyone know why this is happening?? I have never experienced this before when working with a flash file.

If you'd like to see what I mean... here's the site: timelessinvitations.com

Thank you so much!!!!
Michelle

Having Flash Find Out What Page Is Loaded.
I am not quite sure what to search for so I am posting to see and hope someone has the answer.

On a site I have a navigation bar that is on everypage and is flash. I want it to check and see what html page is loaded so it can expand the right section for the active page.

Basicly I want to know how to check what page is loaded and make it run a script to set the section to be open. I know how to do the later all I need to figure out is the checking the page thing. Thank you!

Page 2 - Loading A Movieclip That Always Stays Center Into My Flash Full Screen Page?
Tann, regarding the proportion resize, do you know if there is a way to make it so that when you drag the browser window, you are restricted to dragging it at its flash proportion. Just like if you are in photoshop, and if you decide to transform an image and I think press control or alt while you drag the corners, it will resize it proportionally.

Right now, if you drag the browser window, you can drag it any shape, and if the browser window height exceeds the flash height, it will allow you to do it, but the empty space is filled with the background colour of the html page.

Would like it, so that the window is not draggable anymore if its proport width or height has exceeded.

I hope that makes sense.

Making A Button That Allows Your Flash Page To Be The Browser Default Home Page.
Mmn, seems the original post dissapeared while i was typing , no prob, here is the code in anycase!



Ok a simple trick in IE but not in Netscape, as far as i know, its not possible to do this in Netscape. Also you shouldnt make the home page your swf file, but rather the html file with the swf in it.

First this requires an xml namespace to function, so change your top <html> tag to look like

<html XMLNS:IE>

Then create the IE:Homepage object using this, it can be placed anywhere on your page as long as it happens before the javascript.

<IE:HOMEPAGE ID="oHomePage" />


And finaly the javascript function that you will call from your flash file (using getULR('changeMyHomePage()') in flash) or from a normal link.

Code:
function changeMyHomePage() {
oHomePage.setHomePage ('http://www.womenslife.co.za/Default.asp');
}
Hope that was not to hair razing, post again if you have a question.
[Edited by threnody on 01-18-2002 at 04:50 PM]

Naming Of HTML Entry Page & Flash Intro Page?
Hey Everyone. What is the best way to name the entry non-Flash (HTML) page - the splash or index page, whatever it's called - that is the gateway to the final Flash site, which will open in a new window? When users type in the basic web URL - for example, http://www.mysite.com - I want them to come upon an entry page that states "Click here for Flash Player 6" and "Enter if you have Flash Player 6". When the user types in the basic URL should I have the entry page called http://www.mysite.com/index.htm?

One step further... How do I configure things so that when the user comes to the entry page, Flash 6 is automatically detected on both Mac & PC platforms? Detailed answers will be much appreciated, as well as links to tutorials.

peace out,
*< Scottie

Display 150 Page Text File In Page Format In Flash
What i would like to do is grab the text from a 150 page text file and display it in flash. Sure i could just open up a pdf from the file but thats not what i want to do. I want the text to be in the flash frame.

How would i go about this? I don't know anything about VB or mysql. I saved the file as an xml file could i somehow import that?

Cursor Disappears In .aspx Page When Using Flash Movie On Same Page
Dear friends,
I am facing this problem when I am using .swf file on my sites login page, there is 2 text box of User Name and password and submit button it is all are web controls, i want cursor at user name control when user comes to login page but it is not showing there but when I remove the .swf file from the login page then default cursor comes there, please help me.

Naming Of HTML Entry Page & Flash Main Page?
Hey Everyone. What is the best way to name the entry non-Flash (HTML) page - the splash or index page, whatever it's called - that is the gateway to the final Flash site, which will open in a new window? When users type in the basic web URL - for example, http://www.mysite.com - I want them to come upon an entry page that states "Click here for Flash Player 6" and "Enter if you have Flash Player 6". When the user types in the basic URL should I have the entry page called http://www.mysite.com/index.htm?

One step further... How do I configure things so that when the user comes to the entry page, Flash 6 is automatically detected. Detailed answers will be much appreciated, as well as links to tutorials.

peace out,
*< Scottie

Anyway To Have A Small Html Page Embedded Into A Larger Flash Page?
I've developed a website completely in Flash. Now, I have a space in this Flash page where I would like to have, upon a certain button click, load up an HTML page...within the Flash page itself. So, I have the layout, and all the links and all that in the Flash website. In the content area of that Flash site, I want an html page to appear after clicking a certain button, thus turning the Flash into somewhat of a border. Is there any simple way to do this?


Thanks a lot!

How To Redirect Current Page To Specific Page Using Flash 8 Actionscri
could any one tell me how i can redirect current page to a specific page using flash 8 actionscript.Thanks

Flash Starts After Html Page Has Loaded
Hi,

Does anyone know if there is a way to make the Flash movie start only after the html page has loaded. I'm using Flash MX.

Thanks

qamar

Flash To Check What Html Page Is Currently Loaded
Hi all...

I have one question for those gurus out there.

I have a flash menu which i am using on a html site. I want that menu (swf) to check what html page is current loaded, and then go to a particular frame based on the html page that is loaded.

ie. if the index.htm page is loaded goto frame 1, if the products.htm page is loaded go to frame 10.......etc.

Any ideas???

thank you in advance..

cheers

Shaun

Can Flash Load After Whole Html Page Is Loaded?
Is it possible for a flash in a plug-in to load after the rest of the page loads?

I am getting the problem that the HTML page and images on the page do not start to load until the flash is loaded.

Thanks.

Embedd A Dynamic HTML Page In A Flash Page
Hello,
Lets say If i have a list of sorted html pages on my server, can I pull on of them and display it in my FLash movie dynamically according to the user prefrence. Say, the user want to only see files with the first letter 's', then can I pull up these files and display them dynamically in the Flash movie? if so, how do i go abt doign this???any help is appreciated!!!!thanks...

Ugly Transition From Flash Page To Html Page
Hi-

I made a flash movie with soundtrack as an intro for my client. At the end of the movie I put a frame action to get URL and automatically jump to the main page of the site. The background color for the site is black, but in between the intro flash page and the main nav page, white flashes for a split second. You can see the work in progress at www.musicbymelinda.com/melindasite/.

She loves the movie, hates the jarring white flash. I tried lengthening the movie, it didn't help ... she does not want to make her viewers click on a button to enter site.

Any suggestions how to make a smooth transition? thanks. -knox

Can Flash Talking With Javascript In The Same Page Without Reload The Page?
is it possible to recieve and send parameter to a javascript without reload the page?

if it possible I have attached what I need if anyone can help.

thank you.

Flash Splash Page Redirect To Html Page
I am very new to flash and please forgive my lack of knowledge.

So here is my question... How do I get this splash page to redirect to this HTML page as soon as the flash movie stops?

Also any preloader guidance or reading material would be greatly appreciated. I have no idea where to begin with the preloader.

Thanks in advance -

Import The HTML Page Or Web Page Into Flash MovieClip
Hi,

Is there any possible to load or import the HTML page or web page (i.e, http://mail.yahoo.com) into Flash MovieClip?. If any knows the answer plz reply me immediately.

Balaji..

Flash Form -> .htacces Protected Page Page
I'm wondering if I can build a flash login form that will access an .htaccess protected area?

I have a rough draft working where I'm using this protocol:

https://username:password@myprotectedsite.com/page.php

However, on a mac, in safari, it seems a bit buggy. The form works, and via a getURL will open the protected page. However, the username and password appear plain as day in the activity window (because I'm using getURL I'm sure) - then if I logout of that protected section, then go back to my form and hit submit, it open the browswer to the page, but actually pastes the url into the url window - that can't be good! I've also read that some people can't get it to work on IE.

Any knowledge of this?
Whats the best way to do this - possible php gateway and use loadvars to pass to php when then accesses the page? if so how?

Thanks!

Load Flash Only When The Rest Of The Html Page Is Loaded?
Hello men, I have a flash sound player that autoplays (stream) a song when you enter to my site, so the flash start loading at the enter and only the flash-player is shown since the sound-player and song is loaded. Then when the song is completelly loaded, the rest of the page (html) is loaded.

I want to load and show first all the html page and then, load the player. How to do this??


Thanks a lot.

Start Flash Once Entire Html Page Is Loaded
How can I tell my flash file to either load after all the other images on my page load, or have the flash file "play" after all the other images have loaded?

Please tell me where a tutorial is or how to look up specific instructions.

Currently the flash movie starts before most of the other images load.

Thanks.

Programming 2 Flash Movies On Same Page To Play Only When Both Are Fully Loaded
I have two Flash movies on the same webpage (http://www.affinityfilms.com/WillowTreeHomepage2.html). How do I program them to only begin playing when both are fully loaded?

Right now, they only play correctly when both are already loaded in the cache.

Please Help Flash Page Linked Do Another Flash Page On Server Doesn't Work
Hey,
I'm creating a website for a client that has a component scroll on the main stage linked to a dynamic text box with some buttons that when clicked will load an external file on Layer 1 of the main timeline in Flash. When I tested it in Flash it worked, when I previewed it in Dreamweaver it worked but when I uploaded it to the server. The main swf loads but the files that are linked to the main .swf don't

On the first frame of the main time line I have the code below
loadMovieNum("movies/Thumbnail1_mc.swf",1);



On each of th buttons I have the code below
on (release) {
loadMovieNum("Movies/Thumbnail1_mc.swf", 1);
}

I have read some of the posts here but my main .swf file plays so its not the "scripts" folder in the wrong place.
and I'm pretty sure that it can't find the files due to my path to the file, but I'm not sure how to get the main .swf file to look for the Thumbnail .swf files on the server. Please help.

Thank you

Flash Menu: Can It Be Altered From Page To Page?
I really, really need some help with this. Here's what I'm trying to do:

I have a small flash movie on my home page that serves as the navigation/menu. When a user clicks on, say, the "photos" button I'd like to 1.) send them to the Photos Page (obviously), and 2.) reuse that same flash movie in the Photos Page, only have the photos button take on a different look/color and no longer be active.

IS THIS POSSIBLE? Can a single flash menu - if it's used on every page in a web site - jump to different key frames depending on which page the user is visiting in that web site?

I really hope this makes sense. Let me know if you need me to clarify anything. THANKS!

Problem With Flash Reloading From Page To Page
What can I do to make a Flash movie with an html page reload on a specific frame.

Example.

The Flash movie is navigation. When you click button "about" an image changes from "image a" to "image b" and you are sent to about.htm . Now of course the Flash movie must reload in the new page causing the image to start back at "image a" again rather than staying at "image b"

Is there a way around this?

thanks

goldpan

If I Designed A Page By Flash ,how I Make It As Web Page?
hi ..
if i design page by flash how i make it as web site? ...please told me how i be web flash designer ...i need this job quickly ..i knew designed any page by flash but how i make it web page !!!!!!!!

Simple Page By Page Flash Site HELP
Hello!
I'd like to make a simple website in Flash, such as the following:
http://www.honeyee.com/feature/2006/hp/index.html

I am a bit of a newbie and am not too familiar with the preloaders.

That page is definitely simple, the needs are simply:

1 main format for all pages.
Next and Previous buttons (or text navigation with numbers or section titles)

preloader each time one clicks to view a new page.

Can someone help me out? thanks.

Put SWF Into HTML Page But How To Also Add Flash Mp3 Player Into Same Page?
For my web-site, each seperate HTML page in dreamweaver mx2004 has a different flash SWF attached to it, but all these flash SWF scenes all have the same background in them for consistency.

The problem is my showreel page, I created a flash SWF ready for dreamweaver, but I also want to incorporate a flash mp3 player I have into the same HTML page!

Can anyone please tell me how to do this?

Thanks Jim

Keeping Flash Nav Alive Page To Page
I have built a navigation scheme in Flash which has a number of randomly generated elements moving randomly, etc. A bunch of pages of the site have been created with my flash piece stuck in as an object. The problem is that when a link is hit in flash and a new page is loaded, the flash nav will reload from starting position. Is there a way to go from page to page and keep the flash in its current state, with all the randomly generated elements not regenerating and looking weird? It's built in VS 2005.

Turn Flash Page Into An Html Page?
Hi all,

So here's my dilemma. Got this job to put together a site for a financial company with a friend of mine. We're both more into illustration more than anything else and have basic/ intermediate knowledge of flash but know very little about html..

Here is the dummy - http://uzugexe.com/tiel.html

This company really wants some flash design and were very specific with what kind of animations they want on the page. Thing is though, they're now saying that ranking in a search engine is essential. So we've tried to persuade them to ditch the flash idea completely and have an html only site...but because they really loved what we'd come up with (i personally think it's too much!) they asked if we could try and combine the two....

Any ideas on how we could use the animation as it is as a kind of intro but then have it turn into an html page automatically - without seeing too much difference when it changes? Is it possible to have the html 'under' the flash movie, then have the flash movie fade away and 'unload' to reveal the html page?

Hope this makes some kind of sense!

Any suggestions much appreciated

Pat

How To Load Either Flash Page Or Html Page?
Hi,
I am new to Flash. I have a webpage made in Flash, a page made in regular html. I want the user to be automatically directed to the html version if they don't have Flash 8 installed.
I checked out SWFObject but im really confused of what to do. This has been done so many times, there must be an "easy" way to do it. It is javascript code, right? Where do i add the extra code?
Any help would be great!
Thanks,
Dave

Will Swf Loaded Into One Html Page Be Cached For Another Html Page
Trying to decide how best to structure a flash website and would like to know if loaded swf elements are cached.

Basically I was going to structure the site into 5 separate sections each a separate flash file on a separate html page.

i.e

Homepage.html (this holds homepage.swf)
Services.html (this holds services.swf)
Portfolio.html (this holds portfolio.swf)
ComingSoon.html (this holds comingsoon.swf)
Contact.html (this holds contact.swf)

Each of these main flash files will share certain elements such as the navigation buttons, the main interface etc.

My question is, once a shared swf element has been loaded into homepage.html, is this shared element then in the browsers cache and does not require to be downloaded again when the user navigates to say services.html?

The main reason I am structuring it this way is to allow bookmarking of each of the main sections and also to keep the initial download file size down rather than have to download all 5 sections as one movie.

Thanks

Paul

Flash File Gets A White Border On Page Loaded And Link Changes To Hyperlink
Hi,
Flash File Gets a White Border on Page loaded and the mouse pointer changes to hyperlink Pls Help Its caused only in a System which has Win XP or higher version U can view the Bug at " www.prosystems.in"

Regards,
Francis

Splash Page To Flash Page Help
Ok... anyone know a good way to make the url stay the same when i go from one web page to another. In other words, I have splash intro page and then i want it to go into the flash page with out the URL changing.

Any help would be appreciated.

Thanks

How Relink A Flash Page To Other Page?
I created a flash page to use like my intro or index.html- in my site. How can I relink this page to my home.html??
I hope you can help me?

Opening New Page BUT That Page Loads In Behind The Page You Are On.
Is it possible to load a web page from an action script (just like when you click on a button to open a new page)

Basically I want to create a Flash banner and somewhere along the "movie" have it launch MY web page and have it load in the background, behind the browser that holds the banner.

BTW - I have the permission by the person who will host my banner.

I just have to make it work.

Can this be done???

And how????

Thanks in advance!

Copyright © 2005-08 www.BigResource.com, All rights reserved