Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Possible to Have a TextField Visible ONLY in a Specific Location/Coordinates?

$
0
0

Hello All,

 

Using: Adobe Flash Professional CS6, and Actionscript 3.

 

I have a scrolling TextField that scrolls across the bottom of the screen. The TextField is inside a Layer that stretches across the entire Timeline so it's visible on all Frames.

 

So for example, lets say the TextField is 100 pixels high. and currently it scrolls from the far right side (Starting from OFF the screen from right to left), i.e. when the Message begins scrolling at the very first instance it starts you cannot see any part of the TextField because it is off the screen all the way to the right... If that makes sense? But what I want to do is try to hide Message for about the first 50 pixels until it passes a specific point on the screen.

 

This might be easier if I can make a Graphical representation:

I also attached a SIMPLE drawing of what I'm trying to achieve...

                                        Frame_and_TextField.jpg

 

 

     Frame:  1650x1080

______________________________

|                                                                               |

|                                                                               |
|                                                                               |

|                                                                               |

|                                                                               |

|                                                                               |         *this below is where the msg begins scrolling... (The tilde "~" represents the TextField)

|-------------------------------------------------| |~~~~~~~~~~~~~~~~~~~~~~~|

|_____Display_Msg_Here____|__XX__|  |~~~~~~~~~~~~~~~~~~~~~~~|

 

Ok, so inside the "Frame" above you see a dotted line near the bottom but before the bottom border of the Frame, which is the solid lines. Now from that line to the bottom Frame is where I display the Scrolling Message (*where it says "Display Msg Here"). And where you see the 2 red "X" this is where I want the Msg to be hidden as it passes through.

 

Eventually where the 2 red "X"s are I want to put a TextField that will Always display the Current Date and Time, so maybe if there is a way to put both of those textFields in the same "Layer" and have the Field with the date and time be in front of the other. But if I do that wouldn't I still see the Scrolling message as it passes under the Date and Time one?

 

If you need a better explaination just let me know and I'll see if I can clear things up a bit. But hopefully the image I attached does a better job then what I was trying to say myself...

 

 

Any thoughts or suggestions would be greatly appreciated.

 

BTW: The Scrolling message is ONLY a single line, so what you see in the attached image is NOT how the TextField would actually look...

 

 

FYI:  I'm still fairly new with Flash and AS3.

 

Thanks in Advance,

Matt


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>