Html/ Open Myself In Pop Up?
Could I add one more thing to make it simpler?After the Pop up has succeeded the launching Browser should close!Any help would be appreciated.Thanks.Hi,The situation:A Developer, using Dreamwaever for ex. will link from a button to >myIndex.html< window=_blank.The myIndex.html loads myIndex.swf on init.How can I tell >myIndex.html< that it should open ITSELF in a Pop-up in full size??There is no way that I can provide the Developer with the Pop-Up code. He only has the possibility to choose between several Html files in his developer environment.I tried to put on >myIndex.swf< Frame 1 an onEnterFrame code which calls:this._parent.getUrl(………), but this does not work.If I say _root.getURL or this.getURL, it will open the Pop Up on Top of the myIndex.html.So I have an empty browser window between the Dreamwaever page and my Pop up window.I want myIndex.html already to popup.Can this be done?Thank you for your help.regards,LuciewongEdited: 10/08/2007 at 10:31:14 PM by luciewong
Adobe > ActionScript 1 and 2
Posted on: 10/08/2007 12:26:42 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Open Html
i need to open a html file in a new window frm flash. but i want a specific size. how would i do this.
Open Html
hello
it's posible to open a html in swf ??
how can it works?
Open Pop-up Without Html
hello
how can i open a javascript pop-up in swf without having a swf embedded in html???/ or without having a open browser....
Open 410*500 Html Window
Hi,
I have a flash site, and i need to open from this web, a html window, with "width=410,height=500" properties.
Working in dreamweaver it is easy, but i have no idea of doing it in flash...
anybody can help me?
regards
piraya
CAN'T OPEN My HTML FILE
hello,
I have recently created a 2 files, "mypage.swf" and "mypage.html" I want to open my html file in my simple text document but it is saying the file is too large. The html file is 97k (41,000 bytes) Is there something else I need to do to be able to open and edit this document in simple text editor.
please help
Open HTML Document
Hello!
I want to make a presentation CD. I have a small movie in flash. And in another directory I have a copy of my web site.
I want to add an action to a button to open the first page of the web site from the CD.
I have used getURL for the site from the Internet, but i didn't find any command to open a local document.
Thank you
Open A Seperate HTML
Ok heres the thing. Im designing a website for my new company. It has a flash navigation console. Basically the whole site is gonna be in HTML format except the navigation which I want ona seperate page.
THere are 8 buttons in all on the flash console. I need all of them to open a seperate page when loading the HTML page that is affiliated with the button that is clicked.
I really have no idea how to do this and am a novice. Can someone explain to me how I do this? If you explain how to do one button really well I can figure it out for the rest.
I know this is probabley simple for you all. So I hope someone can help me!
Thanks so much in advance!
Open An Html Pop Up Window
Hi,
does anyone know how to open a new html pop up window from flash with actionscript?
I tried like this
on (press) {
getURL ("href="javascript:window.open('thepageIwannaopen .html','','toolbar=no,scrollbars=yes,width=310,hei ght=600');"", "_self");
}
and i get two browser windows,first with the word (object inthe html,that start to open another ones to infinity and beyond. Finally i have to shut down the machine or quit the browser
I feel desperated and lonely in the heart of nowhere...
helppppp
Open An Html File
i want to creat a button from that i want to open an htm file but i don't want to give full path instead i want %AppDir% (application director). but how????
this didn't work
on (release) {
getURL (%AppDir%/Activities.htm, "_blank");
}
Open Swf In A Html Browser ?
Ok !! First i created a flash projector for a cd-rom !! i would like to know how i can open a swf file in a html page with special height and width for the html page ( like a pop up)!!!
i tried using this :
on (release) {
getURL("javascript:window.open('myfile.swf','hello ','width=300,height=200')", "_blank");
}
but it wont work !!! can anybody help me please ?
Open Html From Flash
Hi , can anyone help me
The script for opening a html page from flash is fine:
on (press) {
getURL("21-15-2.htm", "_blank");
}
however, what happens if i want to open a html page and re-size it to say, 300x300 pixels, and get rid of the ie toolbar on the page that opens?
thanks in advance
Open A HTML In Flash
Does anyone know how to open a HTML page in flash?
For example, when i click a button on the menu, it will open a html page.
Hope someone could help me.
Thanks.
Any Way To Open Html Inside .swf?
the search terms are so vague for this, i apologize in advance if there are already a million posts covering this...
but is there any way to open an html URL inside of a .swf?
thanks.
[html/flash] I Need To Have This Open......
hi!
i was working on a project (just for the fun of it) and i wanted to have a html page have a link and when you click on that link it opens the Swf in a separate window type thing? how is that done? what do you put in the html or do you put it in the flash file? any clearing up on this would really be helpful!!
thanks!
Open Html Files
Hi,
I have 3 fla files published as flash and html. Now I have saperated the swf files and the html files in two different folders called "swf" and "html".
There is a button on each fla which opens the next html file from the html folder.
eg. This is a code written on button in fla1.
on(press)
{
getURL( "../html/two.html" );
}
This code dosn't work. Will it work? because the swf and html files are in different folders.
Any idea?
Thanks...
Open Html _self
Hey,
I have a flash menu
a couple things: 1) I want a btn in flash to open up a different html document within the same browser window, but when I say getUrl it will only open in _blank without need for a change in security settings. I don't my users to have to reset thier security settings.
2) and once I get there I want my flash menu to know which html page its on, so I think I need to send a variable into my menu swf from the html in that new page... but how do i do that?
thanks alot, james
Open HTML From Other People PC
have created a HTML file and i link it in my Flash8. The following is the code used..
on (release){
getURL("CompanyProfile.html","_blank");
}
I retrieve the HTML from my own folder. I was able to view it but when i copy it to other people computers, they are unable to view the HTML. Is there anyway to solve this problem?
i copied the HTML as well....when i open it through Flash, it will open through Internet Explorer and the link is actually "
Open Html File
how do i open up a html file that is stored on my harddrive? i am using the on release commans. ok , the thing is theres a button, when the user clicks on this button it will open up a html file via a new window. please help me... should i use the geturl command?
malcolm
Why Won't Link In Xml Open From Html?
hi all
i have a small problem with a flash scroller that i am using.
its a standard link the xml file that calls images and url for that image.
when i text movie everything works fine but if i preview it in html none of the links work!
any ideas what i'm doing wrong???
here is the code
Code:
stop();
System.useCodepage = true;
var tmp = random(1000000);
var xmlLength;
Str = new Array();
imageXML = new Array();
myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function() {
imageXML = this.firstChild.childNodes;
if (xmlItem.length == 0) {
play();
}
_global.picAll = int(imageXML.length);
if(weburl==undefined)
{
for (var i = 0; i<imageXML.length; i++) {
kk = Str.push({url:(myXML.firstChild.childNodes[i].childNodes[1].childNodes), imagepath:(myXML.firstChild.childNodes[i].childNodes[0].childNodes)});
if (myXML.loaded == true) {
play();
}
}
}else{
for (var i = 0; i<imageXML.length; i++) {
kk = Str.push({url:(myXML.firstChild.childNodes[i].childNodes[1].childNodes), imagepath:(weburl+myXML.firstChild.childNodes[i].childNodes[0].childNodes)});
if (myXML.loaded == true) {
play();
}
}
}
};
myXML.load("data.xml");
here is an example of the xml
<imagesbar>
<pic>
<imagepath>images/1.jpg</imagepath>
<url>http://www.google.com</url>
</pic>
<pic>
<imagepath>images/2.jpg</imagepath>
<url>http://www.google.com</url>
</pic>
</imagesbar>
Now when i
Why Won't Link In Xml Open From Html?
hi all
i have a small problem with a flash scroller that i am using.
its a standard link the xml file that calls images and url for that image.
when i text movie everything works fine but if i preview it in html none of the links work!
any ideas what i'm doing wrong???
here is the code
Code:
stop();
System.useCodepage = true;
var tmp = random(1000000);
var xmlLength;
Str = new Array();
imageXML = new Array();
myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function() {
imageXML = this.firstChild.childNodes;
if (xmlItem.length == 0) {
play();
}
_global.picAll = int(imageXML.length);
if(weburl==undefined)
{
for (var i = 0; i<imageXML.length; i++) {
kk = Str.push({url:(myXML.firstChild.childNodes[i].childNodes[1].childNodes), imagepath:(myXML.firstChild.childNodes[i].childNodes[0].childNodes)});
if (myXML.loaded == true) {
play();
}
}
}else{
for (var i = 0; i<imageXML.length; i++) {
kk = Str.push({url:(myXML.firstChild.childNodes[i].childNodes[1].childNodes), imagepath:(weburl+myXML.firstChild.childNodes[i].childNodes[0].childNodes)});
if (myXML.loaded == true) {
play();
}
}
}
};
myXML.load("data.xml");
here is an example of the xml
<imagesbar>
<pic>
<imagepath>images/1.jpg</imagepath>
<url>http://www.google.com</url>
</pic>
<pic>
<imagepath>images/2.jpg</imagepath>
<url>http://www.google.com</url>
</pic>
</imagesbar>
Now when i
Open Html Files In Swf?
how might I open an html file and stratigically place, size, toolbars(on/off) etc.... I know how to open, but it always opens behing my movie and replaces the movie. but that is done with
on (release) {
getUrl("someurl.html", _blank);
}
how might i place and size this the way I want? See what I am trying to accomplish here is a full flash site and to be able to open links in the movie w/o replacing the movie.
I thought this could be done?
Thanks again,
Toad
Open Html From Flash Exe
Hi , can anyone help me
The script for opening a html page from flash is fine:
on (press) {
getURL("21-15-2.htm", "_blank");
}
however, what happens if i want to open a html page and re-size it to say, 300x300 pixels, and get rid of the ie toolbar on the page that opens?
the flash file and html files will be on a CD
thanks in advance
Open A HTML File.
Hi!
I need to open a HTML file in another window.How do I do it with AS3.0?
Open Html After Animation
Hello! I'd just like to say thank you to everyone on GTAL b/c it's the best forum out there and I've learned A LOT. Thanks so much!
Alright, so I've created a couple of movieclips which are buttons that animate after you press them, however I'd like the movieclips to open an html page after the animation, but I'm not sure how to make this happen. I've searched around on the forum to find out what I can do, and I wasn't really finding anything. But if anyone knows of a tutorial or a topic where this has been discussed please let me know. Here's what my AS looks like anyway:
Code:
one.buttonMode = true;
one.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
one.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
one.addEventListener(MouseEvent.CLICK, ClickHandler);
function mouseOverHandler(event:MouseEvent):void {
one.alpha = .45;
}
function mouseOutHandler(event:MouseEvent):void {
one.alpha = 5;
}
function ClickHandler(event:MouseEvent):void {
import fl.transitions.*;
import fl.transitions.easing.*;
TransitionManager.start(one, {type:Zoom, direction:Transition.OUT, duration:2, easing:Strong.easeOut});
}
I'm still figuring out how to format AS3 so to speak, so bare w/me. Thanks again for everyone's help and big brains!
Get URL Script To Open HTML File W/QT
For some reason I'm having trouble with what should be a simple thing. From a Flash movie, I want to be able to call an html file that will open a QuickTime movie in it's own window. I know very little of scripting or html; I had a friend write what I believe to be the right code but I can't seem to script correctly. I keep getting a message that the browser can't find the server(?) Is tere some way to do this without involving a browser? If someone would help I would definitely appreciate it...
Link To Open Html At Set Size
Hi
I need to open a html file from a button in flash. How can I open the window at a specific size (ie 600 x 400)
The url resides in the same folder as the swf.
Thanking you
Miffy :-)
How Do You Open Up A Html Popup From Flash?
How can I click on a button in my movie and have a preconfigured (Height, Width, Scrollbars, X & Y, with no command line. I just want a little window to popup for info purposes when someone clicks on a button. Any help would be appreciated...
ian
ianfay.com
How Do I Get A Flash Menu To Open Html?
ok, the subject dosent describe exactly what i want to do, but basicaly, i have a menu made in flash and a html page with a huge list of songs, broken into sections and subsections, but i want the flash menu to hit those sections & subsections.
For example, :
(flash) Album1
Album2
Album3
Instrumental
(html)Albums - <Section ->> Album1 (18 line track listing)
Album2 (20 line track listing)
Album3 (10 line track listing)
Instrumentals (34 line track listing)
i hope this makes sense. I kno how to do it in dreamweaver, but not sure how to with flash.
thanks
How Can You Open A Flash Window Using Html?
I want to use a dynamic text box to upload updates I've made to the site. I was wondering if I could put any type of coding in the text file to allow the link to open a flash window. Say I have a link, and I want it to open a window in flash for a 8-ball flash movie. I guess I could put the 8-ball flash movie in html and then have the link just go to that html file with the flash in it. Is there any other way to do it?
Open Html Files Into A New Window
I have a movie clip which contains 4 buttons, I'd like for the buttons that when on (rollOver) the box jumps to a specified frame. Also, if they click one of the buttons, it will open an html file into a new window. I have all of that working except opening the html file, what is the action script for such a task? Any help or suggestions would be greatly appreciated, thanks in advance.
namph
Can't Open New Window... Using HTML Frames
hi,
i can't seem to get flash to open a new browser window, and it has something to do with the fact that my HTML-based intro page (specifying site requirements, plug-in checks, etc.) uses a frameset.
the intro page consists of three frames -- top, middle and bottom -- with the middle frame containing an ENTER button. i want my Flash site to load in the SAME window as my intro page, but outside the frameset, so i set the target for my ENTER button (which resides in the middle frame) as "_top".
_self doesn't work, it loads the site into the central frame. target = "_parent" also successfully loads the flash site in the same window as my intro page and seemingly outside the frameset.
HOWEVER, once the Flash site has loaded, i can't seem to launch new browser windows from it. in other words, even though i want the Flash site to load in the same window as the intro page, the Flash site should be able to launch new windows.
the links in my Flash site that should launch content in new browser windows are all static text field links. i selected the relevant link text, specified a URL in the properties panel and selected _blank from the properties panel drop down target menu. but the new URL always loads in the same window as the Flash site.
this only happens if i access the Flash site via the HTML frameset intro page. otherwise it works perfectly.
anyone know what the problem could be?
you can view an example here http://www.carlottamanaigo.com/index2.htm (note: site still under construction... broadband connection required... dial-up version not ready yet.) click on HIGH BANDWITH to enter. once inside, try BIO, and VIEW RESUME. the resume should load in a new window, but instead it loads in the same window.
thanks.
Open Up 2 Pages From One Link In HTML
I am using Dreamweaver
This is what I would like to accomplish...
1st page on site has a link/button
When link/button is selected, the same page loads a thank you page, While a second page loads on top containing the flash file.
After a user closes the page that contains the flash content he/she will see the thank you page.
How do I asign two functions to one link in HTML??
Thank you for your time an expertise!
Open Swf With Txt File Html Link
I've gotten close by reading tutorials and the forums but keep failing.
I have a movie that loads a txt file. This text file has html content that is generated in my swf. I know I need an href with asfunction in the text file and a function in my swf. I keep trying but with no success. Could somebody spoon feed the baby I'm not sure if I'm putting my function in the wrong place or my html is wrong.
Can somebody help?
Thanks
Still Unable To Open An URL In Another Html Frame.
It always open it in a new window.
I have a frameset, the top frame name is 1
the main frame name is 2
i have a Flash movie in the top frame.
A button in the flash movie should call an URL into the main frame
I did so:
on (release) {
getURL("theurliwanttoload.htm", "2");
}
It always open it in a new window.
Open Pop-up From Html Text Field
hi,
I have a html dinamic text field.
Is it possible to open a pop-up window with tag <a> from a text field?
i've tried with:
<a href="javascript:window.open('news.php?id=3','news 3','width=200,height=200,toolbar=no,location=no,di rectories=no,status=no,menubar=no,scrollbars=yes,r esizable=yes,top='+((screen.height/2)-(100))+',left='+((screen.width/2)-(100))+'');void(0);">open news</a>
but it don't work.
Thank you in advance.
noir
Mx 2004 Open New Window, No Html
hello everyone!
i have been looking for a way to open a new window with simple content in it (.jpg, etc). i am doing a portfolio site that has a lot of images to show. all of the images are different sizes, so i thought that separate windows would be a good idea. i have tried some of the tutes on this site, but they involve putting code into the html page. i think that there has to be some kind of code that you put on a button to open a specific file. i could make swf's out of all the images, if i have to. please help.
thanks
DK
Open An HTML File From A Folder?
I'm making a small flash project that will run off a CD. I want it to open an HTML page in one of the folders on the CD. How would I do this? I tried the getURL but perhaps my syntax was wrong.
[CS3] Window.open In HTML In XML Into Flash
Okay, here goes: My Flash CS3 file displays HTML text, read in from an XML file (within CDATA). The HTML text contains links in the form of <a> (anchor) tags (of course).
I am attempting to open a new customized browser window whenever a user clicks on a displayed link. So far, I am able to open a window, but the customizing attributes ("width=600,..." etc.) are ignored.
Rather than displaying for you the one dozen variations I have (unsuccessfully) attempted, does anyone have a simple example of something that actually works?
If what I'm describing is not sufficiently clear, please advise and I'll try again.
Thanks in advance!
mondoFred
Open Fullscreen SWF From Flash On HTML
Hello,
Is it possible to make an AS on a button in flash embeded in HTMl to open another SWF fullscreen?
I know fullscreen sites are annoying, but this project requires this feature.
if anybody knows a method or a link with tutorials I would be very happy to take a look!
Button To Open Html Page
ok so I am putting together my portfolio and I want people to see my images larger than what is on my site. So what I was thinking is to make the image a button and have it open an html window (a popup) to see the larger version. Is this the proper way to do it or are there any better sugguestions out there? If this way is a good way can you let me know how to do this? This is my first flash site, if you want to check it out I have an almost complete version on the web emoney
Thanks, Erik
Html Publish From Flash Mac Open In PC
Hello
Can you help me with this issue -
I publish HTML from Flash ME 2004 Mac.
On Safari it looks OK
I bring the HTML+SWF to a PC
Double click on the HTML, on the explorer I get the expected message about the active X
I "yes" it to allow. Then I see the square with – "press spacebar or enter to activate content"
But when I press nothing happens. I can't see any flash.
What do I miss here?
Its only if the HTML comes from PC
Flash To Open Html Frames
Hi,
I'm using this code on my flash button to call an html frame:
on (release) {
getURL("frameset2.html", "mainFrame");
}
I want the frame to open in the same window, but now it's opening a new window. When I add "_self" to the code, it doesn't work.
Any suggestions?
Thanks
Flash To Open Html Frames
Hi,
I'm using this code on my flash button to call an html frame:
on (release) {
getURL("frameset2.html", "mainFrame");
}
I want the frame to open in the same window, but now it's opening a new window. When I add "_self" to the code, it doesn't work.
Any suggestions?
Thanks
Open Swf On Certain Frame Using HTML Link
Hi,
I have an HTML page which I want to link to a flash movie. Within the HTML page there are 5 buttons, I want these 5 buttons to point to the same flash movie but to different points throughout the timeline of the movie.
Can anyone tell me how to do this? is there a simple way of pointing to frame labels through the URL of the link?
Thanks,
Open Pop Up + Exchange Vars Between Swf & Html
Hi, I found more links and tutorials than I needed... but none of them helped me. So please don't just give me a link that I won't understand. I need explanations...
I've succeded to open a pop up with that code:
on (release) {
getURL("javascript:window.open('04_images/pop_mov/pop_mov.htm','','width=415,height=445,toolbar=no,s crollbars=no');");
}
But then my main page load the javascript in the adress bar and load a white page with this written inside:
[object]
What is missing in my code to make it stay still?
-----
I don't wanna make 120 html pages everytime I open of of the link to present the video... So I wanna send a variable to my html page to tell it the name of the video... I can't use any php or asp... I wanna use javascript only... is this possible... how do I send the var with flash and and how do I use it with html... I don't want it to appear in the adress bar...
can you writte me an example... I really need help, and I,M trying desesperately, but the tutorials that I find doesn't help at all.
Thanks.
edited: I don't wanna use any external code either. thanks.
|