Html Control In MX?
This is a general question. I want to change the position of my swf in the browser. Using the html below i can do this.
//< BODY bgcolor="#999999" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0"
//LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" SCROLL="NO">
Im working on a mac and currently only have flash mx as an editing tool, i usually work on PC where i have dreamweaver in which i can change the html in seconds. What i can't do is
1. copy and paste the source code from exported html page (so i can't edit it in SimpleText and other text programs) why can't i do this? on PC its easy
2. Can i edit the html anywhere in flash, as far as i know its not possible to do this, or is it?
Any suggestions would be great.
FlashKit > Flash Help > Flash MX
Posted on: 07-15-2004, 09:09 AM
View Complete Forum Thread with Replies
Sponsored Links:
+ Changing <embed Src> Name In Html To Control .swf Menu In Html +
Please view the following .swf first:
same main menu .swf file, main button highlight on 1, submenu highlight on 1
http://www.phs.com.tw/common/menu.swf?mn1=1&mn2=1
same main menu .swf file, main button highlight on 3, submenu highlight on 2
http://www.phs.com.tw/common/menu.swf?mn1=3&mn2=2
My question is how to set up the Flash files so I can simply add codes after the .swf file name to control the flash movie? This way when jump to different pages through out the html site with Flash menu on top, the main menu and sub menu will be highlighted according to its page. Earlier days without knowing how to do it, I have to use frames or even different .swf to achive this kind of effect, if anyone knows how to set this up, please let me know, thanks!!
View Replies !
View Related
Can Html Control A Swf?
Hello Flashers,
I would like to know, if it's possible to control a swf frame from another html (or swf) frame without using asp or php. Just the action: load variables.
I want to make a navagationbar (html or swf) to communicated with a another swf. So if you choose portfolio (or something) in the navagation (swf or html) frame, the swf frame will display a portfolio movie.
It's not my intention to use different swf's. Just one swf you can control.
Can somebody help me? I'm not used to work with variables.
Greetings from the netherlands,
Rednas
View Replies !
View Related
Swf <---> Swf Control In HTML
Here is my problem. I have 2 swf's embedded in an HTML page that I can't combine into one swf. They need to remain seperate.
Is there anyway to make "swf2" play when "swf1" is finished playing?
It is done using a javascript?
Thanks in advance for to anyone who helps me.
View Replies !
View Related
Control Swf From Other Swf In Different HTML Frame
Sorry to bother, it seem a stupid question, I have a page with 3 frames: top has a swf object in it, middle is plain HTML and the bottom frame has another swf in it. I want a button in one swf to control (nothing fancy, a play and stop command) a movieclip in the other swf. Both swfs are loaded as the page loads. Any reply welcome.
View Replies !
View Related
Control Flash From HTML
Hi all,
I've been trying to find a solution, but nothing seems possible. Here is the problem. I now I can use flash to give commands to the HTML page using Javascript (FSCommnad). Now I want to know if there is anyway to use HTML to give a command to the FLASH when an event happens.
I want to know if this is possible, and if yes, how?
If there is anything that I need to post to give you more information, just post.
Thanks in advance
Ali
View Replies !
View Related
Control Another Movie In Same Html?
Is it possible to control another swf in the same html?
I have a menu swf, where i wan't to jump to a specific frame in the other swf.
i used this script for the button
on (rollOver) {
gotoAndPlay ("hemknapp"); // this is a jump i the first swf (the menu swf)
}
on (release) {
loadMovie ("anders3.swf", "30");
}
Or should i use Telltarget instead???
/Martin
View Replies !
View Related
How To Control An .swf In An Html Page
hi,
hoping someone can tell me how to solve this problem.
here's an overview of what I need to do:
I have 2 swf's in an html page, and I'd like to have the text in one swf control and play the other swf, when the text from the controler swf is rolled over.
both swf's live in the same folder on my site, and I don't know which function to use in the controller swf, and how to point to the other swf, to tell it, "on rollover, goto and play frame 5..."
thanks for any help you can provide.
dan
View Replies !
View Related
Can You Control Another Swf If In Different Html Page?
Hi Everyone-
I am in the process of updating our website and have run into two problems. I was wondering if anyone can shed some light.
The scenario:
I have two main SWF files on
Envision which is the main one on level zero
Projects which is the second one that loads on level 2
There are 12 swfs (one for each project) that loads into a new popup page with this Javascript command
on (release) {getURL ("javascriptpenIT('sitemap.html', 160, 380, null, null, 'mywinname01')");
}
My sitemap also works with the above Java script.
Everything works fine BUT I cannot seem to figure out how I can target my envision.swf from my sitemap. The
reason I am targeting envision.swf is because there is where i have my actions to go to the specific pages when you click on the site map.
Can I control the envision.swf timeline from this new pop up window???
I tried _level 0 but that wont work because it thinks its targeting itself.
The second question I have is can preload those 12 swf project files in the background when you click on the projects.swf? Once again since they are on a new javascript window there are no levels that I can target so I cannot have them stop on frame one and load them onto different levels. I have read somewhere about empty movies clips and loading them in there. If i do that in my envision.swf then can i just have them somehow load into the empty swf so that they sit in the cache and then when the javascript is activated it will load up?
Here is the site address of the work in progress.
Beware its pretty messy since its still a work in progress.
http://www.envisionsite.com/beta/envision
anyhelp will be GREATLY appreciated.
Shane
View Replies !
View Related
How To Control Another Swf Within The SAME Html Page
ok guys, i've searched for 2 hours in this site and in flash but can't find a answer. i hope some of you can help with this. what i'm trying to do is very straight-forward:
- html page containing 2 tables, "table1" and "table2".
- each table contains a swf file, "swf1" and "swf2" respectively.
- "swf2" is set to stop initially, and i want to click on "swf1" so that "swf2" will start playing. how can i set the code in "swf1" so it sees "swf2" when placed in the same html page?
i've tried using the "loadmovie" command and tweaking with target and movie level settings, but they don't seem to work. i'm using dreamweaver mx, and tried labeling names to each of the swf files, and have the actual swf file call out that name. still to no avail.
can somebody please provide a sample code that enables one swf to detect and control another swf within the same html page? the two swfs are in the same directory.
MUCH THANKS in advance! *wipes sweat off forehead*
View Replies !
View Related
HTML Control With Flash
Hi Everybody!
I've built a naviagation system which has buttons that slide in/out onto the stage area.
I'd like to combine HTML to hold the information in the site with Flash to control it.
What commands do I need to load an HTML page from a button in Flash?
Also, how do i position the HTML? Do i need to use a table and specify which cell is to be used?
Thanks for your help.
SF
View Replies !
View Related
How To Control HTML Within The Flash
Hi all,
I have a Flash Movie, with dynamic text box and links for the other pages. The dynamic text box is further controlled by variables defined at the begnining of the movie. It works fine, when there is a Plain text. I want to generate the HTML like tables which includes the Back ground color of each cell and then images within some of the cell.
sorry for the bad english,
View Replies !
View Related
HTML Link To Control A Swf
Hi y'all,
Does anyone know how to control a swf file from a HTML link...?
E.g:
I have a HTML-page with a link <a href=jadajadajada>Click here to view the image</A>
Now, when I press this link I want to control the swf, so that is does a gotoAndPlay to a certain frame.
Can anyone tell me what the jadajadajada should be? ;-)
Thanks in advance!
View Replies !
View Related
Control 'goto' From HTML?
Hi Folks - not sure if/how I can have a flash movie playing in an html page, but then have a standard HTML link that could call flash's 'goto' function. I'd like an html link to be able to control a flash movie from outside the flash object - sending it to frame 200 for example. Any ideas? Thanks for any thoughts on this. --bp
View Replies !
View Related
Html To Control Flash?
is there any way to target a flash movie in an html page from an html object. if i have a button on the same html page as a swf file, can i tell that flash file to jump to a frame or similar from the button, or maybe URL?
thanks for any help
i have tried using a dreamweaver behavior to tell the swf to play a frame, but it doesn't work.
quentin
View Replies !
View Related
HTML Control Flash
Hi,
Here is the case I got few domains pointing to the same page
containing flash movie.. for example domain1 and domain2
I want to be able to when people access domain2
to tell flash to open "services" page instead of about us.
So I thought if I setup differenet html pages containing the same flash file - index.html and index2.html...
and when user accesses domain2 I can call and get index2.html page to send variable which flash movie can check (if(statement) and then open "services".
How can I get html to send variable to this flash movie ???
I can get it to play() stop() but sending variables didn't work ...
function PlayFlashMovie()
{
var flashMovie=getFlashMovieObject("main");
flashMovie.Stop(); // this works
flashMovie.myVariable = 2; //this variable doesn't get passed...
}
Or any other ideas how this can be done ?
View Replies !
View Related
Use HTML To Control Flash
Hi
I was wondering. Is it possible to use an ordinary button on a webpage to control the sound within a flash movie? Something like on and off.
If it is possible how can it be done?
Will appreciate..
Ciao
View Replies !
View Related
Dhtml Help, Need AS To Html Control
cant seem to find what im looking for by searching so here goes. i know ive seen the AS java scrip that lets you open a popup window. im looking to control visibility of dhtml layers from my swf. cant seem to find the right info on it though. maybe im not searching for the right keywords.
anybody got any info?
View Replies !
View Related
Flash To Control HTML?
Hello,
I’m new to Flash and I’m trying to find out if it’s possible to use Flash buttons to load/swap HTML text and Graphics from a cell in an HTML table? I have included a illustration to try and make the question more clear: I would like the button to swap out the HTML text and or graphics in the HTML (red) areas.
Basically it’s like trying to build a website that will use Flash for the navigation, but HTML for the content.
Thank you for your help
View Replies !
View Related
Control SWF From HTML With Java?
Hello!
I've been searching around the site like crazy trying to figure this out, and I found a website that gave some instructions for it a couple of weeks ago, so I know it's possible (but now I can't find that, either!).
So I've got a website with a SWF in it, and I need to be able to put a command on buttons in the HTML file (not within the SWF) that will pause the SWF. I believe that what I saw before achieved this by using Java, but I'm not positive on that.
Can anyone help me out with this? I've been struggling with it all day, and really can't find anything that works.
Thanks in advance!
View Replies !
View Related
HTML To Control Actionscript
Hey there, I hope people can help me here. Everytime i go and post help on a forum noone EVER replies.
Here is my question, how can i control actionscript using html?
What I would like is that if you click a button in HTML, i would like the external text to change to a different file.
HTML Button -> On Press -> actionscript linkage -> homepage.txt -> change to -> about.txt
if that helps. Cheers.
View Replies !
View Related
Control Swf From Another Html Page
ok here's is the problem I'm having, I have a x page with SWF 1 on it, what I want is when I click in a button within that movie it would take me to another HTML page containing SWF 2 but to a specific scene or frame is it that possible?
I have the get URL command in the as2 that takes me to that html page but how can I tell it to start playing a specific scene or frame? help please!!!
View Replies !
View Related
Can You Control Flash With Html?
im dynamicaly loading text into a textfield that has html = true; .... is there a way i can create a link in the .txt file that i load that can make the movie goto a certain scene inside it ??? basically a html scirpt link that makes the movie play??
View Replies !
View Related
Flash Control Of An Html Div Tag
Can Flash control the visibility of a html layer <div> ?
Example: I am building an eyeblaster style banner and would like flash to turn off the visibility of the div containing this banner, either when they click close or the movie reaches a specific frame on the timeline. Thanks.
View Replies !
View Related
Can You Control Flash With Html?
im dynamicaly loading text into a textfield that has html = true; .... is there a way i can create a link in the .txt file that i load that can make the movie goto a certain scene inside it ??? basically a html scirpt link that makes the movie play??
View Replies !
View Related
Html/javascript Control For Swf
Not sure if anyones tackled this issue before.
Is it possible to control a .swf (set as an object) from javascripts on release statements?
What I'm trying to do...
http://www.peelautoradio.com/source/start.php
I want to set it up so that when someone picks ANY option from the car audio section it will tell the lower movie clip to "_root.lude.exhaust1.gotoAndPlay(95)" which in turn would send the car driving off the screen and then do a url load sending the php to a new section?
Thanks in advance.
View Replies !
View Related
Control In Html With Flash Menu
Hi,
I have a problem : I have a ondex.html file with two frames. the left frame contains a flash -movie-menu. I would like the following :
when a button is pressed (in the Flash movie), the MainFrame will be changed (NOT the left frame with the movie).
Could somebody please help me out ?
miKe SpiKe
View Replies !
View Related
Control Flash In Html With Javascript
I have an swf embedded in an html file, i want to be able to skip to frame 35 in scene 5-using javascript with an 'onclick' from a gif sitting in the page.
Javascript in html:
function MM_controlShockwave(objStr,x,cmdName,frameNum) { //v3.0
var obj=MM_findObj(objStr);
if (obj) eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?fr ameNum:'')+')');
call in <a> tag of gif:
onClick="MM_controlShockwave('portfolio','','GotoF rame','35')"
how do i target the scene so it doesn't just go to frame 35 in scene 1?
Please help me flash friends!!
View Replies !
View Related
Control Flash From My HTML/JavaScript?
Hello,
I want to embed a flash movie in my html page simply to play sounds when mouse events occur e.g. click a button, rollover a link, etc. Can I control a movie from my javascript?
I do not want to re-do my menu and buttons in flash so I know that is comming I just want to use the movie to play sounds whenever I want, when I want.
Can it be done?
Thanks
View Replies !
View Related
Control A Movie (swf) In Other Html Frame
Hello there!
Actually I don't know if what I want is possible, but here does the question go:
I have 3 frames in my html page and one flash movie inside each one.
The above swf is a menu I'd like that when I click on one of its buttons something happens on the swf that is in the frame below (gotoandplay whatever).
I don't know if this is possible but if so, any help would be really appreciated. If not I think that I could join both movies.
Thanks in advance!!
marlowe
View Replies !
View Related
HTML Window Control From Flash
hELLO
i have seen many sites that have their site in an html page without a toolbar or status bar, etc, and even with a complete new design on top (kind of like a new title bar and close buttons)
do you have any idea on :
1- in Flash : getURL of a new blank page that contains a swf file, but no toolbar or status bar or etc...?
2- Add my own design of the window??
thanks a lot for the help
rania
View Replies !
View Related
Getting One .fla File To Control Another In The Same HTML Document
Howdy folks,
I'm trying to make a menu system with a horizontal menu at the top of an HTML document that loads sub-menus on a vertical menu on the left side of the document. The to menus need to be separate .fla files so I can place them in a table that will have editable HTML text below and to the right of the menu system.
I figure I'll have the vertical menu have a series of flags in its timeline for each of the submenus, but I don't know how to get the buttons in the horizontal top menu .fla file to tell the vertical .fla file to advance to each of those flags.
I hope this makes sense!
Any help is greatly appreciated.
View Replies !
View Related
Popup Control By Html Title Bar
Hello all
I've created an instant messenger with flash that works fine. my only problem is that when u click on a name in the buddy list multiple times it opens multiple windows of the same chat window, which is a popup by way of getURL and localconnection, therefore opening more than one window of the same conversation. I wanted to control this by somehow dynamically inserting the contacts name in the popup chat window's title bar depending on the name selected from the buddy list. How is this done? I've seen it done in numerous places online so I know it's possible, just not sure how to implement. All feedback welcomed. Thanks.
Tone
View Replies !
View Related
How Do I Control A Flash Movie In HTML
How do I control a flash movie in HTML in a different frame.
I understand I may need to do a little JavaScript, but I don’t really understand it, so could you tell me exactly what I need to put in and where...!
When a HTML page loads I want it to change the text in a dynamic text box within my flash movie
There are two ways in which I could do it:
1: Put the script into the HTML page, so when the html page loads it performs the action
2: Or if its easier, i would put another flash movie into that html page with code within the actionscript. If I were to do this, the actionscript I want to write is:
onClipEvent (enterFrame)
{tellTarget (mymovie.swf) urlpagename = "home";}
urlpagename being the name of the dynamic text box
But obviously that does not work
Help me please...!! I’ve been searching website after website all day and my head hurts!
Ian
- krispykreme for the winning reply!
View Replies !
View Related
How Do I Control A Flash Movie In HTML
How do I control a flash movie in HTML in a different frame.
I understand I may need to do a little JavaScript, but I don’t really understand it, so could you tell me exactly what I need to put in and where...!
When a HTML page loads I want it to change the text in a dynamic text box within my flash movie
There are two ways in which I could do it:
1: Put the script into the HTML page, so when the html page loads it performs the action
2: Or if its easier, i would put another flash movie into that html page with code within the actionscript. If I were to do this, the actionscript I want to write is:
onClipEvent (enterFrame)
{tellTarget (mymovie.swf) urlpagename = "home";}
urlpagename being the name of the dynamic text box
But obviously that does not work
Help me please...!! I’ve been searching website after website all day and my head hurts!
Ian
- krispykreme for the winning reply!
View Replies !
View Related
Html Form Needs To Control SWF Loaded
Hi everyone
I have been looking all over for an answer to this. I found a few ideas that seem like they might work, but aren't very platform/browser compatible. I thought someone here might have the solution.
Here's what I need:
I need the user to be able to select from the form on the left side of the screen and have that selection swap the SWF file which is loaded to the right.
Restrictions are:
1.The left form field cannot be in a SWF. It must be html. (I know how simple this would be if the whole page could be Flash)
2. I can't use frames.
3. I need it to be as platform/browser compatible as possible. I understand whatever the solution is might not work for older browsers, but I really can't have a big general kind of problem like - it wouldn't work on IE on a Mac at all.
It seems like it must have a simple solution, but I can't seem to find it. I apologize in advance if it has already been answered, I did search the forums already though.
Much thanks to anyone that can help!!!
View Replies !
View Related
Html Code To Control Swf File?
I have a series of html pages which contain the same swf file.
I would like each page to take the swf file to a diffent point. ie:
html Page 1:
movieClip01.gotoAndStop(5);
html Page2:
movieClip01.gotoAndStop(10);
html Page3:
movieClip01.gotoAndStop(15);
...etc etc.
Is there any html code which can do this?
I'm afiad I'm not much good with html
View Replies !
View Related
HTML Able To Control Flash Menu?
I would like to have a flash menu, with sub sections to each link. And have that menu embedded on an HTML page.
Generally, when a link is clicked on the flash menu, and you go the the selected page, the Flash menu "refreshes" .
I am wondering if there is some kind of way to have the HTML page have coding or a language, or something, to be able to control the Flash menu...to have it be at a specific frame (in flash), or to use more ActionScripting, to have the Flash menu be "open" to the sub section of the specific link that the HTML page is on.
Does that make sense?
View Replies !
View Related
Button Control Html Frame?
I am building a site with flash content, I was hoping I could do the navigation using flash as well. I want to know if a flash button can change the content of an html frame rather than loading the entire page each time a users clicks a link? Thanks a mil, you guys are always great for us NONprogrammers
Rene
View Replies !
View Related
Control Flash5 SWF With HTML/Javascript?
I have a menu that I'd like to use on everypage of my site - and thought it would be nice to have just one swf file and use html or javascript to tell the menu to go to a certain frame. For example, if they are on a Bee Story page, then the bee-story button in the menu would be highlighted and non-linking. Then on an Apple Story page, the Apple story button would be highlighted and non-linking. So basically, I would have a SWF with 10 frames, each frame highlighting a different button that I could then call with my html page.
Any way to do this? Basically, I want to use the html page to call a certain frame for each story.
View Replies !
View Related
HELP Timeline Control From Html Page
I'd like to have same flash file start playing with different frames on different html pages.
Example: site have 3 sections and I want 1st section(01.html) to play frame 1, 2nd section(02.html) play frame 2 and 3rd section(03.html) play frame 3, how can I make it?
But all using same SWF file...
View Replies !
View Related
Control Html Background Images
Is there a way of changing the background image of the html page holding a swf movie from within the movie?
For example, I have a website developed fully in flash but would like the background image of the html page holding the site to change when the user moves from one area to another. Is this possible?
Alternatively I was thinking it may be possible to place a flash file which fits to 100% in the browser window and import another swf into this file which retains it's scale (in my case 600 x 800). I'm going to experiment with this second option but if there is a simple way of doing this which I do not know about could someone point me in the right direction? Cheers.
View Replies !
View Related
Flash Control HTML BG Image
Can Flash control the bg image on a HTML page? I basically have 6 menu items within Flash and when the user clicks on a new button, I want the bg to change, the bg is inside a the HTML page... I realise I could just add the bg image to the Flash file, but want to keep the combo of HTML and Flash... Any ideas?
View Replies !
View Related
|