| View previous topic :: View next topic |
| Author |
Message |
Rootwitch
Joined: 19 Sep 2002 Posts: 13 Location: Houston
|
Posted: Thu Sep 19, 2002 2:16 pm Post subject: Chromeless (Flash) Window |
|
|
First, I have to give a huge THANK YOU to Warangel. To go through all this trouble, just for the sake of helping someone out - That's awesome. I wish the Photoshop community were as helpful as the Flash community. I've being (trying) to help out in the guitar community for a couple years now with my personal site (http://www.rootwitch.com) if anyone here plays. It's all about helping people out....
Anyway, on to my question - How does one create the chromeless windows like the ones used in the Photos section of that DJ site (http://www.yulia-nau.de)? I've actually got a cool script to use inside the window which basically has forward/back buttons, which launch a fade out of the existing pic, and fade in of the new pic - And all the pics are loaded from an external source. Any help would be appreciated. Thanks in advance. |
|
| Back to top |
|
 |
Flash Goddess Administrator

Joined: 18 Jul 2002 Posts: 1228 Location: Ontario, Canada
|
Posted: Fri Sep 20, 2002 10:35 am Post subject: |
|
|
Hi Rootwitch, welcome to the Forums!
I know you can create a pop up window using TellTarget and a movie clip...I think I remember seeing a tutorial at Flashkit.
But I believe the TellTarget is no longer used in MX.
There's also some script in the yulia-nau site which prevents the window from being dragged to a certain point.
Hope that helps a bit. Maybe someone else has some better ideas. _________________ :: FAQ :: Search :: Books :: Tutorials ::
www.FlashGoddess.com :: inspire :: create :: |
|
| Back to top |
|
 |
kim Moderator

Joined: 30 Jul 2002 Posts: 234
|
Posted: Fri Sep 20, 2002 10:46 am Post subject: |
|
|
hmm, i didn't notice either of those things (i.e. photos back/next fader or dragging window limits). strange.
however, rootwitch, to achieve the effect you're talking about couldn't you:
1) load one photo swf
2) when the next one is clicked, load it but into an invisible movieclip
3) once the load is complete on swf #2, fade #1 down and #2 up
-kim |
|
| Back to top |
|
 |
Rootwitch
Joined: 19 Sep 2002 Posts: 13 Location: Houston
|
Posted: Fri Sep 20, 2002 11:02 am Post subject: |
|
|
Guys - Thanks for the input.
Kim, I think you may have misread my message. I'm looking for help on creating a chromeless window - Once I figure that out, I plan to utilize an actionscript I already found for the fade in/out thing. |
|
| Back to top |
|
 |
Rootwitch
Joined: 19 Sep 2002 Posts: 13 Location: Houston
|
Posted: Fri Sep 20, 2002 11:08 am Post subject: |
|
|
Flash Goddess,
>>There's also some script in the yulia-nau site which prevents the window from being dragged to a certain point.
Actually, it's just not able to leave the bounds of the swf movie. All of the red area around the swf is standard HTML. So, that tells me that they've just created a dragable movie that gets loaded once a thumbnail is clicked. Pretty simple now that I think about it.
Thanks. |
|
| Back to top |
|
 |
kim Moderator

Joined: 30 Jul 2002 Posts: 234
|
Posted: Fri Sep 20, 2002 11:18 am Post subject: |
|
|
oh, right, rootwitch. i have to slow down and actually read all of the words next time.
as for the chromeless window.... are you still looking for code for this? or are you going to just make a movieclip like the one she uses for her photos? |
|
| Back to top |
|
 |
Rootwitch
Joined: 19 Sep 2002 Posts: 13 Location: Houston
|
Posted: Fri Sep 20, 2002 2:01 pm Post subject: |
|
|
| Do you have the code - That would be cool. |
|
| Back to top |
|
 |
Mystique Moderator

Joined: 23 Jul 2002 Posts: 623 Location: Orlando, FL
|
|
| Back to top |
|
 |
Rootwitch
Joined: 19 Sep 2002 Posts: 13 Location: Houston
|
Posted: Tue Sep 24, 2002 11:23 pm Post subject: |
|
|
I thought I'd answer my own question relative to that DJ sites photo section creating a "pop-up" flash window:
Create a new movie with the dimensions you want (I used 270W 395H). Within this movie, I created a blank button with a hit area of 270W and 30H, and I placed this button across the top of my movie with the following action:
on (press) {
startDrag("", false, "", "", 345, "");
}
on (release) {
stopDrag();
}
The parameters are as such:
startDrag("this is the target", true or false = mouse lock, "left constraint", "top constraint", right constraint, "bottom constraint");
I also created another button with the unloadMovie action for level 222. I exported as "photo.swf".
In my main movie I created a button with a loadMovie command to load "photo.swf" at level 222.
That easy. |
|
| Back to top |
|
 |
Flash Goddess Administrator

Joined: 18 Jul 2002 Posts: 1228 Location: Ontario, Canada
|
|
| Back to top |
|
 |
Turborat

Joined: 10 Nov 2002 Posts: 8 Location: Brisbane, Australia
|
Posted: Sun Nov 10, 2002 7:25 pm Post subject: Can Be Done |
|
|
If I'm reading you correctly (assuming you don't want a chromeless POPUP html window like the dreamweaver behaviour), it's doable (although my code may be somewhat clumsy!).
I created a new MC called loadbox, dropped in an instance of a dragbar MC and created an instance of loadbox in the main movie labeled 'editbox'. I returned to loadbox and selected the dragbar, giving it the following script:
| Code: | on (press) {
startDrag("_root.editbox", false, 240, 20, 540, 550);
}
on (release) {
stopDrag();
}
|
Do your co-ordinates in Normal editing mode and tick 'constrain to rectangle'. This activates the inputs for rectangle co-ordinates. Play around with the co-ordinates until you get what you're looking for.
MX does support tellTarget - it's under the 'Deprecated' category, so make the first keyframe blank, then tellTarget "editbox gotoAndPlay whatever".
Hope this helps. |
|
| Back to top |
|
 |
jenbeast
Joined: 04 Dec 2003 Posts: 3
|
Posted: Thu Dec 04, 2003 4:32 am Post subject: |
|
|
I got this from Macromedia Exchange, I think. It makes pretty nice pop-ups in Flash. I don't know if this is helpful, I remember being super-excited when I first found it though, and it has served me well. (though I still suck at Flash)
Anyway, try this link: I'll check out that guitar site. I play.
http://home.swfla.rr.com/centerpopup/
bye[/i] |
|
| Back to top |
|
 |
|