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




GetURL Props



Hi,

if got problems using getURL. in my swf i call for javascript 2 times. once to change the html documents background color and once after clicking a button to open a pop-up.

it's working fine in ie and netscape localy, but once on the internet. netscape fails.

any ideas how to solve this?

my code:

getURL("javascript: openBrowse()");

function openBrowser(){
popBrws = window.open(soep,"","height=336,width=502,left=50, top=50");
}


thx



FlashKit > Flash Help > Flash ActionScript
Posted on: 03-29-2005, 08:43 AM


View Complete Forum Thread with Replies

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

Props And Questions
First off, this board is great. From what I've read and tried out in the tut's....it's helped me from knowing not a thing to actually doing a few simple things with masks and moving text. Everyone on here, keep up the outstanding work! Now, on to my question. I am currently using Flash MX 2004, and I want to create the "Ray of Light" effect, but I keep getting confused on the gradient issue and how to do this in MX 2004. Also, does anyone know of an easy way to create a "Shattered Glass" effect? Thanks guys and gals. And if any of you need audio help, don't hestiate to let me know.

Sound Props
hello,

i'm trying to access sample values from a sound object, after it's been filled with a sound.

i'm sure that there are scores of un-documented (at least on the surface) properties that a sound object contains.
getBytesLoaded just gives me an integer of how many bytes have been loaded, but what about the content of those bytes?
samples would be fine, values at a given millisecond, etc.

i was also thinking that the LoadVars method might be useful in this case, but i don't know how to parse the raw data of a specific type of file... any takers? i would imagine that header info comes into play that would need to be discarded...

???

Javascript Window Props
Hi,
Is there a way to define window properties in this script.
I would like to use-
"resize = no scrolling=no and adress bar =no" type stuff.

Appreciate your help.

<script language="javascript">

