Overlapping elements and events
Hello all
I can't reproduce such scenario in Edge Animate: the large box has mouseover trigger, on mouseover the button appears - after click, the page opens. On box mouseout, the button disappears.
Have a look: https://dl.dropboxusercontent.com/u/145862/adobe_forum/Untitled-3.html
The problem is that when the mouse leaves grey area, mouseout event fires. If I put the layer with button below the large transparent box, button stays visible, but click event doesn't work.
Source files: https://dl.dropboxusercontent.com/u/145862/adobe_forum/overlapping_buttons.zip
Mac OS 10.7.5 Edge Animate CC 3.0 Thank you in advance! cg.
Hello,
It seems you want this: overlapping revised.zip - Box
Built with Edge 1.5
Tested on Yosemite and Safari 8.0.2
Similar Messages
-
Order of elements and events.
INTRO
Hi Oracle community.
A while ago I started a thread here on the forum where I had put three different subjects to be treated. The user jsmith guided me saying that I was supposed to separate things, dividing each subject in a separate thread. The original discussion is at the following link:
Interesting things, however, unknown? StackPane, animations and filters.
ABOUT
So in this discussion, I will be talking about input events and maybe about event filters. I created a JavaFX 8 (b123) application that checks the mouse click on certain nodes. Basically I have a panel of buttons. Behind this panel, I have a scroll pane with rectangles. The rectangles are contained within a Group, and the buttons are in a VBox. The Group is set as ScrollPane content. VBox and ScrollPane are within a StackPane, which becomes the root of scene graph. If we observe the nodes tree, we'll find the following scenario:
IMAGE
Here is my source code:
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ScrollPane;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.stage.Stage;
public class ScrollTest extends Application
// MAIN
public static void main(String[] args)
Application.launch(args);
// INSTÂNCIAS
// CONTROLS
private Rectangle[] rectangles;
private ScrollPane scrollP;
private Button[] buttons;
// LAYOUTS
private StackPane root;
private Group group;
private VBox vbox;
// INÍCIO FX
@Override public void start(Stage estagio) throws Exception
this.iniFX();
this.confFX();
this.adFX();
this.evFX();
Scene cenario = new Scene(this.root , 640, 480);
estagio.setScene(cenario);
estagio.setTitle("Programa JavaFX - RDS");
estagio.show();
/** Just instantiate JavaFX objects.*/
protected void iniFX()
// CONTROLS
this.rectangles = new Rectangle[5];
this.scrollP = new ScrollPane();
this.buttons = new Button[6];
// LAYOUTS
this.root = new StackPane();
this.group = new Group();
this.vbox = new VBox();
/** Just sets the JavaFX objects.*/
protected void confFX()
// CONTROLS
for(int count = 0 ; count < this.rectangles.length ; count++)
this.rectangles[count] = new Rectangle();
this.rectangles[count].setWidth(Math.random() * 100 + 20);
this.rectangles[count].setHeight(Math.random() * 100 + 20);
this.rectangles[count].setFill(Color.rgb((int) (Math.random() * 255) , (int) (Math.random() * 255) , (int) (Math.random() * 255)));
this.rectangles[count].setTranslateX(Math.random() * 600);
this.rectangles[count].setTranslateY(Math.random() * 600);
this.rectangles[count].setRotate(Math.random() * 360);
for(int count = 0 ; count < this.buttons.length ; count++)
this.buttons[count] = new Button("Button - " + count);
// this.scrollP.setVbarPolicy(ScrollBarPolicy.ALWAYS);
// this.scrollP.setHbarPolicy(ScrollBarPolicy.ALWAYS);
this.scrollP.setPrefSize(400 , 400);
// LAYOUTS
this.vbox.setAlignment(Pos.CENTER);
this.vbox.setSpacing(20);
// This doesn't solve my problem.
// this.vbox.setMouseTransparent(true);
/** Just create the realtion between nodes, and the root.*/
protected void adFX()
for(int count = 0 ; count < this.rectangles.length ; count++)
this.group.getChildren().add(this.rectangles[count]);
for(int count = 0 ; count < this.buttons.length ; count++)
this.vbox.getChildren().add(this.buttons[count]);
this.scrollP.setContent(this.group);
this.root.getChildren().add(this.scrollP);
this.root.getChildren().add(this.vbox);
/** Just add some events to some nodes for debugging.*/
protected void evFX()
this.vbox.setOnMousePressed(new EventHandler<MouseEvent>()
@Override public void handle(MouseEvent e)
System.out.println("Mouse pressed inside VBox.");
this.scrollP.setOnMousePressed(new EventHandler<MouseEvent>()
@Override public void handle(MouseEvent e)
System.out.println("Mouse pressed inside ScrollPane.");
if(this.rectangles.length > 0)
this.rectangles[0].setOnMousePressed(new EventHandler<MouseEvent>()
@Override public void handle(MouseEvent e)
System.out.println("Rectangle pressed.");
rectangles[0].setFill(Color.rgb((int) (Math.random() * 255) , (int) (Math.random() * 255) , (int) (Math.random() * 255)));
THE PROBLEM
I wish I could click the mouse on VBox buttons, but also in the scroll pane, and in it's internal contents (the rectangles). I tried changing the VBox mouseTransparent property to true, and modify mouseTransparent to false on each VBox button, but that did not work. I've been reading the JavaFX documentation talking about routing events, and found the following:
The route can be modified as event filters and event handlers along the route process the event. Also, if an event filter or event handler consumes the event at any point, some nodes on the initial route might not receive the event.
Could it be that VBox is filtering events so they do not reach ScrollPane? Or is this being done by StackPane in some other manner? Does anyone have any idea what I could do?
In any case, I thank you for your attention.You might need to modify the event dispatch tree so that the events get beyond the VBox. I'm not saying this is the right thing to do, but something worth looking at.
root.setEventDispatcher(new EventDispatcher() {
@Override
public Event dispatchEvent(Event event, EventDispatchChain tail) {
tail.append(group.getEventDispatcher());
return tail.dispatchEvent(event);
There is some info on event processing at Handling JavaFX Events: Processing Events | JavaFX 2 Tutorials and Documentation -
I try to create an html for IPad. The html page contains an element overlapping a video, now it works as for view but the focus is still with video. This denies the event of overlapping element from occuring. Can please anyone help to solve this issue?
Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
* On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
[[Image:FirefoxSafeMode|width=520]]
''Once you get the pop-up, just select "'Start in Safe Mode"''
[[Image:Safe Mode Fx 15 - Win]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
Evaluating FXG files - possible to access elements and add event handlers?
I would like to read an existing FXG file into flash builder and then datamine the file for elements, and add event handlers to those elements.
For instance, if I have two rectangles in an FXG file (not in the flash builder mxml) and then read it in, I'd like to search for every rectangle and add an event handler that detects a mouse click. If the FXG code changes to three rectangles, I don't want to change my mxml for flash builder.
Is this possible?I'm seeing a pretty tragic death using the following, where theDiagram.fxg is in the assets directory. Does <Graphic> map to a SpriteVisualElement, or is the <Graphic> composed of SpriteVisualElements?
import assets.theDiagram;
private var fxgCls:Class = theDiagram as Class;
private var fxgElement:SpriteVisualElement = new fxgCls() as SpriteVisualElement;
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::updateCallbacks()[E:\dev\4.x\frameworks\projec ts\framework\src\mx\core\UIComponent.as:7093]
at mx.core::UIComponent/set nestLevel()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:3986]
at spark.core::SpriteVisualElement/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\4.x\frameworks\projects\s park\src\spark\core\SpriteVisualElement.as:2106]
at spark.core::SpriteVisualElement/addChild()[E:\dev\4.x\frameworks\projects\spark\src\spark \core\SpriteVisualElement.as:2070]
at assets::theDiagram_Text_16710627/createText()
at assets::theDiagram_Text_16710627()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at mx.core::FlexSprite()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\FlexSprite.as: 61]
at spark.core::SpriteVisualElement()[E:\dev\4.x\frameworks\projects\spark\src\spark\core\Spr iteVisualElement.as:87]
at assets::theDiagram()[assets/theDiagram-generated.as:10]
at SpecViewer()[SpecViewer.mxml:22]
at _SpecViewer_mx_managers_SystemManager/create()
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\ projects\framework\src\mx\managers\systemClasses\ChildManager.as:304]
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:2810]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.x\frameworks\projects\frame work\src\mx\managers\SystemManager.as:2637]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.x\framewo rks\projects\framework\src\mx\managers\SystemManager.as:2539]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:515]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick() -
Training and event management issue
Hi,
I have issue in Training and event management. Can employee attend two programs in same day in different location?please let me What is standard process
Regards,
PrasathIs your question related to allowing the registration for two programs on the same day at different locations? If yes, it will be giving a warning message that your training registration is overlapping with already regestered program. That to only when the time of the programs is same. You need to implement custom checks if you would like to resist from registring for such programs.
Conceptually, it is always possible for a person to attend two programs in the same day at two locations (here location definition is company dependent and how do you define different locations of your company). So it wont resist from registring or infact if possible from participating as long as the schedule is not collaiding... -
Creating Business event in training and event management
Hi Gurus!!!,
can you please instruct me the steps involved in creating business events in Training and Event Management.(HR Module)
Thanks and regards,
ProsperHi Prosper,
You need to configure lot of settings, prior to Business Event, because one BE is based on various elements like Location, Attendee type, Instructor, Fees, Resources, Time Schedule, Services, BE type, BE Group.
After configuring all these for BE type, you need to create a BE for the BE type. Then, you can go for day to day activities like Booking, Pre Booking, Cancellation.
I hope, this link will help you
http://help.sap.com/saphelp_47x200/helpdata/en/26/865738c185f50ce10000009b38f8cf/frameset.htm
Good Luck
Om
Reward it, if u feel helpful. -
Create a dvd from past project and event moved to external hard drive
i have version 7.04 DVD. Moved several projects and events to external hard drive. How do I go to "existing dvd projects" and create a dvd from a completed past dvd project? do i have to move the project and event back to the iMac hard drive..thanks
A iDVD project contain links to the various elements you have used to make the project. Unless you have actually saved the project as an iDVD Project Archive (an option under FILE in iDVD) which can be a very large file because it actually contains all the elements used in the project with adjusted links, simply moving a project (and/or elements used in the project) breaks all the necessary links. Sometimes you can reestablish the links (iDVD usually gives you a chance to try), but it can't always be done.
Good luck. -
Are there bistable elements and flank sensitive elements?
For automatizing the measurement I need bistable elements and positive and negative flank sensitive elements, i.e. when there is a transition from true to false or vice versa the element should give true or false. I didn't find any of those elements.
You can detect value changes by putting the value into a shift register and comparing the current and previous values. The event structure also has a Value Changed capability.
Lynn -
Photoshop 8 to 11 - what happened to the Places and Events tabs?
My keywords are still associated with the photos, but none of the Places and Events that I had in PSE8 show up in PSE11. How do I get them back?
Notes for users upgrading their catalogs to Photoshop Elements 11
Enhancements to the user interface and changes to supported file formats necessitate changes to the catalog conversion process as well. The following table helps you upgrade your catalog smoothly to Photoshop Elements 11.
People tags
You can locate photos with People tags in the People panel of the Media view, or in the People view. Generic icons are used for People tags.
To view the People panel in the Media view, select View > Show People in Tag Panel.
Photos in sub categories are moved to the Groups section of the People view. In the People view, click the People > Group slider to view them..
Events tag
Renamed to Events (Tags)
Places tag
Renamed to Places (Tags)
Smart Albums
You can locate Smart Albums under Saved Searches.
Unsupported file formats
The following file formats are skipped during file conversion: Filmstrip (FLM), Wireless BMP (WBM, WBMP), PCX, Targa (TGA, VDA, ICB, VST), Photoshop RAW (RAW), PICT File, PCT, PICT), Scitex CT (SCT), Photoshop EPS (EPS), EPS TIFF Preview (EPS), Generic EPS (AI3, AI4, AI5, AI6, AI7, AI8, PS, EPS.AI, EPSF, EPSP
Unsupported album templates
Default album template is used for the online album.
For more info please see http://help.adobe.com/en_US/elementsorganizer/using/WSae2ea3b149d0c3591ae939f103860b3d59-7 f59_WIN.html#WSD395F130-4D22-4da0-8C61-A46BC0A77018_WIN
Thanks,
Garry -
So I'm using Photoshop elemnts to sync photos to my iPhone 3g by using the normal sync with itunes
I know I cant sync faces and Events when i sync folders in windows but I cant get it why apple dosnt add support to sync events and faces from photoshop elements
anyone know if support will be comming or if Apple will take a **** at pc users once more?Your English is better than my French.
For the folders syncing with windows pc's Photo albums:
1) Create a master sync folder on your pc with no photo files at the root level of the folder.
2) Create sub-folders within the master sync folder with the subfolders named what you want the ipad's photo albums to be named.
3) Place the photo files you want to sync in the appropriate subfolder within the master sync folder.
4) In itunes on the photos tab, select the master folder as the sync folder.
5) After syncing, each subfolder will be an album on the ipad with the proper photos contained there-in.
For the Places; The ipad should display Places information for any photo with geotagging data. This is stored with the photo in the metadata. It is the Lat/Long of the photo. This info must be included on the photo file before syncing.
For the Events, I use separate folders within the master sync folder for each event. (see above).
I am not sure how Events and Faces works with PSE8 or if the method PSE8 uses is compatable with the ipad. iPhoto on a mac works for events and faces on the ipad, based on posts I have read here. -
Howdy!
Why are the clusters different coming out of the Read Alarm.vi and the Alarm and Event Query.vi when they have the exact same data?
The only difference is the order of two last elements.
I am leaning towards bug on this one, unless these clusters need to be distinct for some reason?
Certified LabVIEW Architect * LabVIEW ChampionThanks for posting Ravens Fan
I re-jiggered my API to reverse my datatypes then applied changes to my application code.
It wasn't that painful to update.
My current understanding is that this bug affects one VI, so I decided it was easier to wrap that VI with the bugfix.
Attached is my implementation if anyone wants it too.
Cheers
-JG
[LV 2009]
Certified LabVIEW Architect * LabVIEW Champion
Attachments:
Alarm & Event Query_bugfix.vi 30 KB
Convert Alarm And Event Query Cluster.vi 21 KB -
Hi,
I want to develop a design tool which allows the editing and visualization of elements which are ordered linear. Each element has a start and end address so it is possible that elements overlap. This is an error case an should be visualized. First I thought to use JList to display the elements. But I think its quite difficult to realize the overlapping elements (JList entries). Is it possible with JList or it's better to draw gui representation myself ?
Thanks
OliThanks for your post....I have already my own list cell renderer by implementing ListCellRenderer interface. In the getListCellRendererComponent I return a JLabel for each list item with different height (to visualize sizes). I can't see the possibility in this method to realize the overlapping. I get only the index no positions.
-
Hello,
I recently installed Premiere Elements 8 to my pc and have been plagued by a debug event everytime I attempt to drag and drop a video clip into the editing pane.
The following is the error that pops up everytime: Premiere Elements Debug Event. Premiere Elements has encountered an error. [..\..\Src\PathUtils.cpp-190]
A button that reads "continue" is in the error box and Premiere closes abruptly after I click on it.
I have no clue what this means and it would be great if someone could help me out.
Thanks!Having a new PCI-Express graphics card installed as we speak and should have my machine back by Monday,
Many users have had issues with integrated graphics chips, both here, and on the PrPro forum.
I hope that the new card will take care of your issues. If you go with nVidia for the PCIe graphics card, please disable both of these "gamer-only" moduels: PhysX and 3D Stereovision. PrE cannot use them and they really mess things up for Adobe programs.
Good luck, and hope that all is perfect on Monday!
Hunt -
Project and Event Mgmt - Revisited
I started a discussion a few weeks ago about how to manage FCP x projects and events.
That discussion is here:
https://discussions.apple.com/message/15630947#15630947
However, as I look more closely at my workflow as permitted by FCPx I have a quandary that I suspect others have as well.
Once I have created an event and a related project in the Events and Projects folder respectively, the question arises as what to do with those elements when you are done for the time being with both.
I have created a large number of projects, each with their own event. As I move on from them, I would find it useful to have them not show up in the active Project and Event lists in FCP X. But I do want to get back to them from time to time.
The wisdom seems to be to not move those project & event folders elsewhere with Finder, but to use FCP X Move Project instead.
But here is the quandary.
If you don't want to Move them to an external drive (and I would like to avoid that), the only other solution seems to be to move them to a sparseimage disk which can be mounted and dismounted whenever needed. The problem with the sparseimage approach involves backing up with Time Machine.
My tests (and survey of the boards) indicate that whenver you add a file to the sparsebundle disk image, the entire sparsebundle is backed up to the Time Capsule drive. That eats up TC storage in a hurry.
So, has anyone got any suggestions as to what to do with projects and events that you don't want to see on a current basis in the FCPx lists, but do want to get back to them from time to time.Rex,
As a freelance editor I'm always working on multiple projects and use this workflow to hide, show or backup projects and events.
As your aware while working on a project/event, these need to exists in the Final Cut Events folder and the Final Cut Projects folder.
In order to hide an event, simply move the event or events from the main Final Cut Events directory, back one level.
Example: I'm currently working on a productions where the events live on my Machintosh HD. First I create a folder called Final Cut Events HIDE.
Under your Home Directory/Movies/Final Cut Events/ move the event you'd like to hide to the Final Cut Event HIDE folder.
Be sure Final Cut Pro X has been quite.
When you re-open Final Cut Pro X, you should have a empty event library.
If you'd like to re-work on these events, simple quite Final Cut Pro X, drag and drop your "hidden" event or events back into the Final Cut Events folder, re-open FCP X, and there you have it.
Use this exact same approach for projects.
Regarding backup, you can manually backup your events/projects, however I only do this if the edit is completely finished and exists in my Final Cut Pro HIDE folders. All I then do is copy and paste to a backup HD.
Hope that helps. -
Overlapping images and rectangles
Hey
I am trying to create a report where I want overlapping images and rectangles... but when I upload it to report manager it seems to push them all seperate??? How do I stop doinh this... it does print okay! Just looks wrong on screen?
ThanksFrom: Report Items in HTML Rendering
HTML does not support overlapping items, and will position these items next to each other on the page. To determine the position of overlapping items, the rendering extension first considers the value of the Top element for the items, then the value of the Left element, and then the value of ZIndex
Maybe you are looking for
-
How do I connect multiple displays to a Lenovo 405
how do I connect multiple displays to a Lenovo 405 running windows 7? I tried a video card but the built in amd video port would not function with the video card plugged in. Moderator Note; subject edit, post moved to here
-
Listing order and dates of my photos have all changed and now it is a mess in my photo library! I tried to list them again by date, but it didn't fix the problem. What to do?
-
Old Toad! I'm Missing the expected DPI lines in iPhoto 6 .plist File
Old Toad: Using Pref Setter to examine my iPhoto 6's com.apple.iPhoto.plist, I have discovered something very strange. Some of the lines you say we should edit are outright missing from the file. See below for lines present and not present in my plis
-
Invoice Item level break up for GL accounts
I want to designe an Audit report where in the report should display item level revenue / Tax / Insurance posted in each GL Account. In other words, when the Accounting document against an invoice, it gives the entire value of invoice posted in respe
-
Magic Mouse on Mouse Pad not working
Love the new Magic Mouse, except that it does not seem to track properly on a mouse pad. I don't care for how it feels on the wood surface of my desk (though it does work properly there). So I got just a plain old mouse pad, and for some reason it tr