ActionScript 1/2 :: Scaling .swf But Not Tooltips?

Sep 17, 2009

I have a flash file that I am scaling.  There are buttons in the file that have tooltips that pop up when you roll over them.Problem is, the tooltips scale with the .swf file so they get huge and are not in the right spot over the button anymore.the tooltips will maintain a size without being scaled?

View 9 Replies


Similar Posts:


ActionScript 3.0 :: Flex Mindmap Tooltips - Set HideDelay To Infinity So The Tooltips Don't Disappear?

Mar 18, 2010

I am trying to adapt Ruben Sweringa's Flex-based interactive mindmap [URL] and I've got most of it sussed out. I'm just having a little difficulty with the tooltips and I was hoping someone/some people might be willing to help me out or offer some guidance on these three things:

1) How and where do I set hideDelay to Infinity so the tooltips don't disappear? I think that because Ruben's model uses FXCToolTip and FXCHTMLToolTip to extend ToolTip and ToolTipManager, if I try to modify ToolTipManager.hideDelay in the mxml, the value is ignored.

2) Is there a way to enable HTML formatting in the tool tips? FXCHTMLToolTip looks like it's supposed to read this code, but whenever I add such coding, Flex says "Error: XML is invalid" and the whole mindmap fails.

[Code]...

View 7 Replies

Actionscript 3 :: Flex - Prevent Tooltips From Hiding Persistent Tooltips?

Oct 19, 2010

I'm trying to prevent a custom tooltip from disappearing. I've tried three runs at this, borrowing from the usual suspects: Peter Dehann, MonkeyPatch and others. As you can see from the code below I'd like to stay within the tool tip paradigm and not go to popups.

way to persist a tooltip? The intent here is to have a component which can be cut and paste from.

[Code]...

View 1 Replies

ActionScript 2.0 :: No Resize/scaling A Movie Clip On The Scaling Stage?

Mar 11, 2008

I've search through all the threads with "scaling" and "resizing" and can't find the solution.

Basically I have a GUI element on a gallery that I don't want to scale, while the rest of the page is free to resize/scale.

I think I need to add a listener of some sort to the stage, but I'm not sure how to do this.

View 2 Replies

ActionScript 3.0 :: Scaling Button Background Without Scaling Text?

Feb 23, 2009

I'm building some navigation that extends all the way from left to right across my SWF. When the window resizes, I'd like the nav buttons to get wider but not have the text on the buttons get wider.

The buttons themselves are rectangles with a vertical gradient and a stroke around the outside. I'm using 9-slice scaling so the stroke doesn't scale, but the middle (gradient) gets wider or narrower.What'd be great is to be able to select an object or layer and say "don't scale, even if the rest of this movie clip scales". Is there a way to do that, or will I have to do it via actionscript?

View 1 Replies

Cannot Get Hyperlinks To Work Within Tooltips

Aug 9, 2010

when I try to make text or a button into a hyperlink within that tooltip, it doesn't seem to be usable in the preview. I click on the text/button, and it just doesn't do anything. I've tried coding it several different ways, and looked for an appropriate tutorial, but I haven't been able to find any luck. Is there something I'm missing? Can I even make hyperlinks in a tooltip that's made with that simplified code, or will I have to find another way to make them?

View 1 Replies

Flash :: Disable Tooltips In It?

Jun 8, 2011

ForEVER I've been annoyed with tooltips in Flash. Yeah, I've turned them off in preferences, but that doesn't effect the ones in the ActionScript area. I've gone so far as to globally and specifically set tooltips to a delay of 60 seconds in my Mac terminal, effecting every application in my system, but this f^%king program over rides even that.

View 1 Replies

Flex :: Use Tooltips In Sparkskin

May 23, 2011

I'm developing with Flex 4 and have a problem with tooltips in skins. I want to define the tooltip behavior of a textinput in the skin (or other components). I create a new skin and try to add a tooltip attriute to the <s:sparkskin> directly and to the <s:RichEditableText> but the tooltips don't show up. First: Is it possible to define tooltip in skins? If not, why? Second: If it's possible, why doesn't it works

[Code]...

View 1 Replies

ActionScript 2.0 :: Turning On And Off Tooltips?

Feb 21, 2008

I have downloaded Lee Brimlows (gotoandlearn.com) tooltip example and I am trying to modify it so I can turn Tool tips on and off.

I have managed to come up with the function that turns them off,

b5.onPress = function()
{
unloadMovie(tooltip);
}

how to turn them back on with the click of a button.

I have tried

b6.onRelease
{
_parent.loadMovie("tooltip");
}

Code is listed below

