-
Changing the State of the application from a custom component
Hello, I have several custom components that are included in the original application.
When I try to change the State of a custom component, I get an error saying "undefined state: name of the State." How can I change the State of the application from a custom component? All States are defined in the original application.
@linrsvp,.
If you are using Flex3 try Application.application.currentState = "somestate;
If you use Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate;
Don't forget to import the namespaces corresponding to the above.
Thank you
Jean Claude
-
Change the State of all the Image inside the list view toggle button when a list is tap
Hi, please help, is there a way to change the State of a toggle button to image inside the listview where in when you type a list, the toggle button in the list state change and the other toggle button will be set to their default image? the list has a defined Image toggle button to check both...
ListView {
layout: GridListLayout {
cellAspectRatio: 1.4
}
id: denominationList
dataModel: _model.denominationModel
listItemComponents: [
ListItemComponent {
id: component
type: "item"
CustomListItem {
id: itemRoot
dividerVisible: false
highlightAppearance: HighlightAppearance.None
Container {
id: fieldContainer
topPadding: 5
leftPadding: 10
rightPadding: 10
bottomPadding: 5
//maxWidth: 270
layout: DockLayout {}
Container {
id: amountContainer
//topPadding:
layout: DockLayout {}
background: Color.create("#ffffff")
horizontalAlignment: HorizontalAlignment.Center
verticalAlignment: VerticalAlignment.Center
ImageView {
id: amountBorder
preferredWidth: 400
imageSource: "asset:///images/flux/amount-border-other.png"
}
Container {
horizontalAlignment: HorizontalAlignment.Center
verticalAlignment: VerticalAlignment.Center
layout: StackLayout {
orientation: (!(ListItemData.name > 4) ? LayoutOrientation.TopToBottom : LayoutOrientation.LeftToRight)
}
Container {
horizontalAlignment: HorizontalAlignment.Center
verticalAlignment: VerticalAlignment.Top
visible: (ListItemData.name.length > 4)
preferredHeight: 60
Label {
id: loadPromoName
textFit.mode: LabelTextFitMode.FitToBounds
//multiline: true
visible: (ListItemData.name.length > 4)
textStyle{
fontSize: FontSize.Medium
fontWeight: FontWeight.W300
color: Color.create("#b9babe")
textAlign: TextAlign.Center
}
text: ListItemData.name
}
}
Container {
verticalAlignment: VerticalAlignment.Center
topPadding: 8
rightPadding: 0
ImageView {
visible: (ListItemData.name.length <= 4)
preferredHeight: 40
imageSource: "asset:///images/flux/pesosign-amount.png"
}
}
Container {
verticalAlignment: ((ListItemData.name.length > 4) ? VerticalAlignment.Center : VerticalAlignment.Bottom)
horizontalAlignment: HorizontalAlignment.Center
leftPadding: 0
Label {
id: amountLabel
textFit.mode: LabelTextFitMode.FitToBounds
textStyle{
fontSize: FontSize.XLarge
fontWeight: FontWeight.W300
color: Color.create("#b9babe")
textAlign: TextAlign.Center
}
text: ListItemData.amount
}
}
}
}
}
}
}
]
onTriggered: {
var selectedItem = dataModel.data(indexPath);
}
}
}
link the button to a property of an element, and then change all the elements in the datamodel. ListView reflects these changes.
-
How to change the image field captures screenshots automatically from BMP to JPEG
How to change the image field captures screenshots automatically from BMP to JPEG
I want to say, when I tap on the screenshot on my keyboard and paste this image in microsoft photo editor or picasa 3.0 areas of the bitmap .bmp. instead of asking the witch I´d field prefer.
So, I open that image on the brush to convert it to. JPEG.
It's hick very!
is it possible to easily me this step and save or paste pictures in JPEG on my files automatically?
Hello
I saw that article when I was looking for one that I posted...
I understand your problem, and the answer is that, to the best of my knowledge... NO..
Windows records the capture in memory as bitmap, along with, even if you can paste it directly into a folder, it would be in the form of bitmap...
The best I could find is to use the suggestion in the link I've included which refers to the
Windows Key + PrintScreen to automatically record is in PNG format in your pictures folder...
The only way to do what you want is with a 3rd party capture program that can be configured to save in a directory as a specific file type...
Personally, I use a program called print screen Deluxe for this... it is a purchased program...
I'm sure you could find something free to do what you need...
You may need to use a different key for print screen, but the software can allow you to reprogram the PrntScrn key...
-
How to change the search fields displayed on the homepage of UCM 11g?
Hello
How to change the search fields displayed on the homepage of UCM 11g?
Another option for you.
Follow the links below.
How to: Customize the home page of Oracle UCM with configuration manager. -Blog of BlueStudios Johns
Example of a custom component.
bluestudios.co.uk/blog/wp-content/uploads/2009/02/ether_homepage1.zip
-Prashant
-
Is it possible to change the State through several buttons?
If I have already created, say, 100 identical buttons, and I want to change the State 'down' to a new color other than black. is it possible to do it quickly? I use 9 Captivate.
Because you talked about "buttons" I assumed that you were pointing to the InBuilt States: Normal, rollover and down. The situation with styles is a little confusing IMO concerning States. You cannot set the States in Manager of Style of the object, as was the case of the Captivate 8 buttons. Since 9 Captivate, you will need to define States in the Panel object, for custom reports also state in regard to integrated States. Part of the InBuilt says are really integrated in the style: this is the case for all of the State for the Image buttons, for the background/outline for other types and form buttons. The labels on the buttons (text, system and form) are not part of the style. The exception are the image buttons because you have to put the text in the images. If you add objects in integrated States, they wil not be part of the style. Even for States custom: they are not part of the style. I have problems with this configuration of confusing. It would be much easier, I think, if everything was recorded in an object style could be edited and changed in the Object styles Manager.
The button menu "three lines", also called the hamburger or hot dog button, has opportunities to save changes to an existing style, to create a new style to apply a style to objects with a different style by default (as long as you override, leading + sign to appear).
This no doubt confused answer: the workflow, I proposed with object styles, does that for characteristics that are saved in an object style (there no real explanation to help him as far as I KNOW). Now, I understand your last answer (sorry) that you are talking about a State that isn't integrated, but custom. In this case, you cannot change this State for all buttons at the same time. Only way is to duplicate the buttons. My apologies, I may have to write a blog about the object styles and its Director. I've heard several trainers proclaiming that they never use the OSM.
-
Adobe Muse doesn't let me change the States of thumbnails in a lightbox.
Muse doesn't let me change the States of thumbnails for my lightbox. The only thing that it is allowing me to do the right now is to change the opacity of each State. I would like to than the 'normal' State of my nail of the thumb to be a solid color, the "Rollover" State to reveal the image that is displayed in the Viewer, the State of "mouse down" to be another solid color and the 'active' State of being of the same color together as a 'normal' State I changed the color, and I even tried to fill it with a real image with a solid color file. Nothing will work - the State remains just to display the main images in the thumbnails. I would appreciate help! I don't understand why it won't work. States work for everything else.
Hello
With startup, if you add a picture as a thumbnail then it could appear as hero image.
We cannot install according to States with the thumbnails of the images, any image or fill added to the would be added as a background image. You can change the image of the active panel, but still we can not install different images with the States.
Better idea would be to use the composition where you can set up reports for the triggers and the images separate targets.
Thank you
Sanjit
-
Can I change the State of an object by highlighting on the text?
This issue probably makes no sense, but I didn't know how this word with just a few words.
I'm working on a site where I have a "button" that includes text in. When someone passes over the button, it changes color (it's basically showing the user that the site meets). When I put the text in the button, it causes the button changes color when I go over it.
I know that it is because the text is covering the area that is supposed to respond to the mouse of the user.
So, I wonder if there is a way to either make the text and the 'button' all that against, or whether it is possible to make the text 'invisible' to the mouse. What I mean by 'invisible', it is that the computer recognizes the text that will be the key that is sensitive to the user's mouse.
I am able to do using photoshop, but I was just wondering if it is possible to do in only muse.
Hello
You can define States for the background as the rectangle layer, then insert the text block that will change the State to move mouse, but if the text block covers the background, then he used active state.
The object you are trying to achieve as invisible to the mouse text is not possible with the native menu features, but yes as you said you can use an image for this, write the text and use the image.
The status button has same functionality with rectangle in the background and text in this.
Thank you
Sanjit
-
Change the State 3dscene
Hello
.activated getAnnots3D (0) [0] = true; is allowed to activate a 3dscene
.activated getAnnots3D (0) [0] = false; is allowed to disable a 3dscene
What is the code to change the State of 3dscene into a single shape. A click will activate, click on disable the will and so on.
Thank you
getAnnots3D (pageNum) [0] .activated ^ = true;
-
Change the State of the Parent feature
What is a good way to change the State of an item parent of the child element? What I'm trying to do is to close a component and switch it to its parent.
Send an event to the component
-
detect device language and change the text field accordingly
Im working in Flash Pro with AIR for Android.
I have a single text field and would like to change the language in this text field to match the language of mobile devices.
How do I detect the language of devices, and then change the textfield object to match the language?
import flash.system.Capabilities;
switch (Capabilities.language)
{
case 'in ':
TxtField.text = 'English LANGUAGE '.
break;
case "en":
TxtField.text = "organizing";
break;
case "es":
TxtField.text = "Tchequelangue";
break;
by default:
TxtField.text = "Whatever";
}
Use Capabilities.languages [0] for the country code. for example. en-US
switch (Capabilities.languages [0])
//{
case "en-US":
TxtField.text = "English LANGUAGE. '" American ".
break;
case "en-GB":
TxtField.text = "English LANGUAGE. Britain ";
break;
by default:
TxtField.text = "Whatever";
//}
-
How to change the State of a custom component
HI (sorry for my English)
I am new to flex and actionscript...
I hava a < Application > with 3 States.
I also create and a custom component that I use in the 'Phase A '.
Inside the element, I have a < LinkButton > click = "" currentState = "" but do not work. "
I know that the easy solution is to get out the < LinkButton > component and put it on 'Stage-A' in the Application <>
Please any other solution?
Thank you
You must add an import or you can use it like this
mx.core.Application.application.currentState = "
Sincerely,
Michael
Sent from my iPhone
El 20/06/2009, a las 16:27, Ant - will [email protected]> escribio:
>
It gives me an error
«1120: access of undefined property Application.»
>
I think I need to change the Application.application. But what?
>
Thank you
>
-
change the State of the button
Hi, I'm new to labview and I have a few questions. I came to a point in my code where I'm stuck. I have attached the code so you can see where I am. My problem comes into play with the toggle button. I need to know if there is a way to change its operation based on a condition. I want to it have where when you press the button, it remains pressed. But if it meets a condition, it turns itself off. In my code, I have a point where I need an output message, but because the State of the button does not change, it keeps out the message unless I have disable the program.
If that makes sense, anyone know of a solution to this?
Thank you much for the help in advance.
You can use a local variable of the control inside the structure of case where you write a fake to she to him popping up when you need to. Your not actually change its operation, but it allows you to programmatically change the current state of the button.
-
Win LR 6.4 import/Add - cannot change the destination of the catalogue
Using LR 6.4 and has several hard drives installed on my desktop computer. LR (.lrcat) catalogs are on the G drive - and have always been on the G drive. LR and Photoshop are also installed on drive G. My photos are in the folders on the F drive. My two catalogues are given due recognition in the preferences as being on drive G.
When I use the import - Add command, LR allows me to choose the source, but immediately chooses the destination as "My catalog" C drive. Although there is a small box next to the C drive, it is unusable and I can't find a way to change the destination. If I use other commands such as copy, I am able to change the destination. But whenever I load photos from a disc, I have for them to make a folder on the F drive and copy them from the disk to the new folder. Then, I want to add these pictures to the catalog that is currently active. I want to add them without moving... l
I did a search for .lrcat and all the catalogs were on drive G, as they are supposed to be. However, there is an entry on the C drive that is marked as a MS Word file and it is called: Lightroom assessment.docx. A paragraph seemed more likely guilty, but I don't know if I should change it and if so, what to change:
The application folder: G:\Program Adobe Lightroom
Library path: G:\Lightroom Backups\June2015\June2015.lrcat
\Adobe\Lightroom
Settings folder: C:\Users\mg\AppData\Roaming
Thanks for any help or suggestions. Is to make the process even very frustrating catalog help
No matter that one of your hard drives, the catalog is on. If this catalog is one that is active, then it is one which will contain references to imported pictures. When you use the add in the import dialog box images are added to the catalogue of their current location. You cannot specify a different destination when you use this option. When you use the copy option, then you are able to specify a destination in the right column of the import dialog box. You must choose the appropriate drive and the main folder in the folder tree that appears. Then, specify the name of the subfolder in the highlighted area:
You talked about change the destination of the catalog. It was a poor choice of words or you don't understand how the catalog works. The catalogue is available in one place. Normally it does not move anywhere unless you choose to do it manually. You can control the destination of your imported images, and Lightroom will import to the destination on any hard drive. But they are managed using the catalogue that remains in one place.
-
Can I import images and change the duration of each one individually?
I make a slideshow for my son and I want to be able to still and video images. I know how to set the default duration for images that are first imported, but I want to know if I can change the time duration after its been imported? Basically I want some images of pop and take out them just for a second. There are a series of these images I want to blink rapidly. Thank you
Answer is Yes. Right click on > speed/duration.