| Web Design Lobby Forum for general web design issues not specific to scripting or graphics. |
11-16-2003, 04:15 PM
|
#2 (permalink)
|
|
Inactive
Join Date: 11-12-03
Location: Ohio
Posts: 558
Latest Blog: None
|
that's great!!!
|
|
|
11-16-2003, 04:22 PM
|
#3 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
lol yeah but i need a Flash expert - a 'Flashpert'? - to tell be if flash can interact with the DOM or Scripts of the page it is in, as it seems to on that page.
|
|
|
11-16-2003, 04:32 PM
|
#4 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
I was also wondering if SVG has built in collision detection?
|
|
|
11-16-2003, 04:44 PM
|
#5 (permalink)
|
|
Inactive
Join Date: 10-13-03
Posts: 275
Latest Blog: None
|
I know that javascript on a page can interact with Flash.
But, I don't know about the SVG thing.
I believe that you use something like a call method or something to reference a function outside of the swf.
|
|
|
11-16-2003, 05:01 PM
|
#6 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
cool cheers,
well collision detection would not be hard to code for SVG, so tht doesn't really matter.
Only problem with SVG is it's young and no-one has the plug-in yet!
|
|
|
11-16-2003, 06:24 PM
|
#7 (permalink)
|
|
Inactive
Join Date: 10-14-03
Location: Dallas, TX
Posts: 600
Latest Blog: None
|
ya you can, it's easy, if i know what your talking about. Just put the javascript in your html doc. and then put your swf. file in the body of the html just like you would if you were going to put it on the web. As for putting it actually inside, like adding it inside flash with the actionscript i dont think so, but like the example you showed, it just looks like you told it to link to a page then have the page you linked to have the javascript when it opens up. So to answer your question, yes inside an html document, no (i dont think so) inside flash itself.
|
|
|
11-16-2003, 07:21 PM
|
#8 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 3,037
|
That link gives me an "Illegal Function" prompt.
__________________
"The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people."
|
|
|
11-16-2003, 07:26 PM
|
#9 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
Latest Blog: None
|
That song is awesome!! What is it? Dub Dub?
|
|
|
11-17-2003, 04:02 AM
|
#10 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
dunno lol some random web page a friend showed me. 
|
|
|
11-17-2003, 08:54 AM
|
#11 (permalink)
|
|
Inactive
Join Date: 11-12-03
Location: Ohio
Posts: 558
Latest Blog: None
|
Hey, anyone know what song is in that flash thing? It's been driving me nuts because I know I've heard it and can't think of the name!!
|
|
|
11-17-2003, 10:13 AM
|
#12 (permalink)
|
|
Inactive
Join Date: 10-13-03
Posts: 275
Latest Blog: None
|
Quote:
|
ya you can, it's easy, if i know what your talking about. Just put the javascript in your html doc. and then put your swf. file in the body of the html just like you would if you were going to put it on the web. As for putting it actually inside, like adding it inside flash with the actionscript i dont think so, but like the example you showed, it just looks like you told it to link to a page then have the page you linked to have the javascript when it opens up. So to answer your question, yes inside an html document, no (i dont think so) inside flash itself.
|
You can use javascript inside of a swf file. Here is a link that shows you how.
http://www.macromedia.com/support/fl...ts/tn4160.html
|
|
|
11-17-2003, 10:18 AM
|
#13 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
thanks all.
It was the communication between the flash and the html/javascript I wanted.
|
|
|
11-17-2003, 10:32 AM
|
#14 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Atlanta, GA
Posts: 2,279
|
go talk to mike at revo7.com He will know exactly how that works.
|
|
|
11-17-2003, 12:00 PM
|
#15 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
cheers I don't need to do it yet, it just changes my opinion of Flash a bit.
|
|
|
11-17-2003, 12:30 PM
|
#16 (permalink)
|
|
Inactive
Join Date: 10-14-03
Location: Dallas, TX
Posts: 600
Latest Blog: None
|
ya, i didn't know you could actually put it in the swf. file.
|
|
|
11-17-2003, 02:29 PM
|
#17 (permalink)
|
|
Contributing Member
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
Latest Blog: None
|
I want the song name 
|
|
|
11-17-2003, 02:45 PM
|
#18 (permalink)
|
|
Inactive
Join Date: 11-12-03
Location: Ohio
Posts: 558
Latest Blog: None
|
Also if all else fails we all know java applets work with javascript  (I only say that because I know how to make some nifty applets but suck at flash)
|
|
|
07-20-2004, 07:38 AM
|
#19 (permalink)
|
|
Inactive
Join Date: 07-20-04
Posts: 1
Latest Blog: None
|
it's "Maria" from DJ Scooter
album : "We like it loud"
but it seems to be a remix in the flash thing
|
|
|
07-20-2004, 07:46 AM
|
#20 (permalink)
|
|
v7n Mentor
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,935
|
You can. You could try something like this.
[code:1:7e5b154b2f]<object id="myFlash" ..... >
<param name="movie" value="somefile.swf" />
....
var myFlash = document.getElementById("myFlash").SetVariable("my Var"); [/code:1:7e5b154b2f]
imaginemn
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not | | |