tooltip._visible = false;
var tipInt;
b1.onRollOver = function() {

[Code].....

View 3 Replies

ActionScript 3.0 :: Scaling Movieclip Not Scaling But Repeating?

May 20, 2010

i have a diagonal movieclip that I am trying to scale along with the background video. The background video scales perfect, I am attaching the diagonal movieclip (br in the code as bottomright) with addChild
Instead of scaling with the window, it seems to repeat such as the image is displaying. this is the main section of the code that is doing the scaling
 
var br:mc_bottomright = new mc_bottomright();
addChild(br);
//proportional scale
if ((stage.stageWidth / stage.stageHeight)> (owidth/oheight))

[code]....

View 4 Replies

ActionScript 3.0 :: Scaling A Movieclip Without Scaling Its Contents

Apr 10, 2009

I am trying to achieve an effect of scaling a movie clip on click...very similar to [URL] When the user clicks on See, Hear, Play and Shop boxes, the boxes expand. I have created a box movieclip that has a bar on top. This bar is a movie clip inside the box movieclip. When i try to scale the main box movieclip, the internal bar movie clip scales as well. How to stop this?

View 2 Replies

Flex :: Using Custom Tooltips For Buttons

Nov 7, 2011

I'm using the tooltipManager as described [URL]. I want to display a custom tooltip for the buttons of a buttonbar. The buttonbar's declaration is as follow:
<mx:ButtonBar id="topToolbar" height="30" dataProvider="{topToolbarProvider}"
iconField="icon" itemClick="topToolbarHandler(event)"
buttonStyleName="topButtonBarButtonStyle"
toolTipField="tooltip"/>

Until here, everything works fine. I do see the proper text displaying in a tooltip. Then, I created a custom tooltip manager using the tutorial quoted previously:
public class TooltipsManager {
private var _customToolTip:ToolTip;
public function TooltipsManager() {
} public function showToolTipRight(evt:MouseEvent, text:String):void {
var pt:Point = new Point(evt.currentTarget.x, evt.currentTarget.y);
[Code] .....

Now, this is where I start having issues... I'm trying to get to use this custom tooltip, but I don't know how to get the buttonbar to take it into account. I created a function to see when could I call the functions in my TooltipsManager:
public function showTopToolbarTooltip(e:ToolTipEvent):void{
trace('blabla');
}
But it would seem that it's never taken into account. I've put this function in different buttonbar's events: tooltipcreate, tooltipstart, tooltipend but nothing happens. Not a single trace. Where to call the function of my tooltipManager?

View 1 Replies

ActionScript 2.0 :: Tooltips And Dynamically Placed Objects...

Jul 26, 2006

I have a set of dots I am placing on a map dynamically (using attachMovie) with an XML file giving the coordinates. I also am using the "hover caption" tutorial (great) to assign a tooltip for each dot. When I rollover the dots, the tooltip appears fine, but it is under the dots, not at the highest level. I have the level set to getNextHighestDepth():[code]Any ideas as to how to have the tooltip site on top of everything?

View 6 Replies

Flex :: Showing List Item Tooltips?

Oct 11, 2010

I have a list of objects containing an icon, a label, and a tooltip. I want to show only the icon and the label. The tooltips should be visible on mouse over an item.

Is there a way i can achieve this without writing my own mouse-over/out functions?

(notice that dataTips are a different thing as they are displayed only when the label is cut)

View 2 Replies

Flex :: Internet Based App - Tooltips Not Displaying

Mar 7, 2011

I have a flex app that used to be an internet based app. In it I have a function that creates tooltip error messages when I tell it to create an error message. I pulled this app out verbatim to a desktop app and restructured things a bit to get it to run, but I did not mess with the core fundamentals of the mxml file that utilizes this aside from changing the root tag from a type of 's:Group' to 's:Window'. Everything runs correctly, but the tooltips are not displaying.

Here's the tooltip code (inline mxml code in the fx:script cdata tag):
import mx.controls.ToolTip;
import mx.managers.ToolTipManager;
public var errorTip:ToolTip;
private function createErrorMsg(errorMsg:String, object:Object):void {
if (errorTip){ToolTipManager.destroyToolTip(errorTip);
[Code] .....

Basically, I pass the function a string and an object (text input, checkbox, button, etc...etc...) and it positions it and displays the error message. This fully works in my web version, but not in my desktop version.

Here's the code that instantiates the window:
var window:LoginWindow = new LoginWindow();
Window.systemChrome = NativeWindowSystemChrome.NONE;
Window.transparent = true;
Window.open(true);
Window.maximize()

On a side note, I check to see if the errorTip exists at the beginning of the function and then destroy it so that the higher scoped variable 'errorTip' always equals the reference to the currently displayed error. This allows me to just destroy that error tip on form validation and then error check again, but it only allows one tooltip to be displayed at a time. Is there a better way to query the tooltip manager for all of it's currently displayed tooltips and destroy them all?

View 1 Replies

Flex :: Validation - Using Error Tooltips As Normal Ones?

Nov 7, 2011

I'd like to use tooltips with the same design as the error/validation tooltips (rounded box with a tip pointing to the mouse's position).Given the name "error/validation tooltips", it bothers me to use them as normal tooltips.I haven't found people having the same "principles" issue as myself..So, is it that bad to use the error/validation tooltips as normal tooltips? And, if yes, what would be the easiest way to re-use its design without rewriting much code?

View 2 Replies

Professional :: Highlight Path And Tooltips To Identify Route

Jan 27, 2010

How I should get started to achieve two things. I am creating a map with places and routes between those places.

Objective 1: When a visitor hovers over a place name, I want a tooltip to show, which they can select to be taken to another html page to display information on that place.

Objective 2: When a visitor hovers over a line or path connecting two places, a tooltip shows to identify that route, and again when the tooltip is clicked, the visitor is taken to the route details html page for further information. I want the tooltip to show up anywhere along the path which is hovered over.

I want to know, how I should start to design this and what elements will be required to achieve this, especially the tool tips. And how easy is it to make a path highlight, like a button, when hovered over, can a path have different states?
Here is a image done in Fireworks of my objectives.

View 6 Replies

Actionscript 3 :: Displaying Error Tooltips In Flex DataGrid's Each Row?

Dec 22, 2009

I have a simple DataGrid in Flex 3:

<mx:DataGrid width="{indexW - 20}" height="100%"
headerHeight="0" resizableColumns="false"
dataProvider="{itemsList}"
itemClick="itemKlik(event)"

[code]....

What I want to do is to 'force' my DataGrid to display ERROR TOOLTIPS with 'errorTipRight' option instead of displaying a regular tooltips.

View 1 Replies

Actionscript 3 :: Disable The Tooltips Of The Buttons On A Flex 3 Togglebuttonbar

Jun 30, 2010

I'm creating an flex 3 application with 3 togglebuttonbars. What i would like to do is disable the tooltip of the buttons on one togglebuttonbar. how i can access the buttons on the togglebuttonbar to disable the tooltips?

I don't want to disable all the tooltips off the total application(ToolTipManager.enabled = false;).

I have set the tooltip of the togglebuttonbar to null but it doesn't disable the creation of the buttons within the togglebutttonbar.

how i can disable the tooltips of the buttons on the togglebuttonbar?

View 1 Replies

Flex :: Displaying Black And Red ToolTips As Speech Baloons

Sep 7, 2011

I'm porting a card game from pure Flash/AS3 to Flex 4.5: I'm almost done, but the "speech baloons" marked by the blue color in the screenshot above are missing. Those "speech baloons" fade in, display red (if they contain hearts or diamonds char) or black text and finally fade out. I'm trying to implement those as mx.controls.ToolTips and have prepared a simple test case, where 3 users are represented by smiley-buttons and you can push a "Talk"-button to make them talk:

[Code]...

View 1 Replies

Flex :: Datagrid - Display Tooltips When Using A DataGridColumn ItemRenderer?

Oct 11, 2011

On my flex (flash builder 4) DataGrid - DataGridColumn , I have set a custom itemRenderer

itemRenderer="myComponents.EncounterDGItemRenderer".

My renderer is a Label

public class EncounterDGItemRenderer extends Label

I found that my tooltips (datatips) stopped working once I started using this custom renderer. I also found that I can set the tooltip on the label in the

override protected function updateDisplayList

by setting:

toolTip=data['addedDate'];

This works find, however the problem is I need to choose a different data field based on the column. I was hoping for something similar to how a DataGridColumn labelFunction works - where I have access to "column.headerText" or "column.dataField". However I only have access to the underlying data object, not the name of what is being displayed (unless I am missing something).

Is there a way in a data grid item renderer to know what the column header text is, or do you have a different approach?

View 1 Replies

ActionScript 2.0 :: DataGrid Component Column Header Tooltips?

Aug 2, 2008

I am looking for a solution to complete within AS2 that allows a user to hover over a column header within a datagrid and a tooltip would pop-up.I'm completeing a sports statistics sheet within Flash and I am obviously putting numbers in each column, else I would use the full column header but its just a number so I don't want to increase the width of the columns just for that.If anyone knows of a way to make each individual column header able to pop up a tooltip plz post or recommend something. To give an example if it isnt obvious of what I'm trying to doLets say my Table looks like soGP | G | A | +/- | %

View 2 Replies

ActionScript 1/2 :: Load Movie Vs. Container Clip Position With Tooltips

Sep 22, 2009

I have a .swf file with tool tips and dynamic colors on movie clips that I want to load into another movie.
 
s_1800.onRollOver = function (){myTooltip.content = "Office #: 1800"+newline+"SF: 0";var colorful = new Color ("_root.s_1800");colorful.setRGB(0xb5282c);myTooltip.showTooltip();}s_1800.onRollOut = function (){myTooltip.hideTooltip();}

[Code]....

View 1 Replies

ActionScript 3.0 :: Dynamic Button Hover Tooltips / Descriptions And Linking?

Apr 7, 2011

I am busy converting my online digital portfolio from AS2 to AS3. I have made a new .fla and placed within it only the elements that relate to my question, to greatly simplify things so it is easy to see what I want to do.Lets say I have 3 movieclip buttons, which do three things when hovered over :

1. play a shine animation

2. move slightly

3. cause a tooltip description to appear / fade in, somewhere else on screen.

When mouse moves off, the above 3 things revert to normal and the description fades out.These buttons serve to show a description of the relevant project in my projects folder (project1.html, peoject2.html and project3.html, for demonstration purposes), and to link to them when clicked. The point is that I am trying to do this dynamically, so I have one movieclip(called descriptions) that contains all the descriptions each on its own frame, and use something like

//pseudocode
when button 1 is hovered over, descriptions.goToAndStop(1);

It is difficult for me to explain - but if you just run my swf and also take a quick look at my code (its not a lot) you will know exactly what I am trying to do.

In summary: Basically if you run my swf, you will see 3 buttons. When you hover over each, they are all saying Description 1, but I want button 1 to show description 1 and button 2 to show description 2 etc.Key items / code to look at inside the .fla are :

1. the first frame on the main timeline, actionscript layer - the code

2. the descriptionsHolder movieclip on the descriptions layer

3. the projectDescriptions movieclip inside the descriptionsHolder movieclip

4. the dynamic button (double click any of the buttons) - this is the idea I want for the descriptions too, its a reusable button that has the label 'button1' on all 3 buttons but with some code - the labels change at runtime to button1, button2 and button3.

5. the code inside the dynamic button movieclip on frame 1, actionscript layer.

6. note the buttonLabel movieclip inside the button movieclip, same thing I want done for the descriptions.

6. Also to please note, my code for linking each button to a project (not working)- that I also want to be a reusable function, for assigning a variable to contain the link for the dynamic button, depending on which instance of it is clicked -> go to either project1.html, project2,html or project3.html. I am trying to 'think like a programmer' and use modular, dynamic stuff, but it seems I am having trouble assigning variables or individual frames at runtime to multiple instances of the same dynamic movieclip.

View 3 Replies

ActionScript 2.0 :: Non Scaling In Scaling Part

Apr 18, 2004

really sorry to bring this one up again. I've managed to create quite good working gallery. What I'm trying to now is create a menu that is attached to the scaling part but does not scale it self - in other words just changes position. here's an example of what I mean: galleru #1

View 14 Replies

ActionScript 2.0 :: Non Scaling In Scaling Part?

Apr 18, 2004

What I'm trying to now is create a menu that is attached to the scaling part but does not scale it self - in other words just changes position. here's an example of what I mean: galleru #1

View 13 Replies

ActionScript 3.0 :: HtmlText Anchor Tags Do Not Support Title Attribute For Tooltips?

Feb 5, 2010

I'm working on a project and I'm encountering an issue with Flash's sporadic support of HTML 1.01 for textboxes that use .htmlText.The "Title" attribute is not supported for showing tooltips when you hover over the link.For instance, in an HTML document, a href='index.html' title='Click Here' will show 'Click Here' in a hovering tooltip box. It doesn't display in Flash.Anyone know of a good work around? I found this page: have yet to get it working with my text. For instance, I have one textbox, and the URL links are set for various words. This means I don't have the coordinates to set my X and Y for the fake hover effect.

View 4 Replies

Actionscript 2 :: Show Tooltips Inside A ScrollPane Without Letting Flash 8 Hide Tooltip?

Dec 23, 2011

I have the content of a scrollpane that, when clicked, show a tooltip movieclip with attachMovieClip; the problem is that the attached movie clip, for the first rows, goes under the border of the ScrollPane and is partially invisible.

Is there a way to solve this problem (without changing the position of the attached movie clip?)

View 1 Replies

ActionScript 3.0 :: Tooltips Not Working Inside Embedded Movie Clip But Works On Main Stage

May 17, 2011

I  have a movie clip that is a navigation window and I am trying to have some tooltip hover over the buttons inside the navigation window.
 
If I create a button on the main stage it hovers and works fine but if I create the same clip inside the embedded navigation window the tooltip does not show up.  I do not have any error messages but it is not there that I can see.

View 5 Replies

IDE :: Scaling Swf In Browser

Nov 24, 2010

i want to show swf with zoom out 50% by default when user opens the page.URL...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved