Professional :: Create A Custom Widget?
Nov 21, 2010
I would like to create a "component" -- basically a drop-down menu. Except that my drop-down menu will not select an item when a user clicks on it. The user must click on it for 2 seconds and then it will be selected. How can I create this custom widget/component?
View 2 Replies
Similar Posts:
Aug 17, 2009
Given a few months on my own, I could probably hack something together, but an experts input would be much nicer.This is a custom Google Voice widget/form. I have the backend code, and can share, but right now I need all these pieces to fit together. It is mostly ELSE/IF statements, starting with the first page, and transitioning to the next widget page depending on the data input, correct or incomplete/incorrect as the variables determining which widget page to open.This will definitely take some Flash skills too, but minimally.Currently the SCENE1 page just shows each of the different widget pages and is not meant to represent the final widget - the final widget will be the first page and when clicked transition to a widget/form different page in the same spot, and again, depending on the input.If you want to give it a try, you can download the .FLA here:
FYI: This same widget HAS been sucessfully programmed in AJAX, with it's tons of code and multiple files, but the challenge was to make it work the same way in Flash. This is the very first TRUE custom Google Voice widget - all others I've found are custom icons that when pressed launch Googles GV widget - so this widget is one of a kind! You can view the working widget and download all the AJX components here if you'd like
View 5 Replies
Jun 28, 2011
I have created a custom Flex widget by extending UIComponent that I call FlexMapBuilderWidget. I have overriden the various UIComponent methods for measurement, children, display list, etc.
I used this widget to replace a plain old Sprite so that I could add some layout based functionality. When the Sprite was there, I was able to get scrollbars using:
Code:
<s:Scroller width="100%" height="100%">
<s:Group width="100%" height="100%" clipAndEnableScrolling="true">
<gapView:MapBuilderWidget id="mapDisplay" />
[Code]....
I have done test output to check the reported size of the FlexMapBuilderWidget in its measure() and updateDisplayList() methods, the size is always reported as a large enough number to require scrollbars.
View 3 Replies
Aug 6, 2009
I am trying to figure out how to embed the Google Voice (GV) code I have been given through my GV account into a Flash web page using Action Script, but instead of using the default GV icon, use my own, which then opens the GV 'Call' interface. Here is the GV code:
[Code]...
View 0 Replies
Apr 25, 2009
I am trying to embed this widget INTO a flash file. I am not a coder, though I know some basics. Here is the embed:[code]
View 1 Replies
Nov 24, 2009
For my wishlist site, I would like to propose widgets to my users in order to publish their wishlist on their blog or personal website. The idea is to propose a few lines of code to my users that they only need to copy/paste to insert the widget displaying their wishlist. What is the best way to create/develop a widget ?
[Code]...
View 2 Replies
May 15, 2011
So web is full of articles on bada (1.2) not having fp9 or having only flash lite 4, or only 3.1... So wikipedia talls us about full FP9 support. I wonder have any one trued to create a widget for Bada (1.2) with FP9 inside? Is it possible ore flash lite 3.1 is limit for widget?
View 1 Replies
Apr 8, 2011
I need to figure out how to create a flash based "widget? where I can pull in and display basic local airport data, like Delay information.
View 1 Replies
Nov 11, 2009
I have been trying to use API provided by tringme to create widget to make a call. I am unable to get more information from tringme support about connecting. I assumed that the call wasn't through due to insufficient credit. Even with sufficient credit the call doesn't happen. Have any of you people work on it any time?
I have written the code as per the API, <uid> has been replaced with a valid uder id.
Code:
var tringMeURL:String = "rtmp://sip.tringme.com/voicemail/<uid>";
var randomstreamname = "63e457425defb24e8a5ca80de80d2e3817ea5c1b";
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
[Code]....
View 2 Replies
Jan 18, 2010
I'm in the process of creating a component for CS4 which uses a custom UI SWF in the component inspector. I read that the component inspector is being removed in CS5 and you will now access component properties in the properties panel. Will developers still be able to create a custom component UI in CS5?
View 7 Replies
Jul 15, 2010
I am having difficulties inserting a Map widget on my flash site. [URL] it needs to go on the left hand side were there is a "empty" space waiting for it! so i attached the map widget code just cuz... i am using flash cs4, as3 the code is a follows:
[Code]...
View 15 Replies
Jun 16, 2011
I have read a lot of threads on this, and I am trying to create a widget that will allow the button to toggle between Play/Pause pictures and play and pause the captivate as necessary.Right now my script reads as below: The button will toggle bwteen play and pause pictures. But will not pick up the .rdcmndPause=1; .rdcmndResume=1.
this.Pause.visible = true;
this.play1.visible = false;
this.play1.addEventListener(MouseEvent.CLICK,hidePlay);
[code]......
View 2 Replies
Feb 5, 2010
am building a site in DW CS4. The site is for a custom nameplate service; once they choose a design and colorway, I'd like to allow customers to preview their name on the sign with, say, 6 different font options to choose from. I've never done any kind of interactive Flash--other than simple mouse actions, so I am at a total loss as to where to get started. Has anybody seen a template that might work?
View 3 Replies
Feb 23, 2010
I have two separate video widgets running on the same test page [URL] and when an input textfield from one of the widgets receives focus or is typed into, the other widget goes black.
View 1 Replies
Jul 10, 2011
In terms of Flash expertise I am on the the doddering divkid level -- but have mananged to create a custom cursor; a hand that I want to move about over most layers but under one specific layer. Currently, no matter the layer order, when published the cursor image jumps straight to the top.
Is there a property I can imbue in the would-be "top" layer or a way of editing or modifying the custom mouse cursor actionscript that would bring about the desired result?
View 6 Replies
Nov 14, 2009
I'm trying to create a series of scripts that will create some custom event listeners.
I have three movie clips on my stage. One is a movieclip who's sole function is to hold array's and the event listeners. A second which moves around the screen. And a third that is motionless.
The problem is that the argument I want to test (which activates the custom event) is held within a string.
What I want to know is, how do you test to see if the string argument is true?
Is it something similar to this:
var myCode:String="1<0";if(myCode){
trace('one is smaller than 0'); //Strangely apparently one IS smaller than 0!!!
}
I think I'm going about this in the wrong manner, however this is the only way I can think of this working... (since I need to be able to dynamically create these events)
View 7 Replies
Dec 28, 2009
Is there a point of creating custom event class if i dont need to pass custom property with that event?
View 3 Replies
Jan 23, 2010
I am new to AS3, as well as Flash in general, so forgive me if this seems highly elementary. All I am trying to do is create a custom class that extends the MovieClip class and contains a custom property of "marker". I want to be able to use and change the value of this custom property on the timeline for an instance of this class and have it behave just like any other (Ex: this.x ==> this.marker).
[Code].....
View 13 Replies
Aug 29, 2007
I've been playing around with custom classes. My objective was to create a custom class (Testing) that would create a box when an instance of the class is created. I've tried three different approaches, however only (3) seems to be showing up. I'm just curious why (1) or (2) doesn't work?
Also is there a better approach than (3)? Since at the moment it's been created on _root. I hope the box can only be accessible through the instance. Since I'd like to incorporate the whole idea of public, private, encapsulation, etc.
[Code]...
View 3 Replies
Nov 5, 2009
is there any way to create a custom css value for a component and have it available to the skin class that component is using? for example, if i define this in a css file:
[Code]....
is there a way to make myCustomValue available in the PanelSkin ?
View 3 Replies
Jun 1, 2011
I'm trying to CREATE custom fields from flex, but I'm having hard time finding the correct syntax. Below is the piece of code that I'm using and it's resulting in error
"sf:INVALID_TYPE INVALID_TYPE: null objects not allowed in create/update request"
var con:Connection = new Connection();
var lRequest:LoginRequest = new LoginRequest();
lRequest.username = username1.text;
lRequest.password = password1.text;
[Code] .....
View 1 Replies
Sep 18, 2011
I am trying to create custom iterator element. The class itself is below.
public class ArrayBasedIterator implements IteratorInterface
{
// Holds Array of elements which are iterated
[code].....
View 1 Replies
Jul 21, 2009
Good example of a custom Transition class?
View 3 Replies
May 27, 2011
Go about to making a custom shape for a hill. I want to import it from photoshop where I made it but when I do it comes in as a square so instead of the character moving up the hill it goes to the top of the square and drops when the image ends.
View 2 Replies
Apr 24, 2007
I was wondering if anyone knew how to create custom components, like a Window for exemple. Flash's help doesn't really help on that, and the subject is pretty new so Google return nothing relevant.
View 1 Replies
Feb 6, 2009
I'm trying to loop through an array that i'm trying to create of a custom class that i've made, and i'm not really sure how to access the class, or if this is even possible.
Code:
package
{
public class Product
{
private var productId:int;
[Code]...
ps. i've simplified the code to just show my end goal, so what i'm doing may look wierd. thx for any help
View 7 Replies
May 14, 2009
I'm using the following code to create events my question is how do i create multiple events? I need each event to contain a diffrent data parameter.
PHP Code:
package NetConnections.Call{
// Import class
import flash.events.Event; [code].........
View 1 Replies
Aug 8, 2009
I have written a Class for skinning the UI. The Class works by taking a movie clip name from the stage passed to it and create the skin for it.So I create an Object from the class such as this:
Code:
var CBox:UI = new UI();
Now what I wanted to do is reference a movie clip from the stage to this CBox variable, so when a call the Class methods it will know which movie clip to work on! Since currently I have to do this:
Code:
CBox.Skinning(content_mc, "content", 100, 200);
or
CBox.Over(content_mc);
As you can see Im passing the movie clip, content_mc, everytime. I just want to avoid this by creating a reference.
View 7 Replies
Mar 10, 2009
I was wondering if there's any way to create a custom right click menu like in context menu(or similar) without the "Settings" and "About Adobe Flash.." etc... options?
View 1 Replies
Aug 5, 2009
I am trying to create a custom scrollbar for a website... I watched the tutorial>[URL].asp on how to create one. I have the scrollbar working but it won't attach to the text! Here is the actionscript:
[Code]...
View 5 Replies