Controlling Location Of Pop-up Windows
Okay this is really a javascript question but we have a lot of bright designers out there...
I'm wondering how to control the location of my pop-up windows. I'm familiar with the 'deadCenter' javascript coding but it only works with one url. I'm wondering how I can tinker with this coding so that I can do the same with multiple urls?
As an example, I have a list of questions. When you select the first question a pop-up window appears to the right of it. I want to be able to do the same with the 3rd, 4th, etc. questions.
Any thoughts?
Thanks.
FlashKit > Flash Help > Flash ActionScript
Posted on: 10-31-2001, 11:27 PM
View Complete Forum Thread with Replies
Sponsored Links:
Removing Tools, Location & Scrollbars On Both Windows AND Macintosh
Greetings,
I have an invisible button in a flash movie.
http://www.t-i-w.com/staging/edpead/index.html
The invisible button becomes available when the words "CLICK HELMET TO ENTER" appear, just click the helmet. Those of you who have a Windows machine AND a Mac at your disposal, open the site on both platforms, click the helmet and watch what happens. On the Windows side it does EXACTLY what I want (no tools, scroll bars, location etc. and edge-to-edge graphic placement). On the Mac side I'm not so lucky.
On the Mac side:
1. The window is opening WITH location, scroll bars, tools etc. I DON'T WANT IT TO DO THAT!
2. There is also a gap of about 20 pixels on the East and South edges that shouldn't be there. It looks as though the window is 760 x 420 pixels wide and the graphic is 720 x 400.
If I were to build an HTML page that had a text or graphic link, I could use Dreamweavers Behaviors to open a new page when the user clicks the link and tell it the exact size and what tools it should have AND IT WOULD WORK ON BOTH PLATFORMS!!!
Why isn't Flash behaving as such? What do I need to do?
Here is the code attached to the invisible button layered above the helmet:
on (release) {
getURL("java script:window.open('http://www.t-i-w.com/staging/edpead/html/mainindex.html','newWin','width=760,height=420,lef t=0,top=0, toolbar=No,location=No,scrollbars=No,status=No,res izable=No,fullscreen=No');NewWindow.focus();void(0 );");
}
!pleH
View Replies !
View Related
Controlling Movie With Mouse Location
I am simply trying to do this: put a movie on the stage and as the mouse moves closer or farther from the movie, the movie plays forwards and backwards. The movie I made is a circular logo with navigation buttons curling out from it like a jack knife. My idea is to have the buttons curl out as the user moves the mouse closer to the logo and curl back in as the mouse moves away.
I understand the coding concept - calculate where the cursor is on the stage, figure out the distance of the cursor to the logo movie, and just go to certain frames in the logo movie based on that distance.
I have the stage, the logo movie, and even the code to figure out the the mouse location. But beyond that, I need help. I just don't know enough about actionscript syntax and although conceptually this seems like a basic exercise, I hit the wall. If anyone is willing to help, the .fla file can be downloaded here:
http://0099d33.netsolhost.com/westside-home2.fla
View Replies !
View Related
CONTROLLING WINDOW LOCATION In Stand Alone Player.
I'm hoping this is a stupid ? with an easy answer. When I package a windows standalone projector (1024x700) that does not use fullscreen mode, at execution the window is positioned half on/ half off the (1024X768) screen . Is there an FScommand or similar for controlling window loaction in the stand alone player?
Thanks for any insights you can provide.
_Adam Bedard
View Replies !
View Related
Problems With Fluid Movement: Controlling The Frame Location Of One Movie With Other
Dear guru's, friends and famed flash soluition people!
I've been working on an issue in flash for some time now, and I can't seem to solve it.
I have a few layers in my flash applicaiton. _level0 has a slider and controls the frame position of another layer's movie on _level1.
When the user doesn't drag the slider, the movie plays after a short pause.
I create the illusion of motion by increasing the slider's x position by 1 every frame and then the _level1 movie is moved to the frame corespondiing to the x position of the slider.
It all works great, except that durring playback the _level1 movie sometimes stutters - it somehow never gets to the next frame it needed to get to, and so it misses a "step" or two in its motion.
I've tried profiling my applicaiton, and streamlined it as best as I could, and I even removed loads of layers of code to just test the playback. I also changed my system to work on an interval bassis instead of using onEnterFrame. With both methods I still get stutters...
I've also tweaked the ratio of the slider's range of motion to the film, or increased the films length, or slowed down or sped up the sliders motion per interval/frame - finally I have also tried different frame rates [currently at 20fps]
Is there anything else you can think of that i can try? It feels like the second layer just isn't high priority in flash's mind and therefore it reacts slower...?
Is there a better method for controlling the playhead [frame position] of one movie from another?
Your assistance is greatly appreciated; i've exausted all the options I can think of...
With kindness,
Sebastian.
View Replies !
View Related
Controlling Multiple Movie Clip Location Using Single Function
I need to write a function which should fix the location of the movie clip on the stage.
public function setCoOrdinates(xpos:Number,ypos:Number,movieName:S tring):Void
{
eval(movieName)._x=xpos;
eval(movieName)._y=ypos;
}
My function is as above. While I use this function in flash I only see the last movieclip on the stage which was passed. Movieclips passed earlier seem to have disappeared from the screen.
setCoOrdinates(20,200,"bButton_mc");
setCoOrdinates(530,100,"fButton_mc");
I see only "fButton_mc" on the stage. Even though I set different xpos and yposs for the movie clip.
View Replies !
View Related
Controlling Clip Location With Other Clip Location
That title was admittedly confusing...but I don't know a better way of putting it. I want to create an effect like is on http://www.lennon.net/familytree/familytree.html The small map in the right hand corner controls the large map in the middle. I have a version that is a little bit different, but essentially the same. It has a clip in the middle (mine is a drag and drop instead of having scrolling buttons), and it has a zoom in and out function. The zoom is where I get completely lost because I don't know how to relate the two objects with the correct equation especially when the size will be changable. If anyone can point me to a tutorial or another thread that discusses any of this, that would be fantastic...I don't expect you to write all of the script for me, but just point me in the right direction.
Thanks.
View Replies !
View Related
Controlling Attributes In Pop Up Windows
I'm trying to control the attributes of a pop-up window from within Flash.
I'm using a javascript function which I call from the getURL action attached to the button in my movie.
The problem is (some) not all of the attributes are being given to the pop-up window when it opens.
Does anyone know the specific syntax for calling a javascript function from the getURL command?
Is there a simpler way to accomplish this?
I basically just need it to hide all the attributes of the pop-up; location, scrollbar, etc.
View Replies !
View Related
Controlling Browser Windows
okay... my dilema today is controlling the windows that my new flsah documents are opening up in... i have been going through book after book , and all i get is a blank white browser saying the page is done but no changes to the window's size, or attributes etc... is there any way that i can make the toolbars etc dissapear, and still retain the content... i am finding this whole thing confusing...
help
View Replies !
View Related
Controlling New Opening Windows
Hello again!
Once again I have a problem.
On the site im building in flash, I have a series of thumbnails that I would liked to be viewed in a new window when they're clicked on.
The problem is that I have no idea how to do this.
Ideally I would like to have the new windows open at specific sizes in order to accommodate the exact size of the picture's to be viewed.
Also, can anyone provide details on opening just a plain looking window(eg - with no menu, and just the 'X' in the corner to close the window).
Any sort of help on this would be appreciated greatly.
Cheers
View Replies !
View Related
Controlling Windows/programs?
If i have both a Microsoft Excel file and a webpage with a swf file running at the same time, is there any way I can program the swf file to bring the Excel file to focus when a button is pressed within the swf file?
Thanks for ideas!
View Replies !
View Related
Controlling Windows Media Player
I use the following script in flash to call on a custom function named sound()
Code:
on (release) {
getURL"javascript:sound()"
}
Inside my HTML code I have defined the following function to mute the sound:
Code:
function sound() {
if (mute=="false") {
document.WinMedia.mute="true";
mute="true";}else{
document.WinMedia.mute="false";
mute="false";}
}
This code works perfectly when called on via HTML, but for some reason doesn't function when used with Flash.
I called this other custom function...
Code:
function stopmovie () {
document.WinMedia.Stop;
}
and it works perfectly using flash as an interface. Any ideas why the first script wouldn't? Thanks
View Replies !
View Related
Controlling Windows Media With Javascript
Hi
I've got a wmv file playing in a layer above a flash movie and using flash to control it, everything works fine
The strange thing is when i call the javascript
PHP Code:
function playVid ()
{
Player.controls.play();
}
function pauseVid ()
{
Player.controls.pause();
}
if i call the javascript from within html, if i toggle between play & pause it plays pauses, etc... fine, but when i call the javascript from flash it pauses fine, but when i press play it starts from the beginning of the wmv again.
Anybody any idea why this happens when it's the same piece of javascript that's being called?
Cheers
Andy
View Replies !
View Related
Controlling The Scene From A Movie + Opening Windows
Hi all,
I think I'm getting the hang of this flash lark, but there is still a lot that evades me!
Part 1:
Currently, I have a scene, and when a button is pressed, it jumps to a different frame in the movie where I have inserted a movie clip. In that movie clip I want to have a button that I click and it takes you back to the 1st frame of the entire scene, but I can't see how to do it.
I've tried using the "tell target" command, but I get a BASE error! At this stage I went crossed eyed and gave up!
Can someone tell me how I tell the button to go to a frame outside of the current movie clip?
Part 2:
I also worked out a little while ago how to open a new window from flash withou the menu, scroll bar, address bar etc, but I've lost the .fla! Can someone tell how I did it/ how to do it again?
Thnax a lot people
Jamez
View Replies !
View Related
Flash To JavaScript Controlling Windows Media
Okay, I have a unique situation. I am using a Flash movie in one window to change the content of a frame containing an embedded Windows Media file. I have the Javascript worked out to change the page and play the movie, but I need to also be able to jump to a marker within the movie. The problem is that by the time the movie is loaded, the command to jump to the specified point is lost. Any ideas how to (in one click) change the contents of the other frame, pause about 5 seconds, and then send the command to jump to the point? I tried putting two "getURL" commands on the same button with a delay set inbetween, but it would only read one of the "getURL"s.
The code that I'm using is as follows:
on (release) {
myURL = "javascript:void(parent.frames['mainFrame'].location.href='sunday.htm');void(parent.frames['mainFrame'].Player1.controls.currentMarker=7);void(parent.fra mes['mainFrame'].Player1.controls.play());";
getURL (myURL);
}
The url is http://test.namb.net/sbc_FLASH_2002/default.htm
I'm counting on you guys!!!! Thanks!
View Replies !
View Related
Controlling Windows Media With A Flash Interface
Is it possible to control a Windows Media File with a Flash interface.
Is there a tutorial out there that does this. My company is stuck on the whole Windows DRM thing...sigh
I was hoping that I could build the controls into Flash and treat Windows Media as a controllable embed
has this /can this be done ?
g
View Replies !
View Related
Controlling Windows Media Palyer From Flash
Howdy All
Im looking for some custom controls for windows media player. I know theres a way of actually controlling the volume and stuff with javascript but i cant seem to find a tutorial or anything on it and I thought there would be a way with flash,,,, so if anyone knows how of of a good simple tutorial please can you help me out.
Nice One and happy flashing
oh yeah and if anyone wants St. Georges day as a national holiday Click Here
View Replies !
View Related
Controlling Windows Based Applications In Flash
hi
just wondering how id go about controlling for example the play buttons stop buttons on winamp or windows media player in flash movie, i know i can get movie to run through a link on flash, but i wanted to control the movie in flash,
even better, id love to be able to have a windows media player embeded in my flash movie, that would be my ultimate goal
please i really need help thank you in advance
View Replies !
View Related
How To Move An Object Slowly And Smoothly From Location 1 To Location 2?
Hi,
I am new to ActionScript. I wish to use ActionScript to move an object slowly and smoothly from location 1 to location 2.
I learned that I can use the following to move an object to location 2 (x2, y2):
mThisObject.x = x2;
mThisObject.y = y2;
However the object just "swift" from location 1 to location 2, not moving slowly and smoothly from location 1 to location 2.
Could some experts here provide a guideline for me?
Thanks and best regards
Alex
View Replies !
View Related
Xml Read From Dynamic Location Or Web Location
hello, i am working on a site which uses a flash menu i was handed
i have never worked with flash, but i suspect my problem is really easy to solve
the flash menu uses an xml file to generate, it works fine as long as one stays at the top-level dir of the site, say http://www.example.com/
when someone enters a page, say http://www.example.com/test/ the menu stops working, being unable to read the xml which is hardcoded to be in the same directory as the page it's called from (menu.xml is in /)
i must say that the locations visible to the browser are not real, everything non-top level in http://www.example.com/test/page/ is just mod-rewrite, thus none of the directories test or page really exist
i can see the reason why flash looks in the same directory as the one the client requested for the file (instead of looking at the same dir locally in example), but i can't seem to find a workaround to fix the menu myself without touching the flash code, so the two solutions i thought of:
1. is there a file_exists function i could use to make the flash recurse upper-level directories until the menu finds the xml file? as in:
quote:var menufile = menu.xml
while (!file_exists(menu.xml)) {
menufile = '../' + menufile
}
obviously this is not real code
2. is there a way to open the xml from a web location and not from a static path relative to the swf itself?
i googled for both but i could not find a clean or satisfying solution for either.. any answer on those and/or any other recommendations for a workaround would save me
View Replies !
View Related
Location-location Movement
Well... I'm working on a new game, which is sort of like a pokemon/golden sun etc. style RPG, but isn't tile-based. I have been setting up the actual moving from one screen (location) to another, and it all goes fine if i have just 3 arranged like this:
<1><2>
<3>
but if i add a fourth below screen <2> it all suddenly goes haywire.
move right from <1> and u end up in <4>, move left from <2> and you end up in <3>, move up from <3> and you end up in <2>.... you get the idea. can anyone help?
this is my code:
ActionScript Code:
if (grim._x<0) {
grim._x = 306;
if(bg._currentframe=2) {
bg.gotoAndStop(1);
}
if(bg._currentframe=4) {
bg.gotoAndStop(3);
}
}
if (grim._x>306) {
grim._x = 1;
if(bg._currentframe=1) {
bg.gotoAndStop(2);
}
if(bg._currentframe=3) {
bg.gotoAndStop(4);
}
}
if (grim._y<0) {
grim._y = 212;
if(bg._currentframe=3) {
bg.gotoAndStop(1);
}
if(bg._currentframe=4) {
bg.gotoAndStop(2);
}
}
if (grim._y>213) {
grim._y = 1;
if(bg._currentframe=1) {
bg.gotoAndStop(3);
}
if(bg._currentframe=2) {
bg.gotoAndStop(4);
}
}
('grim' is the character and 'bg' the set of locations, each location set on a different frame)
View Replies !
View Related
Problem In Running A Flash MX-2004 Application On Windows 98 Adn Windows NT.
Hi all
I have this problem ......here it goes.....
Actually I developed a Flash MX-2004 application which has to run on both mac and windows platforms.
This application does the funciton of a dictionary and has 46 xml files and close to 13000 sound files.
This application runs fine on most Windows platform, however it doesnt work on Windows 98 and Windows NT where though the intro animation comes & the home screen loads....the application part of the program doesnt load.
Why is this so??? I am totally clueless...please help....
Do I have to make the intro and exit animations as separate swf files adn call them????
Please help....
View Replies !
View Related
Flash Popup Adverts/windows That Aren't Windows
Hi there
Just wondering if anyone knows any links to tutorials to make those flash adverts you find on websites? They are actual popup windows but flash boxes that appear above a webpage.
I think they use div layers as well as some flash? But im not sure where to find a tutorial!
For an example visit:
http://www.channel4.com/4car/news/index.jsp
(you might need to click on several pages down the left to get one to appear)
Any help on this would be a great help.
Thanks
View Replies !
View Related
How To Create 'Windows' Windows With Flash?
I'd like to create a windows system like the one we use on windows. This is what i really like:
Yo have some buttons. When u click on any of 'em a popup window opens (inside could be text, image or movieclips or all of 'em). Last window it opens always shows up on top and if u select one that it's behind this comes automaticly to the top. I'd love too if u could minimize 'em and also if eacho one opens into a new swf.
There is a example of what I want here:
http://senocular.com/flash/source.php?id=0.49
But in that example everything is in the same swf, and as I said some lines before I want each window to open into another swf.
...........hope u can help me. Thanks!
View Replies !
View Related
Windows Emulator.... Having Trouble With Minimizing The "windows".
I'm creating a website that will behave kinda' like Windows. I have a basic menu that when you click on an option, a window will open up. You can drag the windows and close them. However, I'm having trouble with the minimizing part.
Lets say that I have 3 "windows" (each is a movie clip) called "win1", "win2", and "win3". Each window has an instance of a minimize button. When you click the button, the window should minimize to the bottom of the screen, and line up in the order that it was minimized in (just like Windows). I figured out how to get them to minimize, but I can't get them to sort themselves correctly.
Lets say that I just minimized all three windows in this order:
win1, win2, win3
Now, if I click on win1 to maximize it, I want win2 and win3 to shift over to the left to take the place of win1. Then, if I minimize win1 again, it should go to the end of the row. Resulting in this order:
win2, win3, win1
Does anyone know of any code that I could make these windows sort themselves when they are minimized and maximized?
Thanks!
Lee
View Replies !
View Related
Interesting Issue With Flash And Windows - Flash Start With Windows?
Hey guys,
I'm programming a flash application that would run on a user's desktop (using MDM or similar programs to convert to a transparent background EXE).
My client would like to have the users select weather they want to application to start with windows or not. I would like to know how to make my flash application start with Windows without manually adding it (the users won't have to add it to the startup folder themselves). Can flash write to the registry? Can a third party program do it for me? The client wanted to EXE to run without an installation. Thank you very much!
Yuval Karmi
View Replies !
View Related
Windows To Mac To Windows Problem
I'm a Mac user and I'm working on a large project with a client who is using Windows XP. My client is creating some Flash content in Windows and then sending the .swfs to me to incorporate into the site.
These files play fine on my computer. I upload them to my web server and my Windows-based clients are able to view them over the web. However, if I email the .swfs back to my client, they won't run on the Windows computer. This is a problem, since it's my client who will ultimately be hosting the site.
There is no problem with .swfs that I publish on my computer and then email to my client.
Any ideas?
View Replies !
View Related
Location, Location
I have a cd presentation where I have loaded an external .swf into scene 4 of my main movie in a new layer using :
on (release) {
loadMovieNum ("indo.swf",1);
gotoAndPlay ("Scene 4", 2);
}
The .swf positions it self as default in the top left hand corner. I have tried to repositioning it by adding:
on (release) {
loadMovieNum ("indo.swf" , 1);
_level1._x=350;
_level1._y=275;
gotoAndPlay ("Scene 4",2)
}
It still shows the .swf in the top left corner. Is this the right action script in the wrong palce or the wrong action script in the wrong palce?? I want the .swf to play roughly in the centre of the screen. Any suggestions.....
Thanks.
View Replies !
View Related
Location, Location
I have a cd presentation where I have loaded an external .swf into scene 4 of my main movie in a new layer using :
on (release) {
loadMovieNum ("indo.swf",1);
gotoAndPlay ("Scene 4", 2);
}
The .swf positions it self as default in the top left hand corner. I have tried to repositioning it by adding:
on (release) {
loadMovieNum ("indo.swf" , 1);
_level1._x=350;
_level1._y=275;
gotoAndPlay ("Scene 4",2)
}
It still shows the .swf in the top left corner. Is this the right action script in the wrong palce or the wrong action script in the wrong palce?? I want the .swf to play roughly in the centre of the screen. Any suggestions.....
Thanks.
View Replies !
View Related
This.location();
In flash MX I was wondering how to get tell flash to return the current URL location.
For example in php the var $PHP_SELF would return the current URL location. Or in javascript it would be something like this.location.
Does flash MX have some sort of function that would return the current URL? Thanks in advance..
View Replies !
View Related
Location Chk
Hello,
how can i know if my swf file is loaded on my domain name and if its not i wish to know how to redirect to my domain name
thank you for any input,
George
View Replies !
View Related
Get Location Of MC
I am unsure how to make an MC appear at the location of another MC, I am unsure how to put it on the MC without interfering with the MC's other animations for example if going left, play left animation etc etc, or if that is even the proper way to do it,
unless there is a simple way Get MC coordinate command?
and if so how to put it on a specific part of the MC
View Replies !
View Related
Location Of A Hit
Hi,
I'm doing some physics simulation work, and I want to be able to find tangent lines to points of collision for arbitrary shapes. I'm thinking about doing this by manually trying to find points on the boundary lines of the shapes near the point of the collision. However, at this point I don't even know of a simple way to get the coordinates of where a collision happens (for a hitTest collision with another clip as an argument). I'd appreciate any suggestions for this. Thanks.
View Replies !
View Related
X And Y Location Between MCs
I want an MC that will remain locked within the bounds of another MC's perimiter once its dragged in. To do this, I set bounds as follows below:
this.startDrag(false, _parent._parent.PL_Drop_Zone._x-6, _parent._parent.PL_Drop_Zone._y-40, _parent._parent.PL_Drop_Zone._x-6, (_parent._parent.PL_Drop_Zone._y+_parent._parent.P L_Drop_Zone._height-60));
Two questions:
1)
To get the line above, I spent some time tweaking, as for some reason
_parent._parent.PL_Drop_Zone._y
didn't exactly mean the top of the other MC (where the other MC is PL_Drop_Zone).
Why did I need to do this tweaking? Why does the difference of the upper bounds and lower bounds of the PL_Drop_Zone not match the height of it?
2)
I have duplicates of the original MC I want to move. I have found that their location determines the bounds also. For example, after I tweaked the above line to display correctly, I put the same code in a duplicate movie, positioned right below the first one. It moves the bounds down just a little, equal to it difference in position relative to the first MC.
Why would an MC's position affect the startDrag boundaries, if its properties are not used in the actual bounds?
Sorry for the longwinded explanation! Even a link to a page explaining coordinates and MC location properties could be helpful.
Thanks!
View Replies !
View Related
CSS Var Location?
How do you change this code so that it works when the swf timeline its on, is loaded into a movieclip on a main swf stage (_root.loadarea)
It works fine on its own but dont when loaded into the loadarea mc.
Code:
var format = new TextField.StyleSheet();
var path = "http://www.kirupa.com/developer/mx2004/code/flash.css";
var quick = "<br><p class='one'>The quick Kirupa jumps over the lazy dog.</p>
format.load(path);
format.onLoad = function(success) {
if (success) {
output.styleSheet = format;
output.text = quick;
} else {
output.text = "Error loading CSS file!";
}
};
Also can someone alter it for text that's being loaded in from txt file?!.....ta!
View Replies !
View Related
HELP : X, Y Location
Hello,
I have a MENU that only plays if an INVISIBLE BUTTON is hovered. However, I wanted that there will be no invisible buttons but when the MOUSE moves around the entire movie area, it will play the MENU.
Any tutorial for this?
Thanks
View Replies !
View Related
CSS Var Location?
How do you change this code so that it works when the swf timeline its on, is loaded into a movieclip on a main swf stage (_root.loadarea)
It works fine on its own but dont when loaded into the loadarea mc.
Code:
var format = new TextField.StyleSheet();
var path = "http://www.kirupa.com/developer/mx2004/code/flash.css";
var quick = "<br><p class='one'>The quick Kirupa jumps over the lazy dog.</p>
format.load(path);
format.onLoad = function(success) {
if (success) {
output.styleSheet = format;
output.text = quick;
} else {
output.text = "Error loading CSS file!";
}
};
Also can someone alter it for text that's being loaded in from txt file?!.....ta!
View Replies !
View Related
CSS Var Location?
Hey up all!
Ive got this code:
ActionScript Code:
var.format = new TextField.StyleSheet();
var.path = "http://www.mywebsite.com/flash.css";
var.quick = "<br><p class='one'>The quick Fox jumps over the lazy dog.</p>
format.load(path);
format.onLoad = function(loaded) {
if (loaded) {
output.styleSheet = format;
output.text = _global.quick;
} else {
output.text = "Error loading CSS file!";
}
};
Which is loading in the var.quick as CSS formatted txt. which works fine when tested at _root level....but the swf file I have it in is being loaded into:
ActionScript Code:
_root.loadarea
Which makes it stop working. Ive figured its down to the level where the variables are being stored....but Im having a bit of a thick moment and forgotten how to target them with this code!
Any ideas?
Also....if I want to CSS format some dynamic txt loaded in from a txt file....what do I need to change/add above?
Thanks all!
View Replies !
View Related
Specifying Location For LoadMovie
I'm using a loadMovie script to load a new .swf file on level 1. It works but it loads the newmovie in the top left corner of screen (or over the top left corner of level 0 movie) I want to specify where I want the movie to load on the screen.. How do I do that....
help please..
thanx....
View Replies !
View Related
Location Information
Hi a friend told me that I could find a flash tutorial that consists of working with databases by using ASP i was just wondering if someone new where it was i can;t seem to find it.
View Replies !
View Related
How To Loadmovie At A Particular Location In A MC?
I have been able to use loadmovie option and play an external swf file over my current movie, it loads the movie and plays it, with the source movie bkgd behind it.
But it plays the external swf on the left hand top corner of my original MC. I want the movie to play at a specific location and also in a smaller size than its original file.
How do I specify that in the actionscript ?
View Replies !
View Related
Location Value As A String?
heres what I have.
a text box value in this case b1 on _level0
ontop of that is a movieclip whose location is _level0.b1
this is repeted 38 times so the next text box is b2 movie clip _level0.b2 etc etc...
What I want to do.
So I only need one symbol for the movie clips that go ontop of the textboxes im trying to read its location, and from that i can get a value for which text box it represents.
What I have done.
in the movie clip is the following action script
location = this;
day = location.toString();
day1 = day.indexOf("b") +1;
gridday = day.slice(day1);
for some reason it fails from day = location.toString(); instead of the variable day being "_level0.b2" its "[Object object]"
This i cant understand, as the variable location does equal _level0.b1 so why once made a string does it change to [Object...
Any help most appreciated on how i can solve this problem, or maybe another soloution to what id like to do.
Thanks everyone!!
Danny
View Replies !
View Related
Location - Get Url - Pop Up Size
my flash button suppose to pop up a window with width=320 height= 240 with no status or toolbars or menubars.
and the file that the button is link to is in a sub folder. so wats the actionscript? this is wat i have below. but i cant load this up cos the link is local harddisk.
------------------------------------------------
getURL ("file:///C|/Sutzdesign/Web projects/mila closet/htdocs/tvc/tvc.html", "_blank ");
------------------------------------------------
please help!
thanx
View Replies !
View Related
Movie Location
im using the loadMovie action to load an swf, but it always loads it at 0,0. how can i change this. also, ive seen this atachmovie method around but dont see how it works. i would preferable like to be able to have one swf with several mc, then from another swf, load any mc of my chossing fromt he first. which is a better way? and how can i tell it where to go?
View Replies !
View Related
Random Location
hi guys,
I am making the following movieclip
several buttons and a plane which flies above a map.
I want to following to happen
I click on button 1 and the plane goes to location 1
I click on 2 and the plane goes tol ocation 2
I click on 3 and the plabe goes to....yes to location 3
I click on 4 and the plane goes to location 4
I click on 5 and the plane goes to location 5
etc..
it's easy to make if the user will use the buttons from 1- 5. Unfortunately this is not going to happen...the user will go from 1-3-2-1-4-3-5 or something.
But I want the plane to fly to the correct location...from every point
Unfortunately I have NO clue on how to start...I downloaded MX trial version now ( i have Flash5 experience, but i am not a good programmer)
Can somebody help me on the way?
Thnx!
Joris
PS. if somebody has a wordl map that is vector based and is willing to share it with me....please let me know, still looking for it
View Replies !
View Related
|