Multiple Swf's In Html
I have waited to long to learn to do this...
Can someone point me to the best tutorials or threads discussing how to place multiple swfs in html so that they can be viewed as one movie? (example - 2advanced.com's center content)
Can I achieve this and still place my swf's in a table to be centered in the browser window?
Please respond quickly, If you think you have time to provide assistance...email me directly at rich@rkdesignstudio.com, otherwise just post here.
FlashKit > Flash Help > Flash General Help
Posted on: 07-12-2003, 06:26 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
One HTML Or Multiple?
Is it best to:
1) have separate HTML pages with a separate swf in each?
2) or have one HTML with one swf that contains all of the pages (and thus has to preload)?
3) One HTML page that loads the appropriate swf as it is needed?
Hope this makes sense, I am not new at flash but new at flash web design. (not claiming to be a flash expert though)
Multiple URLs To One .swf/HTML
I need to be able to have multiple URLs assigned to one .swf/HTML. Then back out to different sets of .asp scripts. Having each URL assigned to a specific set of .asp scripts. I hope this makes sense. I would appreciate any help even to let me know its not realistic.
Thanks
J-
Same SWF Across Multiple Html, Asp Pages
Hi there,
I need some help to finish off my website. I am using a 'logbar' to the right hand side of my website which I would like to load once throughout the whole website. As a start i have put it into each page. The tricky bit is I need to retain the frame number from the previous page. Say this 'logbar' moves to frame 20 I want the next html/asp page to have the logbar at frame 20. Im expecting this should be a common problem and I believe possibly JavaScript will do it. My knowledge of code is a bit bare but im picking bits up on the way.
Hope someone can help me! regards
Jethro
Multiple Instances In An HTML Page
I've got a slider-type object built in Flash 4. It accepts values from the database via ColdFusion and sends the value back to a text box in the HTML page.
The problem I'm having is that I need to have 10 sliders per page and they all need to pass a unique value to a unique variable or text field.
I need to know how to get the flash file to send it's value to the specific text field dynamically without creating 10 unique files per page.
Right now, if I add multiple sliders to the page, they all change the value in the first text field.
Thanks for any help!
One Movie; Multiple Html Pages
Hello people
I want to make a movie that behaves differently depending on which html page it is being viewed in. Is there any way I can return the URL of the page my movie is embedded in? Maybe using a bit of javascript?
Please respond even if it is only to say you don't think it is possible
Thanks v much
Mark
MX HTML & ASP To Load Multiple Movies
Hey all, could use some help here. How do you load the same movie into an html page more than once??? Example:
Code:
set some session vars using ASP
show flash movie
change session vars using asp
load next flash movie
I think the problem here might be that the asp is not waiting for flash to load before it continues. So the same session variables are being used in both cases....any ideas???? Can you have two instances of the same movie in one page both using loadVars and both receiving different variables???
Thanks in advance for any insight.
Multiple Images/one Row In Html In MX 2004
Is it possible to have multiple images on one row inside the html textfield?
For example, when trying html like
text_txt.htmlText = "<body>start <img src='a.jpg'/><img src='b.jpg'/> end</body>", I'm getting only one image visible. Seems that they are all stacked on top of each other, since inserting some <br/> between img tags shifts images a bit.
Thanks,
Sergey.
Multiple Images In HTML TextField
Hey all, I'm having problems embedding multiple JPEG images in an HTML TextField. Everything seems to work great when its 1 image, but when it's 2 (or in my case, 5) it seems to behave strangely. When there are 2 images, it only displays the first...anything more than 2 images, it won't display any of them at all. I made up a test case here:
http://128.177.1.18/test/test.zip
Download and run the FLA. The source it is loading the exact source I'm dealing with in my real website. Maybe one of you can figure out why only some of my images are loading...I've tried a lot. Thanks for the help in advance.
MR
How To Publish Multiple Movies In Html
Hi
I have multiple flash movies and I want to publish them on the html page. I just know how to publish one movie from the flash publish options in the file menu. Can someone guide me how I can publish many of them on the same page( those movies pass values between each other)
HTML Navigation With Multiple Swf File
I am trying to set up a HTML web page and embed a swf in that page. I have four swf, I need to access the swf whem I click on the navigation (html LINK)
I have created four link on the html page.
Do I have to create four html pages, Or is it possible to access different swf in one html page.
Note: clicking the html link, the swf should play on the same position of the html page.
Can anyone help or tell me the web site to get source code or tutorial, please help
thanks
Multiple Paragraphs And HTML Text In AS3.0
Hi everyone,
'Tis my first post here on Kirupa. I've been coding in Flash since Flash 4's pre-ActionScript language, and whilst I pretty much had AS1.0 down pat and half-paid attention to AS2.0 where possible, AS3.0 is giving me a good chance to relearn a lot of stuff. Naturally, I'm running into problems.
At the moment, I'm battling with Text Fields, specifically with multiline paragraphed HTML text that is dynamically created. In my example, I create one TextField programmatically, and I have a second which I have placed, sized and named manually.
Here is my code:
Code:
import flash.text.TextField;
function testTextField ()
{
var myTextField:TextField = new TextField();
myTextField.htmlText = "<p><b>Paragraph 1</b></p><p>Paragraph 2</p>";
myTextField.autoSize = TextFieldAutoSize.LEFT;
myTextField.multiline = true;
stage.addChild(myTextField);
}
testTextField();
placedBox.htmlText = "<p>Paragraph 1</p><p>Paragraph 2</p>";
Unless I add in line breaks (
) into the htmlText between the p tags, Flash will not break lines as expected. However, the htmlText for the placed text box works properly.
Am I missing something?
Cheers,
Mike
HTML Navigation With Multiple Swf File
I am trying to set up a HTML web page and embed a swf in that page. I have four swf, I need to access the swf whem I click on the navigation (html LINK)
I have created four link on the html page.
Do I have to create four html pages, Or is it possible to access different swf in one html page.
Note: clicking the html link, the swf should play on the same position of the html page.
Can anyone help or tell me the web site to get source code or tutorial, please help
thanks
Controlling Multiple Swf's Using Html Text
I've created several small swf files that I would like to be controlled with html text links on a page. text links are on the left and the swf would load onthe right once the appropriate text link was clicked. What do I need to do to make this happen. I'm sure I'll need to put some actions on each swf but not sure what. Many thanks in advance for helping me out.
I tried to find this question on the forum with no luck - so please forgive me if it's already been answered.
Multiple Flash On One HTML Page Bad?
Hi guys,
there's a site a friend is working on that has 7 Flash movies on the one HTML page.
Each .swf loads in the same sub-swf sound file (Flash Vars are used to have the sound file start from different points in each main.swf).
However, in IE on the PC over a 56k modem, the download speed is really poor, and that separate sub-swf seemingly isn't cached after the first .swf loads it (it looks like each .swf is calling the same sub-swf from the server or something). However, reloading the page makes everything appear and work instantly.
Can anyone think what's wrong? Is it bad practice to have so many Flash movies on the one HTML page (i.e. does the amount of different Flash movies cause real stain)?
Multiple Mp3 Players On Html Page
is there a tutorial out there or does anyone know how to have a swf on an html page tell all the other swfs on that page to stop all sounds? i need to create a page exactly like this one works:
elevator53
each sample is a flash swf on the html page, but when you click "play" on a different sample the swf that is currently playing stops and the new one starts.
i have soundplayerpro from flashloaded but haven't figured out a way to make it accomplish this. thanks for any help
Multiple Spaces* In A Dynamic HTML-Textfield
How do I display multiple SPACE Characters in a dynamic HTML-Textfield?
I want to dynamically load navigational Data into a dynamic Textfield. I will use asfunction to call an Actionscript (MyFunc) from the Hyperlinks.
Examples:
----------Example----------
-----ActionScript-----
1 newsMenu = new Array("News", "Info", "About");
2 menu = "Menu<br>";
3 for (counter=0; counter<newsMenu.length; counter++) {
4 menu += "<A HREF="asfunction:MyFunc,"+newsMenu[counter]+"">";
5 menu += newsMenu[counter];
6 menu += "</A>";
7 menu += " ";
8 }
----Textfield with the Variable "menu"-----
Menu
NewsInfoAbout
--------------------
Line seven adds three spaces, but it doesn't display them. If i use *, it displays small grey boxes.
Hope you understand what i'm asking. I appreciate your help.
Preloading Multiple Swfs In An HTML Page?
Hey peeps,
I have an html file with a swf embedded in the page. I have a cookie set so that when a user first goes to the page one movie plays, and when they return another plays.
What I want to know is this...
How can I use javascript to load both swf files before the page itself is displayed, therefore avoiding any playback problems and not having to create a preloader script in the flash movie itself. (The files themselves are quite small, and short, so any delay in playback would be quite obvious.)
Any takers?
Thanks,
Fitz
Multiple HTML Links From External Text
I need to load in a single text file with a list of href's to a text field.
The text loads in fine, but any html between links is ignored.
My text file is like this:
vcontent=LINKS
If you would like your site listed, drop us a line at candali@candali.com
< a href = "http://www.mains.com" >Music Industry of Nova Scotia< /a>
< a href = "http://www.candali.com" >Candali< /a>
It comes out like this:
If you would like your site listed, drop us a line at candali@candali.com
Music Industry of Nova ScotiaCandali
What do you think?
Flash & Html Sites In Multiple Languages
Getting ready to develop a site for a client who wants a flash version and an HTML version which will both be delivered in 2-4 languages.
I'm using flash MX 2004 Pro, and am trying to figure out the easiest/best way to set everything up, unicode, xml, includes, etc...
Ideally, I want everything to come from the same source, since the client wants to be able to update content monthly (and they'll deal with translating the new content).
And the kicker, they'd like to be able to update and add new photos...on both versions...
Has anyone done a project like this, or does anyone have any ideas on how to make this go smoothly??
TIA!!!
Rendering Problems HTML Page With Multiple SWF's
Hello reader,
I'm building a website in HTML, with a Flash menu and several buttons and headers on the content pages.
The buttons and headers on the content pages are all the same two Flash movies. I'm using /path/moviename.swf?text=blabla to send the correct text into each instance of a button/header movie.
So far so good!
When I scroll a content page that holds multiple movies in IE6, it renders very slooooooow. That means the movies aren't as moving as fast as the HTML content.
The strange thing here is when I use my scroll wheel it renders just nice! So only when using the standard scrollbar it renders 'ugly'.
When I test the same page in Mozilla it renders fine. It doesn't matter if I use my wheel or the scrollbars... it just renders fine!
Without starting a IE v.s. Mozilla discussion here, does anyone know what's going one?
Is there a workaround or something for IE?
Am I doing something wrong here?
Or is it just the difference between the ActiveX control in IE and the plugin structure of Mozilla?
Regards,
Maik
PS: A for everyone who got a nice solution
Passing MULTIPLE Parameters From HTML To Flash
Hi Folks
I want to have my HTML page (with my Flash ) to pass multiple(!) parameters to the flash. I know how to pass one parameter using the ...movie.swf?var1=blabla...
So is there a way to define var2 var3 and to simply acces them from inside my programm. I thought of maybe movie.swf?var1=blabla?var2=bla?var3... but that doesn't work.
I know that i could read the hole string and then slice and cut it so that i have my multiple variables... but this is not comfortable, especially for the user...
thanks in foreward
-i
Multiple Components And HTML Template Settings
Is it possible to use more than one component when publishing HTML.
Both components say to use their template in the HTML settings. Is it possible to do that for both?
What should I do if I use more than one component?
Thank you,
TBC
Preloading .swfs For Multiple Html Pages
Hello,
I want to take an existing site that is one .swf with scenes and break it into multiple html pages with embedded .swfs.
Is there a way to preload all .swfs at the time the home page loads so that page transitions will be smooth if not seamless?
I have used flash to build single file .swf sites but this is over my head. Any help greatly appreciated.
Best,
Ross
Playing Multiple FLVs In A Html Page
I'm making an html page in which I want to play FLV files. There will be a bunch of buttons -- "Episode 1", "Episode 2", "Episode 3".....all the way upto 9 on the page.
When a user clicks on a button, I want the appropriate FLV to play in a certain 480x270 space within the page.
how do i code for that? I know this is more of an html question, but I thought that it would relate
SP
Context Menu And Multiple (html) Frames...
When I use multiple frames in the html holding my application (to enable the back button) my context menus die.
When I run that .swf directly, outside of the html, it does not block my custom context menus, but of course the backbutton workaround forces a pop-up.
Has anybody run into this problem? I'm only concerned with ie6 and ie7 on PC's (if that becomes an issue).
Loading Multiple Swfs Into One Html...help Senoc
hey all,
senocular gave me a GREAT answer to this question i had of how to load multiple jps into one html page as a popup window...now i want to load multiple swfs with quicktimes imbeded into one html page...i tryed using the same method but it doesnt give me the swfs, rather just a blank window....what change do i have to make in the code or html page....
here is the thread with the original question:
http://kirupaforum.com/showthread.php?threadid=13881
here is the answer from SENOCULAR
http://www.umbc.edu/interactive/fla/openImage.zip
thanks senoc for all the help and any more would be greatly appreciated as usual
thanks to all
peace
Pith
Flash Menu Across Multiple HTML Pages
I'd like to create a Flash menu with sections that open and close to reveal or hide subsections when the user clicks on them. So far, that's easy enough.
The tricky part, though, is that I'd like to use the menu in a hybrid Flash-HTML site, and have the menu "remember" which sections are closed and which are open across multiple pages.
In other words, if the user clicks on section1 in Flash menu on page1, I'd like that section1 to be already open on page2.
I know it would easy placing the Flash menu in a HTML frame, but I don't want to use frames.
Any idea, suggestion, or example from all the Flash gurus out there would be immensely appreciated.
Using Multiple Html Links In A Dynamic Textbox
I cannot get the 2nd html link to show up when I publish my movie with this code of html in notepad:
&textfield=
<FONT FACE="Arial" SIZE="11" COLOR="#CFB685"><u><a href='http://www.yahoo.com' TARGET='blank'>Yahoo</a></u></FONT>
<P></P>
<FONT FACE="Arial" SIZE="11" COLOR="#CFB685"><u><a href='http://www.google.com' TARGET='blank'>Google</a></u></FONT>
http://www.prismaartist.com
CreateTextField, Multiple EmbedFonts & HTML Tags?
I was wondering if it's possible to use mc.createTextField and embed multiple fonts to it. I have created the font symbols in the library, and have gotten a single font to work in the text field that is created. I have also successfully gotten two fonts to work in the created text field if I use "contentClip.text_txt.setTextFormat(12, 17, boldFormat);" kind of a format...
I would like to just keep things simpler though and be able to use HTML tags to switch between a "normal" font and a "bold" font... Can anyone help???
The following is the code I am using currently:
Code:
registered = "u00ae";
tm = "u00A3";
// -------------------------------------------------
contentClip.createTextField("text_txt",0, 0, 0, 300, 200);
contentClip.text_txt.embedFonts = true;
copyFormat = new TextFormat();
copyFormat.font = "Russell";
copyFormat.size = 20;
boldFormat = new TextFormat();
boldFormat.font = "Russell Bold";
boldFormat.bold = true;
boldFormat.size = 20;
contentClip.text_txt.html = true;
contentClip.text_txt.htmlText = '<b>trade</b>mark';
contentClip.text_txt.htmlText = '<font color="#999999">registered'+registered+'<br><b>trade</b><font color="#990000">mark</font>'+tm+'</font>';
contentClip.text_txt.setTextFormat(copyFormat);
contentClip.text_txt.setTextFormat(12, 17, boldFormat);
any help is appreciated.
thank you!
nw
Multiple Text Variables In Stored In HTML File?
Hello,
I'd like to be able to call two text variables found in my html if possible. I know how to call one by using the following:
<PARAM NAME=movie VALUE="texttest1.swf?variabletext1=Whatever I want to go here">
I've tried but I can't figure out how to include another variable to store another piece of text in. Any help would be much appreciated.
[Edited by Pampasano on 01-01-2002 at 04:03 PM]
Flash MX / Multiple Playable, Linking ,swf's In One Html Document
Basically, I am trying to try something very interactive. I'm trying to have 2-5 differint flash movies in one webpage. And with in one of those navigation flash movies, be able to change another flash movie using the main navigation one. So somehow I need to define a target and then telltarget to change swf.
J.J. Mancini
(Any help would be awesome!... Keep in mind I am not trying to load multiple flash movies inside the same swf...)
to see non working example... clickhere... http://www.mabh.org/main.htm you can see the multiple flash movies, and a timeline on the bottom needs to control all of the other movies.
Multiple Instances Of Swf On Html Page Download Each Instance?
Hi
From my testing it seems that if I have a small swf that I want to add multiple instances of on my html page, it downloads the swf again for every instance. Is there a way to make it use the first instance again and only download it once??
This is what happens with a jpg or gif as far as I understand it, no.
Is it neccessary to use javascript ? If so can someone help?
Thanks in advance
Dan V
Can Java Force 1 Swf Multiple Times In Html Page?
Hi
Im still trying to make 1 swf appear multiple times on an html page without downloading more than once.
(try it with a big swf and you'll see that each instact downloads separately).
Surely this must be possible using java?
I know you can control the order in which graphics will be called from the server using java.
Can anyone help or must I find a good java forum?
(anyone know of one?)
Thanks in advance
Dan V
Multiple Swf Files Pausing & Activating On 1 HTML Page?
OK, this may be routine or impossible - I'm clueless which it is, but here goes.
I've already developed a temporary string of 4 pages designed to look like one page.
http://www.visualmarketingresources...nialSamples.htm
What I'm wondering is -- if instead of using 4 web pages to do this, can I use 1 page.
Can multiple swf files all download and then pause a second or two after the start so an image is see in a HTML table cell? With a command button "Click here to play", can paused swf files then be activated to play by the page viewer?
Ideally, I'd like to enable the page viewer to be able to click on other swf demo testimonials - to jump back and forth.
If another swf file is clicked while one is already running, the file running would need to pause and go back into a clickable state at the point where it paused.
In effect, only one sample testimonial swf file could be playing at a time, but all swf files remain clickable Again, can this all be done on one page?
I'm a novice at all this so maybe this is too difficult to try?
Thank you - even to those who tell me I'm nuts to think this can be done. GW
Btns Not Working On HTML Page With Multiple SWFs
I currently have a php/html page set up with two different swfs, both with buttons that point to entirely different URLs. However I can't get the top nav bar to go anywhere.
Here is the link - http://www.directeditdenver.com/max/index.php
Here is my flash code -
ActionScript Code:
orderBtn.onRollOver = function () {
this.gotoAndPlay("Over");
};
orderBtn.onRollOut = function () {
this.gotoAndPlay("Out");
};
servicesBtn.onRollOver = function () {
this.gotoAndPlay("Over");
};
servicesBtn.onRollOut = function () {
this.gotoAndPlay("Out");
};
servicesBtn.onRelease = function () {
getURL("photopack.php", "_self");
}
realtorBtn.onRollOver = function () {
this.gotoAndPlay("Over");
};
realtorBtn.onRollOut = function () {
this.gotoAndPlay("Out");
};
realtorBtn.onRelease = function () {
getURL("blog/showcase.php", "_self");
}
photogBtn.onRollOver = function() {
this.gotoAndPlay("Over");
};
photogBtn.onRollOut = function() {
this.gotoAndPlay("Out");
};
photogBtn.onRelease = function() {
getURL("photography.php", "_self");
};
And here is the code for implementing the flash in html. I would rather use SWFObject but it had issues with multiple swfs. Wouldn't mind help with that either.
HTML Code:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','820','height','466','align','left','src','/max/slide_home','wmode', 'transparent','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','/max/slide_home' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="820" height="466" align="left">
<param name="movie" value="/max/slide_home.swf" />
<param name="quality" value="high" />
<embed src="/max/slide_home.swf" width="820" height="466" align="left" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object></noscript>
Thanks in advance for your help.
Flash Movie With Multiple Scenes In A HTML Site.
I have a Flash Movie running at the top of my html site. The flash movie consists of my flash nav that works perfectly. The problem is when i change pages. I want a new scene to play along with the new page...But since ive made the whole thing a single movie with multiple scenes, when it hits a new page with scene i starting...is there a way i can keep the one movie on the one page and have pages changing underneath the movie...and if i change page for the movie to keep playing..instead of stoping and starting again???
Please help.
Rapski
Multiple .swfs Embedded On Html Page - Overlap?
To cut to the chase: I have a website developed in AS 2.0, and I have a gallery I want to use (because I paid for the damn thing) that is written in AS 3.0. I think after hours of researching and getting frustrated with my lack of solid flash knowledge, I have come to the conclusion that I cannot load this external AS 3.0 swf into my AS 2.0 swf.
Okay, so... this obviously wouldn't be best practice I'm sure, but I'm looking for aesthetic solutions -- is there a way I can have my index.html page be the main swf as it is, and then if you click on the gallery link in that main swf, the AS 3.0 gallery swf would appear *on top of* the main page? So layering of the two swfs? And I guess I could exact position the gallery swf... have it fade in/out or something so that just visually it looked like it was contained in the main window?
Thank you IMMENSELY in advance for any thoughts you have on this. Or any other solutions my crazy non-programmer brain hasn't thought of
How To Load Multiple Html Vars Fron Txt File?
I seem to have come across every way to load vars into flash from external sources EXCEPT using multiple html-formatted vars from a single .txt file, such as:
cha_corp=<html>
<body>
<strong><font color="#CCCCCC">Greystar Corporate Headquarters</font></strong><br>
<font color="#00CCFF">11 State Street<br>Charleston, SC 29401<br>Phone: (843) 579-9400<br>Fax: (843) 579-9420<br>Email:</font> <a href="mailto:bmaddux@greystar.com?subject=website%20contact"><font color="#CCCCCC">bmaddux@greystar.com</font></a><br>
</body>
</html>
chs_corp=<html>
<body>
<strong><font color="#CCCCCC">Greystar Corporate Headquarters</font></strong><br>
<font color="#00CCFF">11 State Street<br>Charleston, SC 29401<br>Phone: (843) 579-9400<br>Fax: (843) 579-9420<br>Email:</font> <a href="mailto:bmaddux@greystar.com?subject=website%20contact"><font color="#CCCCCC">bmaddux@greystar.com</font></a><br>
</body>
</html>
etc...
I realize an ampersand will probably need to be included to make this work. Still not sure of the exact syntax required or IF it will even work this way.
thanks...ba
Calling A Function From An Html Link And Passing Multiple Parameters
Hi all
Okay I know how to call a function using an html link like this:
Code:
<a href="asfunction:_root.DoThis,Parameter">Click here</a>
my problem is I need to pass in several parameters but when I do this:
Code:
<a href="asfunction:_root.DoThis,Parameter1,Parameter2,Parameter3">Click here</a>
it passes one parameter with this value:
'Parameter1,Parameter2,Parameter3'
Does anyone know how I get round this?
Thanks in advance
Multiple Flash Music Players On Single HTML Page
I have created an HTML page that has multiple Flash-based music players. These music players are very simple, containing Play, Pause, and Stop buttons. Each music player is linked to its own external MP3 file which it streams.
All the players work fine, but my problem is this - when a MP3 is playing and I hit the Play button of another music player, the second MP3 plays on top of the first one. So the two songs are both playing. Is there a way (perhaps using JavaScript and ActionScript?) that I can get all sounds to stop playing from all the other separate SWF music players when I hit Play on any given player?
Since the players are all separate files, the stopAllSounds(); function doesn't work. I hope I made sense explaining my situation. I'm new to this forum (just signed up). But if anybody can help me, I'd REALLY appreciate it.
Flash And IE 5 With Multiple HTML Frames = Blank White Space
Anyone know a workaround for this bull****? We took over a site that was designed this way and it's ****ed, basically.
HTML FRAMES— A "Top" and a "Bottom" Frame:
(The top frame has a Flash menu and the bottom frame has a Flash intro.)
1. The top frame displays fine, but....
2. The bottom frame is just white with the occasional blinking graphic (in other words, the Flash object is buggy and not displaying properly).
This is obviously only a problem with IE5 for Macs, as it was designed by people with PCs and it looks fine in Mozilla for Mac. Surely this must be a really old problem that has probably been fixed by the lastest Flash or the latest IE, but I need a fix for the old browser (IE5 for Mac OS 9.2).
Thanks,
Nate
Flash And IE 5 With Multiple HTML Frames = Blank White Space
Anyone know a workaround for this bull****? We took over a site that was designed this way and it's ****ed, basically.
HTML FRAMES— A "Top" and a "Bottom" Frame:
(The top frame has a Flash menu and the bottom frame has a Flash intro.)
1. The top frame displays fine, but....
2. The bottom frame is just white with the occasional blinking graphic (in other words, the Flash object is buggy and not displaying properly).
This is obviously only a problem with IE5 for Macs, as it was designed by people with PCs and it looks fine in Mozilla for Mac. Surely this must be a really old problem that has probably been fixed by the lastest Flash or the latest IE, but I need a fix for the old browser (IE5 for Mac OS 9.2).
Thanks,
Nate
Actionscript Carousel - Linking Items To Multiple Areas Of HTML Page
Hello,
I am trying to modify some actionscript that is generating a carousel and importing images from an xml file.
I want to make it so that each item (image) is clickable and can go to a particular section on a seperate html page - the same idea as using page jumps with id's.
How do I set this up???
Here is my current actionscript code:
Code:
import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 75;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.009;
var perspective:Number = 220;
var home:MovieClip = this;
var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
{
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.r.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
function over()
{
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
}
function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}
function released()
{
trace(this._parent.toolText);
getURL("projects_and_development.html");
}
function moveTip()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}
xml.load("icons.xml");
function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective) /(centerY+radiusY-perspective);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}
this.onMouseMove = function()
{
speed = (this._xmouse-centerX)/20000;
}
Flash Menu With Multiple HTML Pages - How To Pass Variable To Menu On Refresh?
please note this topic is also posted at AS under this title:
Flash Menu 4 HTML pages - pass variables on page refresh
-----------------------------------------------------------------------
So the subject is a hint as to how hard it is to search on this simple idea.
Will be very greatful for some help today!
PROBLEM DETAILS:
I am building a swf menu for an HTML site. It has the following buttons:
SectionA
SectionB
SectionC
What I want to do is modify the text when the HTML page for the correspoding section is loaded. So, if I click on "SectionB", SectionB.html loads. Now I want that button "SectionB" in the swf to have a background glow.
Of course the catch is, that each time a new HTML page loads, it reloads the swf menu (No Frames please!). So, naturally I know I can just tell the swf menu to go to a certain place in the timeline where there is the glow graphic behind "SectionB". But the swf needs a variable saying it is on a Section B HTML page. (of course I could build a seperate swf for each section - but that seems stupid.)
THUS....
MY QUESTION:
How do I pass a variable from a swf on one HTML page (that is being replaced by a new HTML page!), to a swf on a new HTML page.
Can I do this with a GET/POST or something?
Thanks!
-AB
Birdsong is online now Edit/Delete Message
Multiple Flash VM Instances Running With Multiple Swfs On The Single Webpage
Hi all,
I am developing a webpage having multiple swfs interacting with eachother. Not when I load many swfs, is it the case that multiple flash VM instances are running on my machine? Is there any way to check this.
The project I am doing has one of the requirements that only one flash VM should be running.
Please help me in this.
Multiple Flash VM Instances Running With Multiple Swfs On The Single Webpage
Hi all,
I am developing a webpage having multiple swfs interacting with eachother. Not when I load many swfs, is it the case that multiple flash VM instances are running on my machine? Is there any way to check this.
The project I am doing has one of the requirements that only one flash VM should be running.
To summarize my question is:
how to check whether multiple flash VM instances are running on the system when multiple swfs are loaded on the page?
Please help me in this.
[CS3] Issues Creating Multiple MC From Multiple Variable Data Arrays.
I have had some great help with this from some very kind FlashKit members. However I have played with the code extensively and am having an issue getting multiple MC's from the global variable arrays "V_1", "V_2" and "V_3".
Right now I have the code set to build up a scalable graph for array V_1. I have not had it working "properly" to show the other values in graphs side by side for V_2 and V_3. I have had some weird Frankenstein looking results that led me to believe I was on the right track, but only to find that I could not figure it out. I have a g_seperator variable that I was hoping to use to determine the space between each column of data.
Can anyone out there help me please?
Thank you.
here is my code reprinted here, since my flavor of Flash may not export to a version compatible with some of your working versions.
Code:
stop();
//BAR ATTRIBUTES
_global.g_x = 240;// chart starting x position
_global.g_seperator = 130;// distance between bars
_global.g_width = 50;// graph segments width
_global.g_base = 450;// graph starting Y position
_global.g_alpha = 40;
//BOX VALUES
_global.v_1 = new Array(20, 40, 1, 10, 12, 10, 20, 15, 5, 21, 31, 50, 20, 10, 20);
_global.v_2 = new Array(60, 70, 1, 10, 42, 10, 50, 15, 30, 21, 31, 10, 20, 10, 20);
_global.v_3 = new Array(20, 70, 1, 10, 12, 10, 20, 25, 10, 31, 31, 10, 20, 10, 20);
_global.color_set = new Array(0x000099, 0x00FF00, 0xddddd, 0xcccccc, 0x990000d, 0xff9900, 0x99eeee, 0x99cccc, 0xf21000, 0xffdddddd, 0x005900, 0xff00ff, 0x0ff000, 0xff9999, 0xf2f321);
_global.pos_name = new Array("Site3", "Site5", "Site7");
var home = this;
draw1NPositions("mc_pos"+[p],pos_name[p],g_seperator);
function draw1NPositions(mc_pos, positionName, gap) {
this.createEmptyMovieClip(mc_pos,1000);
for (i=0; i<v_1.length; ++i) {
makeBox(i,g_x,g_base,g_width,v_1[i],color_set[i]);
}
}
function drawBox(mc, w, h, color) {
mc.beginFill(color);
mc.lineStyle(0,color,100);
mc.moveTo(0,0);
mc.lineTo(0,-h);
mc.lineTo(w,-h);
mc.lineTo(w,0);
mc.lineTo(0,0);
mc.endFill();
}
function makeBox(num, posX, posY, wide, tall, color) {
var myBox = home.createEmptyMovieClip("box_mc"+num, num);
myBox._x = posX;
myBox._y = posY;
myBox.num = num;
myBox.dragging = false;
drawBox(myBox,wide,tall,color);
myBox.onMouseUp = function() {
this.dragging = false;
};
myBox.onMouseDown = function() {
if (this.hitTest(_xmouse, _ymouse) && !this.dragging) {
this.startY = _ymouse;
this.startX = _xmouse;
this.startH = this._height;
this.dragging = true;
}
};
myBox.onEnterFrame = function() {
for (var i = 1; i<v_1.length; i++) {
boxes[i-1].y = home["box_mc"+(i-1)]._y=home["box_mc"+i]._y-home["box_mc"+i]._height;
}
};
myBox.onMouseMove = function() {
if (this.dragging) {
dist = this.startH-(_ymouse-this.startY);
boxes[this.num].h = this._height=(dist>1) ? dist : 1;
_root.boxValue.text = this._height;
}
};
Mouse.addListener(myBox);
}
|