Flashblocks Flash CMS
Welcome, Guest
Please Login or Register.    Lost Password?
How to give a flashblock a dynamic scale? (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: How to give a flashblock a dynamic scale?
#3859
spaceman ()
User Offline Click here to see the profile of this user

 
How to give a flashblock a dynamic scale? 10 Months, 3 Weeks ago
hi!
would be great if anybody could help me or give me an idea with dynamically scaling the flashblock height without scaling the content loaded(in my case a text field which should have its myTXTflashblock._height=Stage.height)


here comes the code:
Code: :

 lstrn = new Object(); lstrn.onResize = function() {inhalt0.HOMESITE.NEWS._height Stage.height-240;}



i'm not sure if this will work at all but the basic idea was to set a listener for onRezize, and if Stage.height has changed it should be same height for the flashblock - so the question is :
why will it resize/scale the text in the field itself and how do i get it running that way, that only a text.length>=stage height will enable the scrollbar function otherwise scrollbars would be disabled?
or do i have to add enable/disable-function seperately in the text module? not sure anymore what to do. i'm bit confused cause my experiments show me a working file flashblock with text but it resizes the fontsize itself too ...

thx for help in advance:)
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/19 14:18 By spaceman. Reason: tryed out something and want to tell also^^
  The administrator has disabled public write access.
      Topics Author Date
    emo
How to give a flashblock a dynamic scale?
spaceman 2008/01/19 08:43
    thread link
thread linkthread link Re:How to give a flashblock a dynamic scale?
admin 2008/01/20 08:29
    thread link
thread linkthread linkthread link Re:How to give a flashblock a dynamic scale?
spaceman 2008/01/20 15:56
    emo
thread linkthread link Re:How to give a flashblock a dynamic scale?
spaceman 2008/01/23 17:37
Go to top Post Reply
get the latest posts directly to your desktop

Thank you