Actionscript 3.0 :: Display Info About A Selection In Custom Panel?

Aug 2, 2009

I watched the very useful Custom Panel Extension tutorial. But the tutorial doesn't show how to get data such as info about my current selection back to my custom panel. MMExecute seems like a one way street.

Specifically, I want to display a selection's X and Y position in the custom panel. How do I call fl.getDocumentDOM().getSelectionRect() in such a way that the results are accessible to the panel?

View 1 Replies


Similar Posts:


Actionscript 3.0 :: Flash CS3 : Slide Out Animated Panel (showing Info)

Feb 4, 2009

I am trying to get this effect in my website, check the website link given below [URL] ie I need the blue sliding panel to show information about different subjects.

View 2 Replies

ActionScript 3.0 :: Panel In CS4 - "Current Selection Cannot Have Actions Applied To It"?

Dec 26, 2010

have only been animating for several months now. I am now trying to get into simple games, and I am starting with what I was told is the easiest, a Dress-Up game.This is the source of the tutorial that I am following: http:[url]....

I am following the Dress-Up game. I have created a button, dragged it into the Movie-Clip, and then went back to the scene, and selected it, right clicked, and clicked Actions."Current Selection" is selected, and it says "Current selection cannot have actions applied to it".

when I try to add this action to Scene 1, or Symbol Definitions it is a syntax error, and says extra characters as the reason.The script I am trying to use to make my Ball movable is;

on(press) {
startDrag(this,false);
}[code]....

View 2 Replies

Professional :: CS5, Blank File Info Panel: After "archive And Install" (osx)?

Nov 6, 2010

after archive and install procedure (osx 10.5.8 Intel) I see a blank File Info panel (Photoshop CS5 and all CS5 applications).. I must force exit, how could be solved?I have used it before archive and install procedure without trouble, should repair some permission about flash panels or someother??
 
I have same troubles with Illustrator, Fireworks and Indesign... only into File -> File Info panel, I have trouble also with "fast view" (space bar) into all FLV files, they cannot preview nothing, just i see a - com.adobe.flv.. The reason why panels did not work properly was a missing Flash trust file for that user location. Without such a trust file the embedded flash player refuses to "play" .. but what mean?? I dont understand this.

View 1 Replies

Professional :: Custom Selection Box Laggy?

Sep 20, 2011

I've made a little program that enables you to resize a box on the screenIt's made up of 4 squares and when you move one sqaure the others move so that it still forms a box But when i move the square moderately quickly the box's all seem to lagHere is my code for moving one box

var tl:Sprite = new Sprite();
var tr:Sprite = new Sprite();
var bl:Sprite = new Sprite();

[code].....

View 3 Replies

ActionScript 2.0 :: Custom Selection Boxes - Checked At Once

Oct 17, 2002

I am working on a form that is sent to a PHP script and emails the client and company with the results. All is good and well except for the checkboxes I am working on - In some instances I have 4 possible checkboxes and as one is checked the others are cleared. I have done this simply by moving to a frame and reassigning the variable using the code below:

[Code]...

View 1 Replies

ActionScript 3.0 :: Loader Info In Custom Class?

Nov 10, 2009

I'm trying to use a custom class to create a mosaic type of gallery, and load jpegs in which some may have different dimensions. I'm using the Loader Class and I can get the content width value of the jpegs I'm loading, but I'm having trouble adding that value to the property of the (custom) object. Here is the Class:

