First, i'm sorry to post this twice. i posted in flash forum, but is a js problem...
My swf (1.swf) stays inside an html page (1.htm). I need to get the focus on it just when i open the page. For this i use a js inside the 1.htm head page:
function fuoco(){
var IE =...
It's ok... i fix the file.
But now I have another question!
My swf (1.swf) stays inside an html page (1.htm). I need to get the focus on it just when i open the page. For this i use a js inside the 1.htm head page:
function fuoco(){
var IE = navigator.appName.indexOf("Microsoft")...
I have an html page (1.htm). Inside a swf (1.swf); 1.swf is a game and i need the focus on it when it opens the 1.htm window. To get the focus i use this js:
<script language="JavaScript">
<!--
function fuoco(){
var IE = navigator.appName.indexOf("Microsoft") != -1...
Could i use hittest and geturl together in a mc?
I'm trying this code:
onClipEvent (enterFrame) {
if (_root.mc1.hitTest(_root.mc2)) {
getURL(index.htm);
}
}
But it doesn't work.
Another way I tried is to put the code in the main frame in the main timeline:
if...
thanks Rick for your help!
Here is 21:40, one hour less! I will try this night (if i stand) or tomrrow morning... then post here. Thanks a lot never tired to say thank you :)
Hey! yOU TRAVEL ALOT... ups capslok!
Must be hard for an american to work in middle east now...
Never been in California...
when you say Jordan you meen Middle East or the caucasian country?
about my topic... i tried yesterday with window.document... but it doesnt' work.
I think the problem is on the frame. The PC dosen't recognize the frame name, maybe because we have to put var also here...
I am ignorant about...
ok... here I am!
I tryed to put # instead of frame.html but nothing happends!
But in the browser page is written: error in display page. When i click on this it tells me that parent.intestazione.location.href= tested is not an object...
I know i'm like an annoying moschito! :)
sorry Ristmo... i went out for a stroll beside of the venice lagoon! I'm from Venice ;)
Now i try your script and tell you!
And you? Because of your nick name i' think you are from Germany.. or not?
Well.. the site is not online. I post here the code inside home.html:
<head>
<script language="JavaScript">
function toped(testa, corpo) {
var tested = testa
var corped = corpo
parent.intestazione.location.href= tested
parent.centrale.location.href= corped
}
</script>
and in the...
i put href in the var definitions... but nothing happends!
maybe because of the name frame in the frameset. Infact, in the frame i load other pages and just this are display, evenif i put the function..
Maybe i have to put the variabiles also inside the frame?
For example:
<frame...
I thought to make 5 frame pages for each links... but i would like to do this with just the same frame page.
I know it is possible in js..
I'm trying in this way:
Making a function like this:
<script language="JavaScript">
function toped(testa, corpo) {
var tested = testa
var...
I have my home.html with 5 links inside. Each links are target to frame.html. If i press the link number one, i would like that in the frame.html it is loaded determinate pages in the frames...
For example frame name="top"... here i have to load top1.html
frame...
I have a mc with 5 keyframes with labels:
uno
due
tre
quattro
cinque
I have 5 istance of the same mc on stage.
Inside mc in the layer actions i put:
inizio = new Array("uno", "due", "tre");
tocco = new Array("quattro", "cinque")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.