Moving Flash From One Location To Another
A customer of ours has asked us to copy their existing site as they are unable to get hold of the developer who originally built it and they need to update the site. We used Httrack and this has copied everything exactly and when I run the site on my machine it runs fine, however when I put the site on our server on a sub domain it doesn't load the flash movie even though it is pointing to the right place Code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...s/flash/swflash.cab#version=6,0,29,0" width="518" height="104"> value="swf/swf.swf"> <param name="quality" value="high"> <embed src="swf/swf.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="518" height="104"></embed></object>
SitePoint > Design Your Site > Flash and Actionscript
Posted on: Jan 10, 2005, 09:17
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Moving A MC To A Random Location
two questions actually....
1st...On a mouse over...I want a movie clip to move to a random location on the stage.
2nd...somewhat related...I want to be able to click...anywhere on the stage...and the movie clip goes there.
I know how to do this with "easing"....but I want the movie clip to follow a path...not a straight line.
In other words...if I had a maze....and I clicked somewhere in the maze....the movie clip would follow the maze to the location.
Too much to ask?
Any help would be appreaciated!
Thanks!
Moving Different Objects To One Location
Howdy, i have the following problem
First Object: x100 y100
Second Object: x400 y400
Thrid Object: x200 y200
when a counter reaches a certain number they all have to move to
x300 y300
how can i do this via AS??
any help
thanx in advance
Moving A MC To A Random Location
I want to move a Movie clip....to a random location on the stage...based on when a user does a mouse over on the Movie clip.
In other words.....if I had a little box...in a movie clip...sitting on the main stage...and you mouse over it...I want it to "slide" to another location...but I want it to be totally random...
What type of code do I use?
Any suggestions would be appreaciated.
Thanks,
Mark
Moving A MC To A Random Location
I want to move a Movie clip....to a random location on the stage...based on when a user does a mouse over on the Movie clip.
In other words.....if I had a little box...in a movie clip...sitting on the main stage...and you mouse over it...I want it to "slide" to another location...but I want it to be totally random...
What type of code do I use?
Any suggestions would be appreaciated.
Thanks,
Mark
Moving Site To New Location But Always Looks At Old Links
I have made a site in dreamweaver with a flash navigation bar.
Clicking on a button in the flash nav bar loads a new html page below it.
However, when I transfered the whole thing from my drive to the internet the buttons were still looking on my hard drive for the pages.
(macintoshHD/users/jennie/sites/olympus/home.html).
I had to go back into Flash and re-do all the links to correspond to the web site address: (www.olympus-automation.co.uk/home.html)
This was fine, but now the client wants to put the site on all his salesman's PDA's but of course the PDA is now looking for the files on the Internet even though they're all stored in it's memory.
Is there any way of making the files work in the same way that Dreamweaver does? Dreamweaver is intelligent enough to figure out that when you move a site to a new location, all the relevant files have moved with it....
Any help would be appreciated as I'm in the brown sticky stuff - big time!
Jennie Flowers
Alive Studios
admin@alivestudios.co.uk
Moving (teleporting) A Movieclip To A New Location.
Hmmm, it is late and I am pretty tired out right now. Do you guys know of a way to make it so when a movieclip (The moveable "character" in my side scroller) hittests another movieclip the character is moved (teleported) to a new location? Thanks guys, I really appreciate it.
Moving An Object To Another Objects Location
hi, i am creating a vertical shooter adaptation.
i am trying to create the enemy units to fire in a direction at the main unit.
The problem is that the bullet follows the main unit instead of moving in a straight direction where the unit used to stand.
I am using timers for creating the animation and i have tried changing the rotation of the bullets. I have got it to rotate in the direction i want it to but it doesnt move there.
i am also trying out this temp object thing where an object is left at the main units last location and the bullet travels to that location. its not working yet but i am going to give it another try.
Duplicating Mcs And Moving To A Specific Location
hi in this fla i have a square duplicating it self going to the right when it reaaches a certain value it goes down one "line" the problem is when it goes down it won't duplicate and move the _x value.. or something like that ...check the fla
any help really really appriciated!!
thanks ahead, z00m
Moving Clips To Specific (x,y) From An Unknown Location
Okay Flash Gods... I have a clip that is floating about the stage... now when I release a button I want the clip to travel to a specific point on the stage... by travel I mean I want to see the clip move to the point.. not immediately appear to it.
I'm using Flash MX (not 2004)
-Pez
Moving From One Html/swf To An Exact Location In Another Html/swf
Please help.
I'd like to move from one URL that contains a Flash movie to an exact location of another URL's Flash movie. Moving from URL to URL is easy to do, but I'd like to go to a specific location in the new URL. Something like ... from: test.html (which has flash movie) to: whoopdiedoo.html (which has flash movie) and I'd like to immediately go to "frame 20" or to a label called "stuff" or to "Scene 3", "frame 6", within the whoopdiedoo.html Flash movie. Is this possible to get a very specific location in a getURL command? To Help out how about this is used as the example.
Assume I'm presently on ... test.html (test.swf ... and I've released the button in test.swf that will direct me to the exact location of another .swf in a different .html.)
What will the code be to have the On Release of the button direct me to ...
#1) different.html (containing diff.swf and frame 70) or
#2) dfifferent.html (containing diff.swf and Scene 2, frame 70) or
#3) different.html (containing diff.swf and Scene 3, Label of "dog")
Assuming all pages are in the same folder.
Flash MX 2004
Thanks ... Gord
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
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
Help Can Flash Get It's HTML Location URL?
Hi!
I am trying to create a Flash menu in a HTML site that, when loaded, will automatically detect where it is within the site and extend the appropriate sub-menu buttons. I have tried the _url property, but it returns the location of the .swf file which is in the same location all the time, in the img folder.
I know there is a location object in JavaScript that can report the HTML Doc location. Does anyone know how to use this object in flash?
OR
Other than this and the use of frames, does anyone have a better way to get this to menu to work in flash?
Any help would be wonderful.
Thanks
-Tim
Flash Cookie Location
where does the sharedObject store the cookie? and what format is it stored in? a file? i'm trying to transfer a cookie from one machine to another. is it possible?
Using Flash From Offsite Location.
Is there any free software I can use to connect my laptop from a remote location through the internet to my work desktop and access my flash MX 2004 program? I want to complete work on the road WITHOUT having to buy another license and dump hundreds and hundreds more to macromedia when this is my software to begin with?
Passing A Location Of Mp3 From Js To Flash
im creating an streaming mp3 player in flash8. where i wish to pass an argument or the path of mp3 from a javascipt to flash... but i face a problem itz not loading d song n also im not sure if i made d actionscript fine while it plays fine when i play d swf n when i click d play button in d html file d song z not passed on 2 d flash. i need to pass a path of an mp3 location actualy ... kindy hepl me out
i ve taken refrence from the follwing site
http://www.webmonkey.com/templates/p...ex2a_meta.html
action script:
Quote:
function getSound(url:String) {
sound.stop();
delete sound;
sound = new Sound();
sound.onLoad = function(success:Boolean) {
if (success) {
trace("[MP3 Player]: file loaded");
} else {
trace("[MP3 Player]: Could Not load Sound Data from file,
please try again");
}
};
sound.loadSound(url, true);
}
function audioStop() {
sound.stop();
$marker = sound.position/1000;
$state = false;
}
function audioPlay() {
sound.start($marker);
$state = true;
}
function checkState() {
if ($state == true) {
pause_mc._visible = false;
audioStop();
} else {
pause_mc._visible = true;
audioPlay();
}
}
getSound("myMP3.MP3");
sound.stop();
var $state = false;
var $marker = 0;
trigger_btn.onRelease = checkState;
------
java script
Quote:
function play()
{
var flashfile=eval("window.document.player");
flashfile.getSound(myMP3.mp3);
alert(flashfile);
}
-----
im not sure 4m where to pass d argument or thr location of d mp3 file to which part of flash....
im a newbie to all of this
kindly help me asap
Flash, PHP And Page Location
Hi all,
I'm having some trouble understanding Flash and PHP relationships.
I have flash navigation bar and I want to change the colour of some of the elements depending on the page location.
I have 2 frames. Frame one is the navbar with colour 1 and frame 2 has colour2.
What I want is to use a PHP script to determine what the location of the page is and if it's located in a certain location, use frame 2 instead of frame one (thus changing the colour).
More specificaly. I have a site 'http://www.mysite.com'. On this site I have a folder 'http://www.mysite.com/safety'.
The navbar is the same for all pages. If the page is in the '/safety' folder/sub-directory then I want Flash to use frame 2. Else, use frame 1.
I figure, I'll need a simple if/else action script (or possibly a switch case statement if flash has one) that gets the PHP scripts variable for the current file location and determines which frame to use. The directory structure will probably never be more than 1 sub-dir deep (ie: never 'http://www.mysite.com/safety/pictures/').
Not sure if there's a better way to do this, I'm not good with actionscripting but I'm good with PHP.
Cheers,
Fozzy
Flash Plugin Location In XP?
Can someone tell me where Flash Plugin is in Windows XP? I've located it (quite easily) on Mac OSX but no luck so far in XP. Thanks
Flash IDE Cache Location?
Hello,
Where can I find the location of the cache folder that the Flash Authoring Environment uses? For Windows, or both for bonus points.
Thanks
Edited: 06/02/2007 at 01:09:38 PM by speedlab1
Showing Location In Flash
I am working on some banners for a client that wants to show the location of IP address that is viewing the banner in the banner. So the words would be "You are viewing this from (New York)"
Any idea if this is a actionscript or a Sql or what? I have been looking all over the web, and not coming across anything.
Thanks for your help.
Eric
Setting Location Via Flash?
Hello,
time ago I visited a single (probably layered) swf site, made of sections/scenes. Each section would change the browser location address, so that if you typed the location, you would go to that frame/scene/form of the swf file.
Does anybody remember which site is it, and how could it be achieved (with fscommands/javascript?)
thank you in advance
m.
Flash, PHP And Page Location
Hi all,
I have this PHP script.
Code:
$dir = explode("/",$_SERVER['PHP_SELF']);
$pageloc = $dir[1];
and I want to get the value of $pageloc in Flash so I can do this conditional check on it...
Code:
if(pageloc == "safetysecurity"){
gotoAndStop(2);
}
How would I do this?
Cheers,
Fozzy
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)
Location-aware Flash Movie
I'm making a navigation bar using flash and hope to use a single movie for all of my pages to cut down on load time. I need the movie to look different for each page that it loads on (e.g. it needs to show a different menu for each page). Is there any actionscript or other technique that will allow the movie to retrieve the url of the page from which it is playing or something similar so that I can have it look different based on the page that it loads from? Thanks
Adjusting Flash Location And Size
I just tried to instert some Flash (an interactive grpahic) to my site i am building on Dreamweaver. However, when I did this, there is a LOT of spacea round the graphic. Is there any way i can trim away the space around the grpahic and adjust its location on the page?
Thanx for any help, I appreciate it.
Browser Window Location Within Flash
I am looking for a way to determine the location of the browser window (html page) from within Flash, so that I can put that value in a variable. If I were using JavaScript, for example, I could use window.location.
I am not looking for the URL of the movie clip (i.e. this._url). I need to find a way to get the location of the browser window.
Any ideas? Please help!!!
Flash MX - Help Needed Specifying Location With Actionscript
I need some help specifying location with Actionscript.
I'm trying to adapt a simple activity in Flash MX. (see attached)
I have placed the tiles properly on screen however when I test the movie they fall out of center.
I've tried to edit the size of the tiles in Actionscript but it still doesn't work.
Any ideas how to fix this problem?
Please see file attached.
Thanks
Dani
Html Call To Flash Location
anyone know of a way to call to a flash named anchor from html... i need to go to a specific place in a flash movie from an html link...
Flash MX - Help Needed Specifying Location With Actionscript
I need some help specifying location with Actionscript.
I'm trying to adapt a simple activity in Flash MX. (see attached)
The script I'm using is made to work with tiles set on the stage with coordinates in increments of 90. For instance, the first tile should be placed at 0,0 or 90,0 or 180,270 etc..
The tiles I have on the stage aren't set at these points, so when I test the movie, they fall out of center. To make it work I need to modify the script to account for the difference in location, but am not sure how to.
I've tried to edit the size of the tiles in Actionscript but it still doesn't work.
Any help would be greatly appreciated.
Please see file attached.
Thanks
Dani
Location Attribute In XML With Flash - Newbie
Hi,
I'm using a component called bounce menu (http://www.flashkit.com/movies/Inter...9046/index.php)
Being new to XML, I was able to modify the menu.xml file to work like I want them too. When you press a button, the proper SWF loads in the location. My question is regarding the location attribute in XML. Is there a way to make the button load 2 or more SWFs in different locations?
On the _root timeline I have this script:
gotoFunction = function(link) {
//no quotes on link
_root.holder.loadMovie(link);
}
stop();
Any help is greatly appreciated!
Luke
Location Flash Remoting Components
Hi everyone.
I've been looking at Jesse's tutorial on AMFPHP and following along.
I've installed the Flash Remoting Components etc but wonderred where the NetServices.as and NetDebug.as files end up once installed.
The actionscript includes these files with a #include call but no path is given - #include "NetServices.as". It looks from this as though the NetServices.as file should reside in the same directory as the fla or swf for it to be accessable. Is this corect?
Can anyone explain this?
Jim
Flash 10 Swf Loading Another Swf In A Translated Location.
I'm not doing anything special. I have a swf(lets call this swf1) that loads then adds it to a container on the stage(lets call this swf2). Swf2 plays perfectly on its own but when it is loaded into swf1 one of the movieclips moves to what seems to be 0,0 position on the stage. I also get errors like "Cannot create property __id0_" but there is nothing named that on stage but again this only happens when swf2 is loaded into swf1. There are some basic 3d tweens and positioning which is what I think is causing those errors becuase when I save has flash 9 they go away.
I really don't want to go through and remove the 3d in swf2 since it does work standalone but I may have to. It also appears that even though I load swf2 in cs3 that position, rotation and other stuff are all messed up. Like the movie clip is flipped horizontal but it I flip it again the movieclip x changes to like -583745.
Thanks for any help.
Edited: 12/03/2008 at 12:58:41 PM by EvilPaul
How To Read Browser Location Url From Within Flash?
Strangely enough I cannot find any information on how to detect or read an information on the browser that embeds a Flash movie. I need url/location - the one that is showing in the browser address bar - not loaderURL. Would be nice to be able to read type of browser, etc. I need to do it without employing JavaScript.
Does anyone knows where this information resides in Flash 9/AS3?
Thank you.
Edited: 06/20/2008 at 03:21:16 PM by Andrei1
Flash Template Location Prob
If I'm working with others on a network and I create a flash template fla. Is there a way to make sure we are all accessing a single template file somewhere on a shared folder?
Updatable Flash/location On Menu
Two things I am wondering if someone can explain to me how they are done or point me to a tutorial which explains.
1) How do you create an updatable SWF which displays a list of links in a particular embedded font--perhaps using mySQL? An example can be seen in the upper left archive in the corners of this site: http://www.quadruped.us/
2) How do you create an SWF menu that shows the section you are in using the PARAM Value function? I see it is done in this site http://www.jasonsantamaria.com in the code. How would the Flash file be set up? Is it using PHP? I also see it looks like it swaps out the menu with a GIF if Flash isn't detected using javascript, correct?
Thanks in advance, Flashmaestros.
How Can I Call A Page Location In Flash?
The flash movie is in the same page that I want to move in certain locations, and it works with a text link:
(<a href="#bayamon">Bayamon</a>,
but it will not work by calling it through Flash MX.
I'm trying with this code but the page does not move at all.
I can see the scroll bar trying to move when I click in the flash button,
but it does not work.
---------------------------------------------------
on (release) {
getURL("#middle", "", "POST");
}
---------------------------------------------------
the page has this name:
<a name="middle"> Content bla bla.... </a>
Help please...
Change Location When Flash Is Clicked
This has to be the easiest question, but I don't know how to do it:
I want the location to change when the flash movie is clicked, just like a link.
I tried a number of things such as trying to make an invisible button and choosing getURL action.
Is there an easy way to make the location change when the movie is clicked? Will the HTTP_REFERER header be sent with that?
Returning Location.href Into A Flash Movie
In the flash movie I have 9 variables which move and color a movieclip differently depending on the button pushed. What I want to avoid is using frames for the pages. Everything works great if I use framed pages, but I would rather have non-framed pages and have the swf movie everytime it is loaded to call the href of the page and have an 'if' statement which would equal one of the kayaks depending on the location.href ...as if the button was pushed. Is there a way of calling a javascript to read the URL of the page and input to flash?
e.g.
if (href.location == location.htm){
tellTarget ("subbar/cmpnysub") {
gotoAndPlay(12);
}
...something to that effect
MOVIE as it is now
In frame 3 of the main movie, after the two frames for the preloader, I have the following ActionScript:
//V1 - V9 is the movieclips of the kayak
//var 0 -7 is the initial x coordinate for the kayak movie clips to be at
// KAYAK 1
myColor1 = new Color(mousetracer.items.m1.kayaktint);
myColorTransform1 = new Object();
myColorTransform1 = {ra:'0', rb:'255', ga:'0', gb:'-255', ba:'0', bb:'-255', aa:'67', ab:'0'};
myColor1.setTransform(myColorTransform1);
// KAYAK 2
// Create a color object called myColor for the target myMovie
myColor2 = new Color(mousetracer.items.m2.kayaktint);
// Create a color transform object called myColorTransfrom using
// the generic Object object
myColorTransform2 = new Object();
// Set the values for myColorTransform
myColorTransform2 = {ra:'0', rb:'255', ga:'0', gb:'255', ba:'0', bb:'255', aa:'67', ab:'-255'};
// Associate the color transform object with the Color object
// created for myMovie
myColor2.setTransform(myColorTransform2);
// KAYAK 3
myColor3 = new Color(mousetracer.items.m3.kayaktint);
myColorTransform3 = new Object();
myColorTransform3 = {ra:'0', rb:'-255', ga:'0', gb:'255', ba:'0', bb:'-255', aa:'67', ab:'0'};
myColor3.setTransform(myColorTransform3);
// KAYAK 4
myColor4 = new Color(mousetracer.items.m4.kayaktint);
myColorTransform4 = new Object();
myColorTransform4 = {ra:'0', rb:'-255', ga:'0', gb:'-255', ba:'0', bb:'255', aa:'67', ab:'0'};
myColor4.setTransform(myColorTransform4);
// KAYAK 5
myColor5 = new Color(mousetracer.items.m5.kayaktint);
myColorTransform5 = new Object();
myColorTransform5 = {ra:'0', rb:'255', ga:'0', gb:'102', ba:'0', bb:'-255', aa:'67', ab:'0'};
myColor5.setTransform(myColorTransform5);
// KAYAK 6
myColor6 = new Color(mousetracer.items.m6.kayaktint);
myColorTransform6 = new Object();
myColorTransform6 = {ra:'0', rb:'255', ga:'0', gb:'255', ba:'0', bb:'255', aa:'67', ab:'69'};
myColor6.setTransform(myColorTransform6);
// KAYAK 7
myColor7 = new Color(mousetracer.items.m7.kayaktint);
myColorTransform7 = new Object();
myColorTransform7 = {ra:'0', rb:'120', ga:'0', gb:'-251', ba:'0', bb:'255', aa:'67', ab:'0'};
myColor7.setTransform(myColorTransform7);
// KAYAK 8
myColor8 = new Color(mousetracer.items.m8.kayaktint);
myColorTransform8 = new Object();
myColorTransform8 = {ra:'0', rb:'-255', ga:'0', gb:'204', ba:'0', bb:'255', aa:'67', ab:'0'};
myColor8.setTransform(myColorTransform8);
// KAYAK 9
myColor9 = new Color(mousetracer.items.m9.kayaktint);
myColorTransform9 = new Object();
myColorTransform9 = {ra:'0', rb:'255', ga:'0', gb:'-255', ba:'0', bb:'255', aa:'67', ab:'0'};
myColor9.setTransform(myColorTransform9);
v1 = 178;
v2 = 812;
v3 = 1793;
v4 = 2773;
v5 = 3753;
v6 = 4734;
v7 = 5717;
v8 = -80;
v9 = -924;
var0 = 178;
var3 = 0;
var4 = 0;
var5 = 0;
var6 = 0;
var7 = 0;
Want To Read Browser Location And Pass To Flash
I am having hard time. all i want to do is read the browser location and pass it as a variable to flash
Seems easy and i downloaded an example that really did not suit my needs
TM
www.tidalwaves.com
Location Of Flash Player On Hard Drive
When I download the new flash player 9 onto my computer, I just get a little animation that says it is downloaded. Where is this player typically stored (filepath?)
Flash Movie Loads Swf Files From Other Location?
Hi,
can anyone help me with this question:
I made a flashmovie but it's over 200kilos. It includes few movieclips inside of it. I thought that one way make my Flashmovie load faster is save those movieclips in their own swf files and place empty movieclips in mainmovie. Then those empty movieclips makes the main movie load swf files into itself.
Sounds simple, but I still don't get it =(**So how can I call other swf files open in one flash movie?
Thanks for advice =)
--Jane
[Flash + Php?] Events + Location That Updates Daliy
Hey All,
I want to make a map that has a cross hair that changes location when an event is coming up, that corresponds with a list that has the next upcoming event. After the event has passed it would go to the next event on the list as well as the next location on the map.
I assume this would require some DB or php but don't know where to start. Any help or pointing in the right direction would be appreciated, thanks!
rock & roll
doug
Running Flash Creatives Based On Location
Ok bare with me, I've had a slightly crazy idea ... and I don't know whether it's possible or not.
I'm like to try and run a dynamic Flash creative that will include the viewers town/location in a dynamically generated field. So for example, the content would say something like:
"Such and such a band coming to London" for all those people in London, but
"Such and such a band coming to Reading" for all those people in Reading.
Is this actually possible? And if so how would I go about doing it? Can you get this sort of information from a users IP address or would I have to go about finding it from some other place?
Any suggestions at all would be REALLY welcome.
Thanks,
Finding The URL Target Location In A Flash Movue
Hi,
Sorry. the title is bit garbage . But what I am trying to do is block some ads. Anyways in a flash movie we can embed banners ads, and such.
When I put the mouse cursor over a banner or any link in a flash movie it doesn't display where it is going. And right clicking doesn't help since it brings up Play/Pause menu and so on.
Is there any way to find where the banner is linking to?
The situation is I play a flash file, and some ugly banners shows up. When I click the banner it takes me to some website. What I am trying to figure out is exactly where the banner ad is coming from, so I can add that in my adblock plus filter list :P.
Thanks in advance.
Make Flash Object Move To Specified Location
I have a navigation setup in which I want a bar to follow the cursor when the cursor enters the navigation box area itself. (Basically it will follow up and down only. My question is when the cursor gets within the general vicinity of a menu item, I want the rolling bar to move to exactly over the menu item. So even if they don't have the cursor exactly over say, "Home", it would still move the bar exactly over it with the assumption that this is the menu choice they want. Hope this makes sense!
This is the code I have so far:
function moveMask () {
if(_root._xmouse >= 820 && _root._xmouse <= 1000 && _root._ymouse >= 80 && _root._ymouse <= 400) {
Bar._y -= (Bar._y-_ymouse)/5;
if ( Bar._y >=318){Bar._y=318;}
if ( Bar._y <= 110){Bar._y=110;}
if ( Bar._x >=1000){Bar._x=1000;}
if ( Bar._x <= 820){Bar._x=820;}
}
}
Navigation.setMask(Bar);
Thanks,
Dave
Refreshing A Framset With Location Sensative Flash Navigation
My flash navigation in the framset indicates to the user what section they are on, fine and simple.
My problem is if the user hits the refresh button on their browser the flash moveie resets. So lets say they were on the "about" section, and hit refresh, well flash movie refreshes, and goes to "home", my first section, but the info in the frame below the flash navigation stays on the "about" page.
I just want everything to go back as if you had just loaded the page for the first time. I thought that would be simple, but I guess not =)
I thought about using sharedObjects, but then I would have to go back into my AS and change it all around to accomodate SO's and I'm fealing lazy...
Anyway if anyone can point me in the right direction... I have a sneaking suspicion that my answer lies with Javascript...
Thanks for all your help!
Caitlin
Flash 8 Input/Dynamic Textbox Location Varies
So I'm working with Flash 7/8, and I have some dynamic/input type text boxes. These boxes are identical copies of each other in terms of size.
When I use Flash to test the program these appear exactly as they should, however when I publish it and test it a few of the textboxes decide to slightly change their location. I have checked and these boxes have the exact same X/Y location where needed, yet they still move a few pixels to the right or left occasionally.
What could be causing this? Thanks for any help.
Placing Flash Video In Specific Location On Web Page
Hi-
Basic (I think) question here regarding Flash video on a web page created with DW8. I am trying to figure out how to have several thumbnail images on the right hand side of the page link in such a way that when they are clicked they will play the corresponding Flash video file in a player window on the left hand side of the page (something like a YouTube page layout). It seems like it should be simple enough to link the thumbnail images to the videos and then have the videos play in the player at a preset location on the page, however, I'll be darned if I can find anything on the Adobe site, tutorials, or the Web in general that addresses just how to do this. Maybe I'm just putting in the wrong search terms. Anyway, if you have any suggestions, tips or tutorials you can recommend I would surely appreciate it.
-=SB
Flash Calling Window.location.hash Causes IE6 Crash
I am developing an HTML javascript application and I want to preserve
state in a way that can be book-marked. I chose HTML anchors as a means
of preserving state. When the application changes state, the HTML page
URL would change from default.html to default.html#stateA.
example: http://pearstudios.com/javascript/l...shAndFlash.html
This has worked perfectly within HTML and javascript alone, however,
when connecting Flash and javascript, this is the one sticking point.
Every other javascript function that I have called from Flash using
getURL("javascript: x"); works perfectly, but when window.location.hash
= "x";, window.location.href = "baseUrl.html#" + "x";, or
window.location.assign("baseUrl.html#" + "x"); is called from Flash, IE
6.0 crashes (or replaces the current page with a blank page). Oddly,
the crash occurs the second time Flash calls the javascript function.
Does anyone have any idea why this is happening and how I can get
around this problem?
Thanks,
Atenciosamente
Marcio dos Santos Amorim
CEREBRUM - Websites e Softwares para Internet
http://www.cerebrum.com.br/
telefax: 55 (11) 6205.3350 - celular: 55 (11) 9603.3874
msn: atendimento@cerebrum.com.br - skype: atendimento_cerebrum
|