I think I got myself deeper in flash than I can handle
I'm trying to launch a pop-up window from a swf where the text is being generated by a text file. To follow what I'm saying please follow this link:
you will see that it's possible to click on the the text there... well, I need to do the same to the rest of the projects, but with a pop-up window that's launching a swf rather than a new browser window.
My question is: how can do the pop-up since it's being launched from the text file?!
Any help would be greatly appreciated.
Great minds discuss ideas; Average minds discuss events; Small minds discuss People.
Hi 7amood,
I remember that I've already sent an example of it to you. I do it one more time.
As far as I understand you want to launch a pop-up window within a main movie. Is it right? If so, then you should write some function for launching a pop-up window. And then you can call this function from a text, by using asfunction. In my example I loadMovie, but the function may be any you wish (attachMovie, mc.gotoAndPlay(), etc).
By the way, I've seen your site and noticed that you made a little mistake in the "projects.swf". At the end of text there all last paragraph (ZiGGiN.com) is reacting on a mouse event instead of just headline. If you want that only headline to react on mouse event, you should put closing tag (/a) right after … nZiGGiN.com (/b) (/font) HERE….
Good luck.
You could be right! Guess he used a bad choice of words... Thus the confusion on my part. But javascript & an "a href" tag (although, you're right, the asfunction would be easier) could still do it!
sergwiz, you are absoloutly right. but I got stuck at the "writing the pop-up function level" and I need a lot of help there. Have you done anything like this befor? do you have a function that I can use? I'm really lost when it comes to ActionScript.
Your observation is right as well... I will change that once all of my projects are linked correctly
Great minds discuss ideas; Average minds discuss events; Small minds discuss People.
No, I don't have such a function, I just write it when it needs. Certainly I'll help you, but you should describe the task as precisely as possible, so that I could understand it. You see that even Oldnewbie hardly understands what you want. And I have understood you only because I already helped you on this problem in the past.
what oldnewbie has suggested doesn't apply to my case due to the very reason you've mentioned.
Ok, here is the file that I need to launch the pop-up from. When you look at it, you'll notice that I'm using a text file. The HTML link on ZiGGiN.com works fine.
Now I need to do the same thing to the first paragraph "Spectrum FACET", but with an asfunction to launch a swf within a pop-up or just by itself... it just has to be separate from the main window. This swf will include screenshots of the project.
Let me know if I'm not makinig any sense
Thanks
Great minds discuss ideas; Average minds discuss events; Small minds discuss People.
Fail to see why you don't use the same exact thing you're doing with what you call your working link...
Since...
...to launch a swf within a pop-up or just by itself... it just has to be separate from the main window...
...And using the asfunction to open another external .swf, it would be in the same window, unless you used the asfunction to open a popup, which you can do as you did for your other link!
That's awesome! did you do it only by this javascript function, then calling it? I tried that... but I think I had syntax errors. and I always had an empty browser window poping up as well... so I gave up on Javascript
Now how do I center the pop-up?
Last edited by 7amood; 05-24-2003 at 06:09 PM.
Great minds discuss ideas; Average minds discuss events; Small minds discuss People.
Yep he did, but like I said... I gave up on JavaScript because of the "extra" browser window I thought it will always pop-up. So I thought I had to use ActionScript. Anyways... now I know, and I thank you and oldnewbie for all the help and the knowladge.
Great minds discuss ideas; Average minds discuss events; Small minds discuss People.