self.moveTo(0,0);
self.resizeTo(640,420" "maybe here?" );
if(javascript_version > 1.0)
{
setTimeout('newwin.focus();',250);
}
</script>

MovieClip Linkage Props
LocationList is a MovieClip that's not on the canvas, but is linked via the Linkage Props.

so how do I duplicate a MC that is in it?




Code:

stop();
// get information about the movie clip from the existing movie clip
var yOrigin = LocationList.msgbox._y;
// the y coordinate where to start the rows of buttons
var nHeight = LocationList.msgbox._height;
var ypos = yOrigin;
var nCounter = 0;
xmlpath = "list.xml";

function onLoadXML() {
if (true == xmlDoc.loaded) {
//trace(xmlDoc.firstChild.childNodes.length);
for (var i = 0; i<xmlDoc.firstChild.childNodes.length; i++) {
theAttributes = xmlDoc.firstChild.childNodes[i].attributes.location;
//trace( theAttributes );
// duplicate the "placeholder" movie clip
duplicateMovieClip(LocationList.msgbox, "msgbtn"+nCounter, (nCounter));
// set the position
LocationList["msgbtn"+ncounter]._y = ypos;
// set the properties of the new movie
LocationList["msgbtn"+ncounter].txtLocation.text = theAttributes;

// offset to the next position in the column
ypos += (nHeight-1);
// increment the "button" count
nCounter++;
}
}
}
xmlDoc = new XML();
xmlDoc.ignoreWhite = true;
xmlDoc.onLoad = onLoadXML;
xmlDoc.load(xmlPath);

// set MovieClip to ScrollPane
sPane.setScrollContent('LocationList');

How To Use ScaleX And ScaleY Props
what is the right way to use the scaleX and scaleY properties? I don't quite understand how to use them...

right now, I'm using this, but I think scaleX and scaleY would be a better idea:


Code:
if(condition){
some_mc.width++;
some_mc.height++;
}
else{
some_mc.width--;
some_mc.height--;
}

Submitting Props To A Swf When Loading It Into Another Swf
I have a group of swfs that if you submit a param when embedding, it loads that xml document for it's own settings. Kinda like this:

<embed src="myMovie.swf?xmldoc=someXML.xml"... etc/>

the swf then loads the file from xmldoc and alters itself pertaining to the params described in the xml.


Now I have another Movie I want to load up a bunch of these swfs. But I want to pass it the param "xmldoc" as well when loading it via the Loader class. I've tried something like this:

code:
var loader:Loader = new Loader();
loader.load(new URLRequest("myMovie.swf?xmldoc=someXML.xml"));


Now I'm not surprised this doesn't work. But hey, it was worth a try. Anyways I'm trying to figure out how to submit this variable to the swf when loading it just like I can when embedding it into an html page.

Any help?

Changing Stage Props
I have a .as file that I'd like to reuse for manipulating Stage properties; the properties would be set in the .fla. Here's the .as file:


Code:
package classes{
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;

public class initStage extends Sprite {

public function initStage(scaleMode:StageScaleMode,align:StageAlign):void {
stage.scaleMode = scaleMode;
stage.align = align;
}
}
}
Here's the .fla code in the first frame:

Code:
import classes.initStage;
var setStage:initStage = new initStage(StageScaleMode.NO_SCALE,StageAlign.TOP);
Why doesn't this method work? Is this the best way to set up a .as function to manipulate Stage from .fla?

I had some great help yesterday, I figure I'd post this now in my first hour of trouble rather than wasting a whole day on it again...

Thanks so much for the help!

[FMX] Changing The Props Of Htmltext With AS
hello everyone,

i have a question about selected text in a input field.
i want to be able to change selected parts of text within a textfield.
i've messed around with onsetFocus and similer ones, it didn't work.

a example:

i have a textfield with a title and some text. i want to make the title bold by using a button and selecting the text.


I hope that someone can help me.

thanx .

Max
Maxgrafx

[FMX] Changing The Props Of Htmltext With AS
hello everyone,

i have a question about selected text in a input field.
i want to be able to change selected parts of text within a textfield.
i've messed around with onsetFocus and similer ones, it didn't work.

a example:

i have a textfield with a title and some text. i want to make the title bold by using a button and selecting the text.


I hope that someone can help me.

thanx .

Max
Maxgrafx

MovieClip Linkage Props
LocationList is a MovieClip that's not on the canvas, but is in the Linkage Props.

so how do I duplicate a MC that is in it?



Code:
stop();
// get information about the movie clip from the existing movie clip
var yOrigin = btnholder.msgbox._y;
// the y coordinate where to start the rows of buttons
var nHeight = btnholder.msgbox._height;
var ypos = yOrigin;
var nCounter = 0;
xmlpath = "list.xml";

function onLoadXML() {
if (true == xmlDoc.loaded) {
//trace(xmlDoc.firstChild.childNodes.length);
for (var i = 0; i<xmlDoc.firstChild.childNodes.length; i++) {
theAttributes = xmlDoc.firstChild.childNodes[i].attributes.location;
//trace( theAttributes );
// duplicate the "placeholder" movie clip
duplicateMovieClip(LocationList.msgbox, "msgbtn"+nCounter, (nCounter));
// set the position
LocationList["msgbtn"+ncounter]._y = ypos;
// set the properties of the new movie
LocationList["msgbtn"+ncounter].txtLocation.text = theAttributes;

// offset to the next position in the column
ypos += (nHeight-1);
// increment the "button" count
nCounter++;
}
}
}
xmlDoc = new XML();
xmlDoc.ignoreWhite = true;
xmlDoc.onLoad = onLoadXML;
xmlDoc.load(xmlPath);

// set MovieClip to ScrollPane
sPane.setScrollContent('LocationList');

LoadVars [erase Props]
Well i have this problem and im not sure what it is, here is whats happening:

im using flash+asp to store data in my database (ms access) the thing is that i need to refresh the data displayed on the screen every five minutes, im using a LoadVars object to bring the data, but it doesnt refresh, i checked the database, and the changes are being made but it just doesnt show up... the thing is that when i close the iexplorer browser and open the page again it shows now the changes...

my guess is that the LoadVars object is not erasing all of its properties even if i declare it as a new LoadVars() everytime... i tried erasing the properties like this:

for(prop in Sales){
delete Sales[prop]
}

and traces that Sales obj is empty again, but it stills shows the old data


any ideas? how can i erase all of the object properties??

thanks in advance

Multipple Move Of Frames And Props
I have two issues. One I wanted to know if it is possible to select and move multiple frames? I have a image that is moving frame by frame, I did the normal select all and moved it but only the last frame moves to new location and I have to do this frame by frame is this the only way?

Two on properties of images/graphics it does not show position (x,y scale) and the image size (width,h). How do I get this back?

Thanks

Public Props Or Access Methods
Hiya,

In AS 1, is it more efficient to use public properties with addProperty(), or wrap properties with getters/setters- I dont mean from a true OO / encapsulation point-of-view, but time. I need speed!!!

thanks in advance

mike

Video Class Props Not Recognised
I am building a video player using AS2 and publishing for V7. I have a video object (which is strong typed as Video in my classes) on the stage and am using NetStream and NetConnection to play an external FLV through it. I have also built a progress bar and in order to make this as reusable as possible I want it to set itself to the width of the video object and this is where my problem arises.
If I call videoObj.width it returns 0 and as I need the video object width not the encoded FLV width this would not do anyway.
If I call videoObj._width I get back the correct width but I also get the error message "There is no property with the name '_width'. This is also the case with _x, _y, _alpha etc. I can get and set the properties but I always get this error despite them being listed as properties of the Video class.

As the error does not seem to impact the way things actually work I could just ignore it but I would like to understand whats going on here so... any thoughts?

Cheers all

ScaleX & ScaleY Props Question
what is the right way to use the scaleX and scaleY properties? I don't quite understand how to use them...
right now, I'm using this, but I think scaleX and scaleY would be a better idea:

Code:
if(condition){
some_mc.width++;
some_mc.height++;
}
else{
some_mc.width--;
some_mc.height--;
}

Obj Props Via Assoc. Array Access
hi - how would one loop the following
Code:
this.addProperty("rb", function(){return new Color(this).getTransform().rb}, function(a) {new Color(this).setTransform({rb:a});
above works find, but when i try to loop it im unsure how to access the object property directly, altough the value's available
Code:
for (var i in new Color(this).getTransform()) this.addProperty(i, function(){return new Color(this).getTransform()[i]}, function(a) {new Color(this).setTransform({i:a});
it's that last bit {i:a} that's wrong, but i've no idea how to make it un-wrong :/

Accessing Stage Props From Within Function?
I wrote this custom MovieClip method that centers the clip to the Stage or to another clip:

ActionScript Code:
MovieClip.prototype.center = function(mc) {
 // if parameter is given center relative to mc
 if (mc !== "undefined") {
  this._x = (mc._x + (mc._width/2)) - (this._width/2);
  this._y = (mc._y + (mc._height/2)) - (this._height/2);
 } else {
  // if no parameter is given center relative to Stage
  this._x = (Stage.width/2) - (this._width/2);
  this._y = (Stage.width/2) - (this._height/2);
 }
}


Centering to another mc works fine, but when I try to center to the stage it centers to 0, 0 pushing most of the clip off the stage.

Outside of the function, however, it works:

ActionScript Code:
square_mc._x = (Stage.width/2) - (square_mc._width/2);
square_mc._y = (Stage.height/2) - (square_mc._height/2);


It seems that the Stage dimensions are read incorrectly from within the
function, which is strange because Stage is a global object.

Does anybody have suggestions to make this function work as it's supposed to?



.soma

Dinamic Text Field Props Problem
Hi all,

i have one mc that i duplicate many times and place the duplicats next to the initial. the problem is that when i create a dinamic text field in that mc, that is supposed to show some data the mc property _width changes which messes up my dinamic possitioning

here comes the code

populateContainerData = function () {
for (var i = 0; i<=count_containers; i++) {
_root["mc"+i].createTextField("text1", 0, this._x, this._y, (_root["mc"+i]._width)-15, _root["mc"+i]._height);
_root["mc"+i].text1.selectable = "left";
_root["mc"+i].text1.border = true;
_root["mc"+i].text1.autoSize = false;
_root["mc"+i].text1.multiline = true;
_root["mc"+i].text1.wordWrap = true;
_root["mc"+i].text1.text = (_root["var"+i])+"
"+_root["text"+i];
_root["mc"+i].text1.textColor = 0xFFFF00;
}
};

(_root["mc"+i]._width)-15 <-- return the width of my container mc

havent been here long time! but i hope there are still people whiling to help

10x in advance

How To Convert String Path To Access Obj Props
I have assembled a string which correctly references, in this case, a checkbox.

var pathBase:String = thePieces[0]+"."+thePieces[1]+"."+thePieces[2];

which looks like:

pathBase: mcHolder.record0.chk0

When I attempt to test the boolean selected

trace("pathBase: checked="+ _root[pathBase].selected);

I get:

pathBase: checked=undefined

I've tried:

trace("pathBase: checked="+ _root.pathBase.selected); and
trace("pathBase: checked="+ pathBase.selected);

Is there a way to coerce (cast) the String into a data type that'll work to
correctly reference objects?

Thanks, in advance!

Label Property Control: Cannot Change Label Props
Hi,

I have a simple movie with a number of pre-positioned labels (not to be confused with timeline labels or text fields). I'm trying to change their size, font type, and other properties with no success.

Are labels treated/manipulated in the same manor as text fields?

I've exhausted 4 AS books and can't see any differences.

Thanks,

j

Return A Protected Var Who's Props Are Also Protected
I want to be able to have a property of an Class that is protected, but can be pulled with a get function. BUT this get function protects the props of this object.

for instance:


ActionScript Code:
public class CustomClass
{
    protected var _bounds:Rectangle;
   
    public function get bounds():Rectangle { return _bounds; }
   
    public function CustomClass(x:Number, y:Number, w:Number, h:Number):void
    {
        _bounds = new Rectangle(x,y,w,h);
    }
}

but if I instantiate it and say:

myCustomClass.bounds.width = 500;

the bounds will be updated. How can I make it where the props of this protected object stay protected?

I know I could pass a clone of the property which would keep it protected, but takes up more memory. OR I could set functions in the CustomClass that only return these sub props, and doesn't set them. Kinda like this:


ActionScript Code:
public class CustomClass
{
    protected var _bounds:Rectangle;
   
    public function get boundsWidth():Number { return _bounds.width; }
    public function get boundsHeight():Number { return _bounds.height; }
   
    public function CustomClass(x:Number, y:Number, w:Number, h:Number):void
    {
        _bounds = new Rectangle(0,0,200,200);
    }
}

but that's a bit of an annoyance, and it doesn't feel as natural to have to say:

var h:Number = myCustomClass.boundsHeight;

as it is to say:

var h:Number = myCustomClass.bounds.height;

That in this latter choice makes it REALLY annoying to use methods supplied by these protected objects. Like hitTests or the sort.


any suggestions?

GetURL Or Not GetURL That Is The Question ...
Hi, please bear with me as I'm not a Flash programmer so am stumbling around here.

I have a SWF which uses a GetURL to pass a variable into the address bar. The problem is the variable it needs to pass is required by the existing form the SWF is embedded on. For reasons I won't bore you with I can't simply reload the form etc so the problem is of course GetURL opens a new page and in so doing loses the form I need the variable to be passed in to.

My question is this therefore - is there an equivalent command like geturl which puts a value in the url bar but DOESN'T activate it i.e. as if you didn't hit go/return in the browser OR a way to stop getURL from loading the "new" page?

Hope this makes sense and thanks in advance for any help ...

Using GetURL With A CD
i am making a zine/CD. i am using GoLive for the html folder and the site creation. in the end, the entire site will be loaded onto the CD. in one html page i have a .swf and in the last frame i want a button that when pressed will launch an .html file from the website i intend to put on CD.
i have tried different ways of putting in the url...and get varying results but none that work.
I am using the GetURL action and each time i can get the browser to launch a blank window....but getting it to find my file in the CD is another story.

if the folder with the site is called AEZ....wouldn't a link like

/aez/file.html work???
apparently not since i tried that. also tried using just the file name
/file.html and i get a server not found message in the browser.
is there a different action i should be using??

HELP.....this can't be that difficult, right?
fuzzy on the coding of this, Julie

GetUrl
this is really easy, I'm sure of it, but its just doing my head in
I'm making an interactive portfolio, there are some buttons that link to html files that will be on the cd with the projector. I want to open these up but anything that I put in the getURL command doesn't work, e.g

getURL ("media/test.htm", "_self")
getURL ("test.htm", "_self")
getURL ("file://test.htm", "_self")


etc
etc

Am I missing something, or can you not target a file without using the full address. I can't use the full address as I don't know what drive number the cd will be on the users machine, anyone know how?

cheers
Niall

ndmccormack@hotmail.com

GetURL
Anyone know where a tutorial is on using the getURL function in Flash 5? (Im a Beginner).

GetUrl
I Can't seem to have a flash button put a page in another frame?

GetURL
hello to everyone,

as u can c i am totally a newbie in flash.

ok here is my problem:

In this .fla file (done by someone else) it has a set of buttons with actions, which is getURL. the URL parameter calling a javascript function on my html page which will when open the URL (passed from the flash button) in a pop up window.

Now what happened is the pop up window would load up the url and then load it up again, this leads to a problem of flicking flashing the new window.(this is only with IE, in NS it works fine!)

So I tested my javascript with normal html links that works fine no such thing, and then I have put "_blank" in the window parameter fo the getURL action, saved it. and this time when ever I click on the flash button, it opens up two new pop up windows, but with error loading the required page.

So I am just thinking if this is a side effect of the getURL action, ir there is a similar action I could use instead of getURL to call the javascript function? or if any of you have expirience the problem before and have a solution for it?

any ideas?
many thx in adv
ivy

How To With GetURL ?
I need to pass a variable onto a querystring using getURL. The problem that I am running into is that I have flash movie embedded in an html page. After an if statement has been ran through in the flash movie the user is directed to a different URL. In addition to passing the URL using getURL I need to pass a reference number. I've done this before using loadmovie, but since I need to change the entire page not just the movie that won't work. Any help or suggestions would be greatly appreciated.

The redirect URL would be something like this with refNumber being the variable:

/test/direct.asp?refNumber= refNumber

Geturl
Is there any way to get Flash to link to a local file instead of a website? I know there must be a way, I just don't know what it is...

GetUrl
anyone know how to use getUrl to send varibles to the formMail cgi script...

my script works fine with an html form, just can't seem to simulate it in flash.... i'm probably doing something really stupid!

any ideas?

GetURL
I created a cd in with a Flash intro. when you click "enter" I have the
flash intro exiting and opening a browser window. It works fine on all
systems I tested it in except Windows 2000 ME. In 2000 ME, the flash
intro exits but does not open the browser. The problem has to be the
link in the enter button. It is...

geturl ("ra.html", "_blank");

tried this path also...

geturl ("./ra.html", "_blank");

Please let me know. Thanks.

Geturl....
Im wondering if anyone can help me on this problem.
On my website,i want to link to a url.I want to know how to tell tha url pop-up a specific location on where it should pop-up too using x and y co-ordinates..
I know how to resize tha pop-up,its just that i dont know how to control where it goes on tha screen.

Geturl
Hi!!

I've made a page with 3 frames, one on top, another on the middle and on the bottom.
on the top frame a have a flash menu and i want to open an html page in the middle frame by pressing on the flash menu in the top frame and i don't know how can i do it.

i hope you can help me... thanks!!

GetURL
I have a question about the getUrl action. I have an action that is supposed to open a html page within the same directory in a seperate window, but when the button is click with the getUrl action it doesn't open. Here is the action:
on (release) {
getURL ("memberform.html", "_blank");
}
What am I doing wrong??

Cgi + Geturl
okay, i am making my flash site a member oriented site, but i have no database experience.
Can anyone direct me to some tutorials/sources for a cgi+flash database????

Thanks.

GetURL (
Plz help?

Im linking two movies together with this code...

on (release) {
labeltogo = "Start";
}
on (release) {
getURL ("javascript:go()");
}
on (release) {
stop ();
}

I've successully added (start) to a frame(START) but how do I add or link labeltogo + "Start"; to a movie clip?

I need this info badPlz...
Any comments?

http://www.Thank You in Advance.com

>>>getURL<<<
hey guys... its me again...

this time I need to know why my getURL actionscript isnt working...

on (release) {
getURL(www.flashkit.com, _blank);
}

is there something wrong? am i supposed to check/uncheck the Expression boxes??

GetURL
I am making a product CD. On the MC, I created a button with a getURL link to a html file stored in the same folder as all the Flash files.

on(release){
getURL("D:abc.htm");
}

However, when someone installed the entire cd into their C drive, the getURL does not work because it is still looking at the D drive. Is there anyway to fix this? Thanks

GetURL......?
Hi,

I need a shaking window, and this the script i put in my Main movie,frame2

getURL ("javascript:shake_xy(5)");

Is not working, don what's wrong, can someone help?
Thanks

GetUrl Not Getting
on (release) {
getURL ("javascript:window.open('path.html','Design A Helmet','width=660,height=400');void(0);", "_blank");
}

I get all kins of browser errors when I use the javascript.

If I just put a path in there it works fine but I get the sloppy
browser window.

Peace
-Kvn

GetURL
I asked this in a thread lower down, as a side Q -

what variable do i need to use with getURL? I'm using a flash navigation system to control HTML pages below it on a webpage.

i use getURL, and put in the address of my page, but what other variables are needed? WHat is the Method and Window?

Cheers, and sorry for the double posting folks.

Sfilter

GetURL
Hi folks, I am brand new to this board and I have a question for you about the getURL function or equivlent.

I have a movie clip with a button inside it.
My code is as follows:

on (press){
getURL("mailto:blah@blahblah.com","_blank");
}

The problem is I simply want this link to bring up e-Mail but I cannot get it to work. If I put a real URL in place of the mailto: then it does work so I know I have everything else correct, I just don't have the right function or syntax.....can you help. I am using FLASH MX. Thanks a million

bevans@op-f.org

GetURL
Hi,

I have a little question about "getURL".

I have this code on a button:

-->

on (release) {
getURL("/1_dak_wand/33_250_1000_k.htm", "_self");
}

<--

This doesn't work. The HTML page where the flash navigation is running is in the directory above the directory where the content page is situated:

products/products.htm

the page I want to go is in:

products/1_dak_wand/33_250_100_k.htm

What am I doing wrong? When I try this, the adres bar shows:
C:1_dak_wand45_333_1000_k.htm

and so the page doesn't load...

Thx already,

ilClandestino

GetURL
hi guys..
I have set Netscape 7.0 as my default browser.
when i use :
getURL ("http://www.google.com")
function it is not opening the requested page. It was working fine when IE was set as the default browser..

pls help.....

Help With GetURL()
This is what i'm doing. I want to send a string to a html page using getURL(); If I'm not mistaken, getURL has a limit of 256 characters and if i concat more d,e,f,g it won't work. but if i use just a,b,c it works. As you can see i have a really long string that I want to pass to the html page. I want to know if there is a way to be able to get that really long string on a html page. I was trying to break up the string. I even tried multiple tries of getURL() and trying to send it to the same page as bunch of strings. If you have any idea how to fix this PLEASE let me know.
-------------------------------------------------------------------

trial = "The Kings dont have the NBAs best record, but they sure look like the NBAs best team following their highest-scoring game of the season. They also showed that the Mavericks new and improved defense also might need a few years of work, just like Sacramentos defense did a few years earlier. Everybodys saying theyve got great players -- the best power forward, the best point guard -- but youve still got to come out and play the game, Webber said. It takes a while to develop what weve got. You cant just wake up one morning and say youre going to do something. Led by Webbers 16th career triple-doub-- and the second of his spectacular season -- and Stojakovics 23 points, the Kings jumped to a huge early lead that demoralized Dallas in the seasons first meeting between the Western Conferences division leaders. It was the Mavericks worst loss of the season. We just passed a test, thats all, Webber said. We were confident that we would. Weve been through a lot in the last four or five years. When we get in a situation like this, we come out calm, confident and ready to go.They still trail the Mavericks (31-6) atop the overall standings, but the Kings (29-10) have excelled in every high-profile game theyve played season.";


a = trial.substring(0,100);
b = trial.substring(101,200);
c = trial.substring(301,400);
d = trial.substring(601,800);
e = trial.substring(801,1000);
f = trial.substring(1001,1200);
g = trial.substring(1201,1387);

open= "javascript:document.write'<html><head><title>WORK </title></head><body>";
write = "javascript:document.write('";
close = "</body></html>')" ;

getURL(open + a+ b+c+ close);
------------------------------------------------------------------

Help With GetUrl
I have a flash menu bar and i want to use it in a 3 frame site build with Dreamweaver. The thing is that every time i run this Flash meny movie, every Url link in the Meny bar opens at the sime time.
Ex. of one of the codes in Actions-Frame is:

stop();
getURL("http://www.halliburton.com", "mainframe");

I want to click on the Link and only that spescial site should opens in the Mainframe in Dreamweaver. Can anybody help me solving that problem?

GetURL.......
I dug through about 20 pages of getURL posts, and didn't come across anything that fixed this, and my eyes are starting to blur, so I'm just posting my own ?...

Got an intro, that after it is finished is supposed to open the main site page in the same window. Doesn't.

On the last frame of the intro, I made a keyframe (have now tried in every layer, as well as its own), and added getURL("http://www.mysite.com/blah/blah.html" , and anything and everything I could find as the window parameter, from "_self", to "this", and I even tried "_blank"...(Not what I want it to do, but having it do ANYTHING would be nice at this point) with no success.

Even switched to Normal AS mode and clickity clicked my way through with no help. Made copies of the desired .html in every folder on the server...Nothing.

The intro page is made with Dreamweaver MX, and has a 3x3 table, middle cell containing the .swf file made in Flash MX.

Help.

Thanks

GetURL X2
Gotta small problem and need any opinions. This isn't really FlashMX exclusive, but figured there might be good answers from experience here.
When I launch a popup from a Flash Web Page or even a script intensive page (Java, whatever), my .swf in the popup tends to run a little slower unless I close that specific originating page behind. And of course you can't close an originating page automatically without the alert window. With that in mind my question is:

Can you launch two windows (1 _self & 1 popup) from the same button using onPress AND onRelease. Actually, I know it can be done cause I did it here locally on my computer, but will it cause problems on some computers out there or do you foresee problems doing this? The _self page would just be a "thanks for visiting" type page with no scripts or swf's embedded. Or would you have another suggestion to maybe fix my prob. Any comments appreciated.

GetURL
hi. i'm working on a pretty dense flash piece and now, at the end, i have a submit button which uses getURL to append a variable and i'm not quite sure how to do this with the proper syntax. here is my code:

getURL("http://www.domain.com?products=items", "_blank", "GET");

the variable i want to send is called "items" and i want the url to appear as such: http://www.domain.com?products=...

is my syntax right? i think i'm off.

thanks!

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