package {
import flash.display.*;
import flash.events.*;

[code].....

View 0 Replies

Flex :: Flash - Custom List Selection Not Highlighting?

Mar 18, 2010

I want to create a custom list in Flex for an interface prototype. The list is supposed to have an image and 3 text fields. This is what I have done so far, the control displayed is what I want. But, when I click on one of the items, the item does not appear (visually) to be selected. I was not sure how I would implement this.

Here is my code so far:

<s:List width="400" height="220"
dataProvider="{arrColl}"
alternatingItemColors="[#EEEEEE, white]">
<s:itemRenderer>

[Code].....

View 2 Replies

Custom Shape Panel/form In Flex?

May 21, 2009

What I'm trying to do is to create a fancy custom-shaped login panel. It's functions and containing components should be pretty standard, just like in regular login panel - FormItem, TextInput, Validators, etc. I did some research and found that it is possible to create skins using Fireworks, however this does not solve my problem because it does not allow me to manipulate with panel shape. What would be the best way to do it?

View 3 Replies

Make Interactive Map With Info Display?

Oct 20, 2011

I have something in mind like this: [URL] so each time, when the mouse is over each state, different information should show up in the right side box with different information. How should I implement this? should I draw the right side information box as picture, and then write a script to ask information to display when mouse is on certain state, is this a movie clip?

View 6 Replies

ActionScript 2.0 :: Display User's Info On Swf?

Sep 18, 2006

I am intending to display user's info on swf and I have stored them in xml files...

Code:
<?xml version="1.0"?>
<users>
<user1>

[Code]....

This is an example, I hope you get this. So, I have 3 dynamic text field in my fla however I don't know what instance name I should give. I want to have a loop to help me auto-fill in these three text fields..

Code:
for (y=0; y<3; y++) {
y_name_txt = this.firstChild.childNodes[y].childNodes[y].firstChild.nodeValue;
}

View 3 Replies

Xml :: Flex + DataGrid + Dynamic Display On Selection

Dec 17, 2009

Back again with another Flex question. I have an XML structure like...

[Code]...

Now I got his displaying on my grid by saying dataProvider=XMLListCollection... What I want to do is on selection of a row, check if it has "Address" tag, if it has display the other grid, else hide the grid.

View 2 Replies

IDE :: Display Font In The Actions Panel?

Jan 14, 2009

On both my work and home computers I have this problem where the font in the action panel gets all screwed up and the ends of words get cut off even though the text is there and working. Anyone have an idea on how to fix it? Both computers are Macs running 10.5.5 and Adobe Flash CS3. See below for an example

View 1 Replies

Flex :: Can't Show Rounded Corners On Custom Panel Skin?

Aug 12, 2011

I wanted to change the background color of my Panel title area and I discovered that I needed to create custom skin or skin extender to accomplish this. So I created a skin called myPanelSkin based upon the Spark.PanelSkin. My background color works fine but it will no longer show the cornerRadius defined either on the component or in a styleI then tried another approach and simply created a new skin as an exact copy of the Spark.PanelSkin. It also looses the cornerRadius.

View 2 Replies

ActionScript 3.0 :: Pagination - Using A HtmlText To Display XML Info?

Jul 7, 2008

How do you pagintate with AS3? I'm using a htmlText to display XML info but I cant figure out how to paginate with that object.

View 14 Replies

ActionScript 3.0 :: No Values Being Display In Output Panel

Oct 2, 2009

i am using FlashDevelop and i have created 2 very simple classes, [code]When i create an instance of the Vehicle class in my VehicleOnly.as file and send the values to my constructor, and run the appplication, it does not show any output to my Output panel.[code]

View 4 Replies

Javascript :: Define A Custom Selection / Mask On An Image (script Online Just After An Upload)

Mar 12, 2012

I'm looking for a script which allows the creation of a custom selection on a image online. This step is just after an upload. As a picture is worth a thousand words:

View 1 Replies

Flex :: Extending Panel : Calculating Title's Width In Custom Component?

May 28, 2011

I'm extending the Flex 3 panel component. I need to figure out the width of the title's text. Because, title is a private variable in panel, I can't access it via title.width.I know the font, fontsize (14), and length of the title (which will vary). Knowing this info is there a way to calculate how many pixels wide the title is?

View 1 Replies

ActionScript 2.0 :: Display Simple Weather Info In Flash?

Feb 13, 2007

Where can i get the weather, in realtime (let's say each 10 minutes), of a specific place like Newyork, Dubai etc and display it in flash ?. I want to incorporate the information into the design that I have made.

View 1 Replies

ActionScript 3.0 :: RSS Reader - Get This Info To Display In Separate MCs On The Stage?

Jun 21, 2011

I am trying to develop a custom AS3 RSS reader. I have got to a point where I have traced the pubDate, description & title from each item of the feed. My issue is how do I then get this info to display in seperate MCs on the stage? I can only display the last post in one MC rather all posts.Here is my AS...

Code:
var container_mc:MovieClip;
var myTotal:Number;
var myItem:XMLList;[code]....

View 3 Replies

Android :: Flex - Display Text Selection Indicators Handlers?

Jan 27, 2012

the selection indicator isn't shown at the text input fieldis there any solution for this problem ?i am using flash builder 4.5 + flex in Android mobile Application

View 2 Replies

Actionscript 3 :: Flex - Display A Panel At The Point Where Mouse Is Clicked?

Nov 1, 2010

I would like to create a component(extending from spark Panel), which upon a buttonclick should show up next to the button(something like a bubble popping up or like the small box opening up when hovering up on profile links in facebook/twitter). I tried to create a component that implements mx.core.IToolTip and provided the methods required by the interface. And on the toolTipCreate event, set this component as the tooltip.

This works to an extent. When I bring the mouse over the button, the panel appears as the tooltip and goes away when i move the mouse away. What I need is, the panel should appear next to the button when click on it and should go away only when I click outside the panel or click the close button present inside the panel.

View 1 Replies

ActionScript 2.0 :: Display A Random Image Via Flash From A Selection Of Images Stored On A Database

Sep 17, 2009

I'm a designer working in tandem with a PHP programmer on a project where we will display a random image via flash from a selection of images stored on a database. Accompanying this image is a tagline and a path for a button and these variables are sent via a php script. The actionscript then picks up these vars via loadVars and displays them on screen - well, almost.

The tagline is displaying in the dynamic text box with no problems, but I'm struggling with how to display the image in the empty MC I've created (called 'pic') and also to attach the path to the button I've created (called 'projectURL_btn'). I'm fairly sure it's something fairly simple but I just can't crack it.

[Code]...

View 0 Replies

Html :: Adobe Flash Player Settings Panel Display Behind Divs?

Mar 22, 2011

I am unable to click on "Allow" button in my Adobe Flash Player Settings panel that pop's up because half of it is hidden behind divs making it "unclickable".I tried setting negative z-indices on the divs that are overlaying it and I also tried giving a prositive z-index to the div holding the Flash Player Settings panel

View 2 Replies

Flex :: Composite MXML Component - Display File Info On Single Line

Aug 31, 2009

I'm trying componentize one of the pieces of UI in an AIR application that I'm developing in Flex. In this example, I want to display file information on a single line (which has an icon, some text/link and the size).

My code looks like this (component is called FileDisplay):
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="[URL]"><mx:Script>
<![CDATA[
public function set iconType(source:String):void {
this.ficon.source = source;
[Code] .....

However, when I do this, I get an error: Error #1009: Cannot access a property or method of a null object reference. This is because the child components of the FileDisplay are null (or at least they show up that way in the debugger). Am I supposed to be waiting for events indicating the child components were created? For now I can manually do everything in ActionScript in my main app (create a Canvas and add children to it) but how to separate the code more cleanly.

View 4 Replies

Flex :: 3 - Collapsible Panel Is Removed From Display Then Switch Back To The Previous State?

Dec 3, 2009

I am using this collapsible panel - link. Unfortunately, I have a problem using it with application states. I have a state where this panel is visible, when I switch to this state, this panel shows, when I click on it, it opens and its content shows. If I switch to another state (this panel is removed from display), and then switch back to the previous state, the collapsible panel stays open, but its content disappears. In other words, the collapsible panel's content doesn't persist through states. Anyone know what the problem is? Or is there another collapsible panel that can work around this issue?

View 2 Replies

Actionscript 3 :: Why Won't Visual Elements Display Inside Custom Component Extended From Another Custom Component

Sep 6, 2011

I created a custom MXML component, TurboContent, that extends the NavigatorContent class:

<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">

[Code].....

In this case, the 'myButton' component never shows up, but all the elements of the base component do (3 buttons and a datagrid).

View 2 Replies

ActionScript 3.0 :: Component - Scroll Panel Get Stuck While Loading And Doesn't Display The Full Size Image

Sep 10, 2008

I made a flash website with photo galleries using a component that I bought online. The component is loading the image in a thumbnail scroll bar via a XML file and the full size image display in a UILoader. So far nothing special. But when I reach a certain amount of pictures in the gallery, the scroll panel get stuck while loading and doesn't display the full size image. Then the thumbnails don't react at all.

[Code]...

View 4 Replies

IDE :: CS4 Jsfl - Fl.getDocumentDOM().selection Doesn't Retain The Selection Order

Nov 11, 2010

I never realized that fl.getDocumentDOM().selection doesn't retain the selection order... <sniff>. I was hoping to build relationships based on the order. I guess I took if for granted that tools like Maya and Max store the selection buffer in order of what was selected. I'm trying to avoid: Select Object, <Press 'Parent' Button>, Select Parent, <Press 'Parent' Button>

View 2 Replies

ActionScript 2.0 :: ScrollBar Dragger To Be Positioned In Relation To The Info._y As The User Scrolls Info?

Jun 24, 2010

I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...

Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........

also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.

View 1 Replies







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