Controling browser scrollbars when MC changes height?
Is there a way to have the browser scrollbars show up when a
MovieClip's height increases ?
if you want to use the swfobject to resize the browser
window, download the swfobject.js javascript file and put it in the
same directory with your swf's html page and read about how to
embed your swf using it.
you can then call the resizeSWF() function (passing the new
height parameter causing the browser window to increase in height
and displaying scrollbars, if they are needed) by using the
externalinterface class:
Similar Messages
-
Flash jumps when javascript change height of container DIV
Flash jumps down, when you change(make bigger) the height of contaner DIV.
I've narrowed the problem down to the simple code
<div id="layer" style="width:700px; height:45px;" onclick="
this.style.height='225px' ">
<embed src="test.swf" wmode="transparent" width="100%"
height="100%"></embed>
</div>
No matter what SWF file is used, if you click on the flash(DIV) the
javascript will change the height of the DIV and the flash will jump
down.
The quick fix is to remove the wmode="transparent", but if I need the transparency I cannot do that.
Example - http://f-source.com/firefox4_flash_bug/You need to add 'px' to the height:
<pre><nowiki>function resize() {
height = document.documentElement.clientHeight;
imgheight = Math.round((height / refheight) * 530);
document.getElementById('Image1').style.height = imgheight+'px'; //background height
setTimeout("resize()", resize_delay);
}</nowiki></pre> -
Analog output to the DAQ that changes when controls on the front panel change
I'm using the PCI-6024E, and trying to output an analog waveform that can change when one of the two controls on the front panel change. It outputs fine setting it to continuous output and using a simple while loop around the "Is Task Done" VI, but if I put the "Write" VI in the while loop, it doesn't output steadily. I then tried to use an event structure, so that I'd only have to write every time something on the front panel changes, but for some reason it was writing finite samples, even though I set the Timing VI to continuous. I looked around the NI site, and found an article about this with an example. I tried to change it around to use my waveform, but whenever I run it, I get a memory underflow error. Has anyone needed to do this before? Thanks in advance.
-- Josh MatloffHi Josh-
It looks like you forgot to post the code still, but I'll take a stab at the problem anyway. It sounds like you're looking for a way to update a continuous waveform at runtime.
You will need to stop the task in order to replace the write buffer information, but this will only be a small gap in operation. I have attached a modified LabVIEW shipping example that shows how to use value change events for any of the pertinent waveform parameters to either programmatically stop the task, replace the buffer, set timing and restart or to just pass the task information straight through. This will lead to continuous operation with no breaks at the output.
Please let us know if this clears up your questions.
Thanks-
Tom W
National Instruments
Attachments:
Cont Gen Voltage Wfm-Int Clk with Runtime Update.vi 134 KB -
Internet browser to scrol and change the height of my stage.
hello. I'll try to write to my question.
My stage is 1024 * 768 I have put there ScrollPane that loads my_mc,
my_mc exchange his height. Example http://www.4x4nz.sk/home_page_1.html.
this is ok.
but I try to insert my_mc without ScrollPane. and here is my problem.
my_mc can have more than 768 height.
so I need to force internet browser to scrol
and change the height of my stage.
example http://www.4x4nz.sk/home_page_2.htmlNow there is a scroll, but it does not work. not see the whole my_mc
http://www.4x4nz.sk/home_page_2.html -
Flex2 (beta3) apps don't work with Firefox when browser scrollbars appear
I ran into a very strange situation where my flex2 (beta2 and
beta3) application is big enough to cause browser scrollbars to
appear. In such a case, if I scroll the browser, then all button
controls in the flex2 app can not listen to mouse events any more.
I found this problem with Firefox (v1.5) in Windows XP. IE in XP is
perfectly fine. Below is the code, simple enough to illustrate my
situation. To test, please compile the first file into test.swf,
and then access test.html form Firefox. Thanks.well i can say in dark,, many have done this solution, if its
right even for u
just clear ur cache using the ASO zip file available on
http://www.adobe.com/cfusion/exchange/index.cfm?extid=1016963&view=sn111
Now all the packages /missing file would get imported.could
be some
class definitions are'nt getting replaced
(i faced this kinda problem before.. my old swf';s were
getting played.. so i just cleared the cache and problem was
solved) -
opening hotmail in firefox: Please refresh your browser window, When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure . Refreshed but no change. in Safari no problem
Go to '''Options '''on Firefox Browser-->'''Advanced'''-->''Click on'' '''Network '''tab-->''Select '''''Settings'''-->''Select '''''Use System Proxy Settings
''' -
How to write rfc when value change in the screen (browser) in webdynpro.
Hi,
I want to know how can i write an RFC when screen value change in webdynpro. I already designed a rfc where all the value can be seen in the webdypro screen. Now when user change the value how can i pick the changed value in R/3 so that i can save it into the respective database. Please send some code for understanding it easily as i am new to this field.
Regards
DeepHi Deepak,
Though I dint understand your requirment properly but as it is raised in Web Dynpro forum I considering that you want to send the data filled by the user to your backend using RFC calls. For this purpose you can refer to this two documents available on SDN.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf">Tutorial 4</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c">Tutorial 5</a>
Regards
Sid -
Browser scrollbar and Flash scrollbar ? I need help!
Now I have a problem about the scrollbar:
The height of my swf file is longer than browser height, so
the scrollbar of browser's occurred, if I scroll my mouse wheel,
the whole flash roll down, but the problem is that I have used a
scrollPanel component which write by myself, and in this situation,
when I scroll the mouse wheel, the scrollbar in flash and browser
will both in effect.
The question is that how to disable the brower scrollbar when
I scroll mouse wheel inside the scrollPanel component. In fact,
adobe already done this, if my cursor inside a textfield object,
the scrollbar of bowser will not get focus. How to achieve this
effect? My english is bad, but I need help!i recently downloaded trails of flash cs4 and web premium package cs4 (took a day to download at high speed starbuck's internet). couldnt get the setup.exe to work or the uninstaller to work. surfing tech support over next couple weeks to try various agents was useless and expensive until i finally reached someone with useful info. all the agents had foriegn accents and read from scripts and web support pages until yesterday, when i reached a guy who told me two things i'll report to various forums addressing this same issue:
1. download windows uninstaller program from their website (google: windows ininstaller). this program is different from the one that doesnt work in the programs and features area of control panel when you try to uninstall adobe products from there.
2. windows explorer 8, the newest version, DOES NOT download adobe softare properly and leaves things out, causing all sorts of issues including the setup.exe program not working. download firefox browser from mozella (google: firefox) and use it for all adobe downloads. apparently the old windows explorer 7 will work, but if you already have explorer 8 installed its easiest to just use firefox.
i'm spending the next couple days downloading the 4.14 G web premium trail with firefox and will report if this works. -
Kill browser scrollbars?
Here's the movie if you want to see it:
http://tinyurl.com/b9jo4f
I've got it set to width=100%, height=820 so that it
stretches to fill the window proportionally. The only problem is
that now there is a vertical scrollbar any time the browser window
is less than 820 pixels high. I'd like there to be no vertical
scrollbar since it's already resizing the Flash movie.
I've tried adding CSS:
overflow: hidden !important;
overflow-x: hidden;
overflow-y: hidden;
but no luck.
I'm using just whatever object embed Flash is creating for me
in the Publish settings. Is there another embed script that would
be able to specify no browser scrollbars? I don't want to do
height=100% width=100% because then it can resize
disproportionately when the browser window stretches.
If there is a javascript or something someone knows about,
I'd be most delighted.
thanks!Just change
body{
overflow: hidden;
to
<style type="text/css">
<!--
body {
overflow: auto;
-->
</style>
At the top of your HTML.
Mesmotronic Multiuser Server for Flash 1.0 available now!
http://www.multiuserserver.com/ -
Items in Tree control move around when data is submitted using custom ItemRenderer
I'm working on a Tree control with an XMLListCollection as
its dataProvider.
The dataProvider has information looking like this :
quote:
<?xml version='1.0' encoding='utf-8'?>
<INFO>
<FIELD label="STR_USER_NAME"
type="text"
value=""
>
</FIELD>
<FIELD label="STR_USER_EMAIL"
type="text"
value=""
>
</FIELD>
<FIELD label="STR_OPTIONAL"
type="branch"
value="0"
>
<FIELD label="STR_USER_ADDRESS"
type="text"
value=""
>
</FIELD>
<FIELD label="STR_USER_POSTAL_CODE"
type="text"
value=""
>
</FIELD>
</FIELD>
</INFO>
So in the Tree control I'd like the information to show up
with a label and
an
editable textbox for each item :
[Label] [textbox]
To do this I made a tree like this :
quote:
<mx:Tree id="userTree"
editable="true"
rendererIsEditor="true"
editorDataField="curVal"
itemRenderer="{new ClassFactory(ItemRendererUser)}"
itemEditEnd="e_ProcessData(event);"
dataDescriptor="{new DataDescriptorUsers()}"
showRoot="false"
verticalScrollPolicy="{ScrollPolicy.AUTO}"
/>
where the e_ProcessData() function looks like this (I used
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=c
elleditor_073_16.html#202105 as a guide) :
quote:
public function e_ProcessData(event:ListEvent):void
event.preventDefault();
userTree.editedItemRenderer.data.@value =
ItemRendererUsers(event.currentTarget.itemEditorInstance).curVal;
userTree.destroyItemEditor();
userTree.dataProvider.notifyItemUpdate(userTree.editedItemRenderer);
} // END OF e_ProcessData()
I attached the rest of the files because they're a little
bit longer.
When I run the program, the data shows up fine when it is
initialized the
very
first time, and I made a test button that just dumps the
contents of the
dataProvider in a trace statement to verify that the data has
been set
properly.
The problem I've run into is whenever the textfield is
edited, the item
that
I've selected jumps around the list.
For example, if I edit the item "STR_USER_NAME" after I
finish the edit, it
will move from the very first position in the Tree to the
bottom of the
Tree.
I traced the contents of the dataProvider and the
dataProvider structure
stays
the same, with the "STR_USER_NAME" at the top, but if I look
at the flex app
in
the web browser, its position is at the bottom of the Tree.
This happens for every other item I try to edit... I read in
the
documentation
that the ItemRenderers are recycled, so it means I should be
checking to
make
sure the initial states are covered, but I'm not sure how
this affects my
application.
Can anyone help me out with this ? Its very confusing - I've
tried making
an
ItemRenderer using pure actionscript, mxml and the
combination you see in
this
example and I always end up with the same behaviour - So I
must be missing
something critical...
// ItemRendererUsers.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
verticalScrollPolicy="{ScrollPolicy.OFF}"
horizontalScrollPolicy="{ScrollPolicy.OFF}"
creationComplete="initItemRendererUsers();"
>
From my FAQ:
Q: I've created a custom itemRenderer component to use in a
List
based component (Datagrid, TileList, HorizontalList, etc.).
When my List
first displays, everything looks fine, but when I scroll it
or change the
dataProvider, some of the itemRenderers show values or
formatting that
aren't right. How do I fix this?
A: List-based components don't draw a renderer for every item
in the
dataProvider. Instead, they create enough to display what is
on screen now,
plus one or two more waiting in the wings. This means they
recycle the
renderers rather than creating new ones when you change
dataProvider or
scroll up and down. When you use a creationComplete event to
set up the
itemRenderer, that event doesn't happen again when the
renderer is used for
a different set of data. The solution to this is to override
the set data
protected function that most components have.
For more information, check out the following resources:
http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
Please note, I post this FAQ weekly, and you can find a
permanent copy of it
here
http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf"peterh8234" <[email protected]> wrote in
message
news:gaqttd$kft$[email protected]..
> Yes - the set and get functions are listed down below.
But the quirky
> behaviour
> is the same regardless of whether I override the set and
get functions or
> not.
>
> I noticed there was another variable called listData -
should I be using
> that
> one or the data variable to read and write to the
dataProvider ?
>
> // _data
> [Bindable] public var _data:Object;
> [Bindable("dataChange")]
> //
> override public function get data():Object
> {
> trace('[ItemRendererDefault.GET data()] called for {' +
> _data.attribute("label") + '}.');
> return _data;
> } // END OF get data()
>
> //
> override public function set data(value:Object):void
> {
> _data.@value = inputText.text;
> trace('[ItemRendererDefault.SET data()] called for {' +
> _data.attribute("label") + '}.');
>
> invalidateProperties();
> } // END OF set data()
Your set data needs to set a flag that gets picked up in
commitProperties()
and does your thing that you were doing before in
creationComplete. You
should see examples of this in the links I posted. Instead of
this:
_data.@value = inputText.text;
you should look at implementing IDropInListItemRenderer,
which will allow
you to dynamically determine which field to look at, instead
of hardcoding
it. You also might wind up overwriting the stored value with
a null value
when the List passes the stored value in. I'd encourage you
to really go
through those links I posted and make sure you understand
what they're
saying. The itemRenderer life cycle is one of the hardest
things to
understand, but once you understand it, it makes many things
in Flex much
easier. It's worth investing the time. -
URGENT! - Browser scrollbar problem
Hi every one!
I have a flash site that is 660px wide but the height changes
and can be to about 1800px.
I want the browsers scrollbar to change depending on how much
content is showing.
I found this one
http://hossgifford.com/downloads.htm,
which seems to be very popular
But I have problems with it. When I change the size it seems
to reposition the whole
SWFs Y coordinate. sometimes its so high up its outside the
screen, and sometimes its
100 or 200 pixels further down. I want it to snap to the top
of the page. There is no documentation
so Im not sure what Im doing wrong. Please give me a clue/ I
will buy you a beer next time you are in
London. I got to solve it (among other things) before the
night is over.
/Pwhat you are asking sounds possible can you post your code on here so we can try to debug with you.
Thanks
Miguel -
Suddenly scrollbar at 100%width&height sites
Very, very strange: Suddenly I get a scrollbar at 100%width&height compositions. That started a few days ago. Somebody else recognized? It is in all the browsers (at least on mac).
And it is getting stranger: When you preview the site from edge in browser it is there. When you directly open the html file in the browser it is not there. When I upload the html file it appears again. ???
Was there a secret update on edge? Or all the browsers at once? This is so enological and I spent hours to find the reason for this.
And the scrollbar suddenly is in all of m edge projects when I open them in edge and then save it. I also tried to open a blank document, just set the width&height to 100% and there it is - vertical scrollbar appears.
Please help. This is super disturbing. Maybe somebody form the edge team has an answer to this?
Or for now maybe someone can tell me a code fro turn of the scrollbar manually with a code in edge.
Thanks a lot!Hello.
Tanks for your answer. This is my site: www.dnzstudio.com
If you scroll down you ll see the scrollbar and some white at the bottom. At least on mac. This was Never there before. Also when I open other projects again in edge and make preview in browser it is like that coming out of nowhere.
And the strangest thing is when I open up a complete new document, set w&h to 100percent it is doing the same. It would be great if you could try that.
I also tried it on my laptop where I also have cc tuning.same thing.
Really interested in your answer if you experience the same thing also when you look on my site on the browser.
Thank you, regards, Deniz
Von meinem iPhone gesendet
Am 16.05.2014 um 11:34 schrieb hemanth kumar r <[email protected]>:
suddenly scrollbar at 100%width&height sites
created by hemanth kumar r in Edge Animate CC - View the full discussion
Its strange ,can you mail me your files so that i can try to find the reason for this problem.
There was not update from at-least edge recently
If your scroll bras are appearing in the body of the page you can hide them by adding the following snippet in composition ready event listener
$("body").css({"overflow":"hidden"});
By do mind this might prevent user from seeing content that user will have to scroll.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6384005#6384005
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Edge Animate CC by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Navigation bar changes height randomly
In the last few days I've noticed that my navigation bar is changing height at random. It has increased in height (my Back arrow is now an oval) but it will blink back and forth to its correct height at will. I haven't added any extensions lately...using Windows 7, 32...FF4.0.1.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.
* Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
If disabling hardware acceleration works then check if there is an update available for your graphics display driver. -
Hallo, i have a little issue. I have my flex application running in my Browser and the application is 1200pixels height so that the browser is enabling the scrollbar to reach the bottom parts. The problem is that inside my application i have another scrollbar which belongs to a list component and when i use the mouse wheel the list goes down but the browser page goes too due to browser scrollbar. How can i fix this problem??.. I shoud find a way to not make browser scrollbars listen to the mouse wheel event when i am on the list and to listen it only when i am not on the list... is that possible??
Thx and sry for bad english.
Maxwhat you are asking sounds possible can you post your code on here so we can try to debug with you.
Thanks
Miguel -
1. HP Pavilion m6 Notebook PC
2. Windows 7 64 bit
3. none
4. I accidentally deleted IDT Audio, i was trying to get rid of programs that i didnt need, i didnt know this controlled beats.
i noticed that my Beats Audio Control Panel was gone and i searched online and found out i needed to re-download IDT, so i did. Beats Audio Control Panel is now back but when i change the volume up, down, or off, it shows an ugly little megaphone icon and ugly little white bars, instead of the shiny silver beats logo and the silver bars. I hate the new logo with the mega phone how can i get the beats logo back?
i tried a system restore from before i uninstalled IDT but it still has the same problem.
Please reply with any ideasHi,
Try reinstalling the HP OSD Utility on the following link.
http://ftp.hp.com/pub/softpaq/sp55001-55500/sp55152.exe
After this has completed, restart the notebook.
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience
Maybe you are looking for
-
When I bring up facebook on firefox it is a good size. My games were good before today but now they are so huge I can't play them. I think I must have hit a button by mistake but I don't know how to fix it. Can you help me?
-
I have a DVD produced by a friend that has a great speaker on it. I would like to rip the audio so that I can also listen to it on my iPod. Is this possible with Garage Band? Thanks!
-
If I have this array specified: String[][] myArray = new String[5][10];Is there a way to use the ".length" variable to get both the "lenght" and the "width" (5 and 10) for this array? It's awefully handy with regular 1D arrays, but I'm getting a litt
-
What does the ServerName property of a mailbox do?
This field doesn't seem to be related to anything. I have mailboxes on a single database with the ServerName field containing the name of different mailbox servers. Is this the mailbox server on which they were originally created? Is this field used
-
Hi all, If i have two vendors with differnt lead time for the same material, how can i manage this since in MRP run system considers leadtime maintained in material master, whereas i decide to place an order based on vendor leadtime. Regards Rang