[svn] 4673: Adding preview images to the theme directories.
Revision: 4673
Author: [email protected]
Date: 2009-01-26 12:46:51 -0800 (Mon, 26 Jan 2009)
Log Message:
Adding preview images to the theme directories.
QE Notes: None
Doc Notes: None
Bugs: SDK-17735, SDK-16429
Reviewer: None
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17735
http://bugs.adobe.com/jira/browse/SDK-16429
Added Paths:
flex/sdk/trunk/frameworks/themes/Ice/preview.jpg
flex/sdk/trunk/frameworks/themes/Institutional/preview.jpg
flex/sdk/trunk/frameworks/themes/Smoke/preview.jpg
flex/sdk/trunk/frameworks/themes/Spark/
flex/sdk/trunk/frameworks/themes/Spark/preview.jpg
flex/sdk/trunk/frameworks/themes/Wooden/preview.jpg
yes the first bit of code is netbeans generated.
the second piece of code is an fx file that updates the content of the grid based on the users selection.
so i cannot add the image to the grid in composer as its a dynamically generated grid. but ill try and see if i can just to test for now
thanks...
Similar Messages
-
Revision: 7748
Author: [email protected]
Date: 2009-06-11 07:34:57 -0700 (Thu, 11 Jun 2009)
Log Message:
Adding preview images for 3.x themes.
Added Paths:
flex/sdk/branches/3.x/frameworks/themes/AeonGraphical/preview.jpg
flex/sdk/branches/3.x/frameworks/themes/Ice/preview.jpg
flex/sdk/branches/3.x/frameworks/themes/Institutional/preview.jpg
flex/sdk/branches/3.x/frameworks/themes/Smoke/preview.jpg
flex/sdk/branches/3.x/frameworks/themes/Wooden/preview.jpg -
Is it possible to preview images in the files panel?
sorry in advance for what probably is a dumb question with a
simple solution.
i realize i can preview images in the assets panel-- but is
it possible to preview image files while in the files panel
instead?
i have a lot of images organized within folders in the files
panel-- so it's easier there to locate and visulalize an image--
than scrolling down the long list in the assets panel.
thanks.Hello,
I don't believe there is a way to view images in the files
panel.
However, there's a quick way to see them if you're using
Windows.
Select your image folder in the Files Panel.
Right click and choose "Explore".
It opens a window where you can see all the images in that
folder.
It's much faster than scrolling through the assets, clicking
the file names
and reading the paths to know where they are.
This is very handy whether you have image folders in
different directories
(for organization and cleaner img src paths in the pages
within the
directory) or if you just dump them all in a folder in the
root.
On my wishlist: Hover over the image name in the files panel
and a small
box, like a tool tip, displays the image.
Maybe someday.
Take care,
Tim
"dexter manika" <[email protected]> wrote in
message
news:go4to8$k1m$[email protected]..
> sorry in advance for what probably is a dumb question
with a simple
> solution.
>
> i realize i can view images in the assets panel-- but is
it possible to
> view
> image files while in the files panel instead?
>
> i have a lot of images organized within folders in the
files panel-- so
> it's
> easier there to locate and visulalize an image-- than
scrolling down the
> long
> list in the assets panel.
>
> thanks.
> -
Protected articles display as preview images without the Large Purchase Pane
I created a folio with article preview in v27. When I open it right after the preview content completes downloading, everything works as expected.
However, when I open the same preview folio afterwards, the protected articles display as preview images and the Large Purchase Pane disappears.
Anyone have an idea what might cause this problem?It turned out that I did not set up the subscription purchase on iTunes Connect, so the subscription button disappears from the purchase panel.
-
Are there any good code examples for displaying preview images in the storefront?
I can gather other info using folio.xxx, but can not find any good examples to use for preview images. Tried folio.getPreviewImage() with no success. Oh, I should mention it is version 2. Plenty of examples for version 1.
Perhaps if I get a little more specific.
I am calling up the folios via:
adobeDPS.libraryService.folioMap.addedSignal.add(function(folios) {
for (var i = 0; i < folios.length; i++) {
addFolio(folios[i]);
}, this);
This eventually works into a function where I am gathering and displaying folio data:
var productId = folio.productId;
var html = "<div id='" + productId + "'>";
html += "<a href='#'><img class='shadow' width='120' src='' border=0 /></a>";
html += "<br /><span class='bold'>" + folio.title + "</span>";
html += "</div>";
this.$el = $(html);
folio.title works fine to pull up the title, but I can no longer use folio.getPreviewURL in v2. What code should I be using to set the src to the preview image?
ThanksHave you looked at the default implementations of the library?
In FolioItemView's render function, there is a function(follow the nested functions!):
setTimeout(function(){ scope.loadPreviewImage() }, 100);
It references this function (this doesn't copy well):
loadPreviewImage: function() {
if (this.el.parentElement) {
var transaction = this.folio.getPreviewImage(135, 180, true);
transaction.completedSignal.addOnce(this.getPreviewImageHandler, this);
Going deeper, into the getPreviewImageHandler function is where you see the url value..
if (transaction.state == adobeDPS.transactionManager.transactionStates.FINISHED && transaction.previewImageURL != null) {
this.$el.find(".folio-thumb").attr("src", transaction.previewImageURL);
Within the example is also code for supplying a preview when the Adobe API is not available:
(Within the render function)
var json = this.model.toJSON();
$folioThumb.attr("src", json.libraryPreviewUrl);
If you're making any changes to where the preview is displayed, you can just swap out the class ".folio-thumb" to whatever the class (or id) is of the element you're wanting to render the preview in. -
Revision: 3035
Author: [email protected]
Date: 2008-08-28 23:18:11 -0700 (Thu, 28 Aug 2008)
Log Message:
* Added HTTPMultiService component - refactored the guts of HTTPService into a new
class AbstractOperation which HTTPService now wraps.
* Moved concurrency and showBusyCursor classes up to the mx.rpc level from mx.rpc.mxml.
Partly this improves consistency and partly because it is awkward to implement them
with the wrapping design in the subclass. This does introduce a new dependency on
CursorManager in mx.rpc.HTTPService, though I think that should turn into a "runtime binding"
so we remove the compile time binding altogether.
* Added managers, operationManager, resultType, resultElementType, properties to the
AbstractService and AbstractInvoker classes. These are used to improve the metadata information
on these operations for better tooling in the future, and to allow management services to
tie into the service infrastructure.
* AsyncToken gets a default parameter for its constructor so it can be used in MXML.
* Moved endpoint property up from the MXML to the regular mx.rpc version to improve consistency
The blazeds RPC tests passed unfortunately I had problems getting the RPC tests in the sdk branch
to build and run so let me know if you see any problems on those.
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/manifest.xml
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/WebService.as
Added Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.asthe "main" class contains the following relevant codetip: 'relevant' code is rarely read, particularly if it's more than 5 lines.
about 75% of posts with relevant code, the problem is elsewhere.
create a new program with only those parts related to the problem
e.g. if your main program has a menu, and there's no problem with that,
don't include the menu in the new program. If your program has button,
and no problems, don't add them in. if just the tree, all you need is a frame and a tree.
when you do this, make sure it compile and runs OK (but displaying the problem behavior),
then post all of it here, along with the steps to reproduce the problem.
doing it this way should drastically reduces the lines of code, therefore greatly
improving your chances of a solution. -
F380. When printing the first time, the preview image shows the same old document
I have a HP Deskjet F380 All In One. The OS of my laptop is Windows Vista, provided with the latest updates. When after starting the laptop, a first print order should be executed, after pressing the PRINT button, the preview window shows not the concerned document, but a very old one. The printing order will be corrected finished, however the old document preview remains somewhere. I am looking for a way how to remove that old document from the preview.
Some of the troubles with printing could be addressed in the system update:
•Mac OS X 10.6.8 Combo Update v1.1
http://support.apple.com/kb/dl1399
{Usually if there were printer drivers (often are) for all of the main brands
of printers, these Combo updates included them; plus later or more
recent versions of these, are available from the maker's support site.}
I'm a bit curious if you'd tried a second-user account to see if (once set up
from scratch) that would give you some other information on how to go in
and re-set your main user account's print settings.
Some basic system issues can be resolved by simple things, such as in
the use of Disk Utility's 'repair disk permissions' that can affect almost all
things a user can do in the system.
•OS X Printer & Scanner Software Available for Download:
support.apple.com/kb/ht3669
•Mac printing and scanning on HP Support Forums - BoardReader:
http://boardreader.com/fp/HP_Support_Forums_1153782/Mac_printing_and_scanning_22 27042.html
[About old MacBooks, I can see by the OS X version that it could be
almost any MB prior to 2010 that could run Snow Leopard. My old
MacBook1.1 (coreduo, first edition MB 2006) can run it, but isn't.]
Been several years since I used an HP all-in-one, it worked OK until one
day it would not print. It pretended to print, the heads went back & forth;
but no ink came out. New cartridges, almost new HP device; checked
drivers (got newest) and as the unit was new-old-stock, the warranty was
gone in short order. A relative bought it ahead of need; clock was ticking.
So my current AIO is an Epson, bought it new at 55% off. Even has a
real phone modem for the fax. And it does OK prints. Not as good as
my older Epson photo printer, whose inks are harder to find now.
Anyway, hopefully you could fine the helpful paper usually included with
the HP printers, a quick reference set-up guide; they have Mac info, too.
Good luck & happy computing! -
Is there an ability to preview images from the library?
I feel dumb for asking this, but is there a way to preview images on what they look like without having to drag the asset out onto the stage? If I have even two or three versions of a file imported into my library, I constantly need to leave the program to check which is which. I suppose I could get more descriptive with the file name, but they're getting pretty long as it is.
Hi, chirpieguy-
Not at the moment, but it's a known request and is logged in our wish list.
-Elaine -
Revision: 3936
Author: [email protected]
Date: 2008-10-28 17:27:07 -0700 (Tue, 28 Oct 2008)
Log Message:
Added flag to force the creation of a displayObject for a GraphicElement
SDK-17818 - calling getBitmapData on a GraphicElement that shares it's displayobject always causes a layout pass
adding flag which forces the graphicElement to always create a displayObject for itself. This is a temporary solution to the bug and should get revisted after alpha.
QE Notes: n/a
Doc Notes: n/a
Bugs: SDK-17818
Reviewer: Gordon
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17818
http://bugs.adobe.com/jira/browse/SDK-17818
Modified Paths:
flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/G raphicElement.asmimomimi wrote:
Hi;
I am developing a console for my Server Application. I'm using a JFrame and a ScrollPane.
I am using a vertical Scroll and I want to force the index of this Scroll to be in the down in order to display the last informations added to my console.
I didn't find a solution yet.
Thank you for your help.
CheersYou mean like was mentioned in [this |http://forums.sun.com/thread.jspa?threadID=5420524&tstart=0] post, right on the front page of the Swing Forums? -
[svn] 3775: Adding a link to the FxCheckBox example for ASDoc.
Revision: 3775
Author: [email protected]
Date: 2008-10-21 09:22:17 -0700 (Tue, 21 Oct 2008)
Log Message:
Adding a link to the FxCheckBox example for ASDoc.
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.asguess not
-
Adding .jpg image to the JFrame
I want to add an image in the JFrame
My code is as follows:
import java.awt.*;
import javax.swing.*;
public class test extends JPanel
JProgressBar pb1 = new JProgressBar(JProgressBar.HORIZONTAL,0,100);
public test(String image)
ImageIcon imgIco = new ImageIcon(image);
JLabel imgLbl = new JLabel(imgIco);
imgLbl.setPreferredSize(new Dimension(500,500));
JPanel p1 = new JPanel();
p1.add(pb1);
setLayout(new GridLayout(1,1));
add(imgLbl);
add(p1);
public void salman()
int i=0;
while(i<=100)
try
pb1.setValue(i);
pb1.setForeground(Color.lightGray);
pb1.setBackground(Color.blue);
pb1.setBorderPainted(true);
pb1.setStringPainted(true);
Thread.sleep(55);
catch(Exception e)
System.out.println("Exception Occured!!!");
i++;
public static void main(String[] args)
JFrame f = new JFrame();
test img = new test("pills.jpg");
f.getContentPane().add(img);
f.setSize(450,470);
f.setVisible(true);
img.salman();
Thanks for you co-operation.
Regards
Salman Pirzadayou use
test img = new test("pills.jpg");where it finds pills.jpg????
try something like this:
String imageName = "pills.jpg";
img = Toolkit.getDefaultToolkit().getImage(Test.class.getResource(imageName));And make sure, pills.jpg is in the same directory where Test class is -
Problem adding an image to the display list
I'm trying to create a component to add images to a Panel (id=hbox). I seem to be loading the images successfully (because the trace statement works), but can't add them to the display.
I'm using the following line of code, but getting an error:
hbox.addChild(event.currentTarget)
What am I doing wrong?
Thank you!
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" backgroundAlpha=".5" backgroundColor="0xffffff" creationComplete="init()" >
<mx:Script>
<![CDATA[
public function placeAnimals():void{
for(var i:int=0; i<12;i++){
var imageLoader:Loader = new Loader();
var url:String = "images/animal"+i+".png";
var urlReq:URLRequest = new URLRequest(url);
imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
imageLoader.x=50*i
imageLoader.load(urlReq);
function imageLoaded(event:Event):void {
trace("Success="+event.currentTarget.url)
//hbox.addChild(event.currentTarget)
public function init():void {
placeAnimals()
]]>
</mx:Script>
<mx:Panel id="hbox" height="200" backgroundImage="images/smallWhitePanel.png" borderStyle="none" />
</mx:Canvas>You cannot add an image directly like that... why not dot the following
var img:Image = new Image();
img.source = url;
this.addChild(img);
hpefully it should work.. i'v neva seen image being added to the hbox like that... it will work only if you embed it / put it in source element..
the following link should help you
http://livedocs.adobe.com/flex/3/html/help.html?content=controls_16.html -
Adding an image to the Static Button Widget
Hi all
I managed to convince my client to let me do my own navigation instead of using the by default navigation bar and its limitations. I finally will be able to do branching and customised feedback on several slides! Great. BUT. There is a but. I need to make the new buttons look like the current ones: Pause/Play, previous, next, TOC and Exit.
I was happy to discover that I could use a static button widget on my master to deal with my previous and next buttons for all my standard slides. But when I try to add an image of my button the way I want it to look, it looks like that:
If I resize the button the picture remains at the same size:
I don't get the Image feature here at all and I wonder if it's possible to customise the button with our own pictures...
Any success anybody?Alright thanks for your suggestions. Yes I am publishing to a slightly different location and I pasted the picture at the root of the published folder. The pic is found but it appears tiny:
It should replace the button by default but it is added to the button actually, by its side.
Cheers
Helene -
Adding an image from the web to the report in the header with other Text
I am attempting to fix a Crystal Report where I have a Logo positioned in the upper left corner of the Report Header. The Report Header also includes 2 text fields. One is fixed data and the other is a date. I have mastered the img src but I cannot get the two text fields to display to the right of the image. They will always push to the line below. I have tried putting them in different sections and underlying the next section, and all other settings that I can think of. What I must have would be similar to this:
| . "UPDATE"
Image
| . "DATE"
I have even tried suppressing all headers and using multiple detail sections to no avail. I am using Crystal Reports 2008I have found the answer or should I say the cause of my problem. It is that Microsoft in their infinite wisdom have changed the way (or engine) their Outlook (post version 2003) handles html. They now use the "engine" from their 'Word' program which cannot handle most compound formatting. To handle this program, you have to build it all on one level. To solve my Header problem, I was forced to recreate my graphic to include the Header text, place that graphic on the top of the page and build my form below, an entire line at a time. Multiple objects on the same line would look great in Outlook prior to '2007' but may be in any order or grouping in '2007' and after See this explanation...
[http://blogs.sitepoint.com/2007/01/10/microsoft-breaks-html-email-rendering-in-outlook/] -
Hello fellow developer,
I want to ask is there any way or extension, so I can preview
the images in "file tab", like turn the list view into
thumbnail...Thank for reply,
I do use windows image folder to preview the image, but that
is just unproductive because I have to switch between DW and
dekstop.
The asset tab is one of the most useless feature in DW,
because when I have thousands of assests, that thing doesn't let me
jump the required asset immediately unless I have to SCROLL and
strain my eye for probably 10 minnutes. So I always turn that off,
Even the asset tab can let me preview the image, then I can't
delete any image in there if i don't go back to file tab, which
again unproductive
DW still needs a lot of improvement and eliminate some
useless features like the 'live preview' and this one, the asset.
No wonder many experienced developer use just text editor and
separate tools to develop website.
Maybe you are looking for
-
Desde que instalei o ios 8 no meu iphone 4s venho tendo VARIOS problemas!
O iOs 8 não estava pronto ainda e acabou acabando com a agilidade e melhorias do meu 4s,ele não travava antes, não paralisava e reiniciava do nada, os aplicativos paralisam e só pegam quando é liberado, muitas vezes ele paralisa e come a bateria a ce
-
hi firends what purpose balance sheet accouts maintain in CO, through primary cost elements ma
-
Want to use sync , with data kept on local computer instead of online
I would like to use sync between 3 computers on a wireless lan. Computer 1 = desktop, 2 = laptop, 3 = server. I want to keep the sync data on local server instead of online. I am using win xp pro on all computers, Firefox 4.0 Is it possible to set up
-
[image containing serial number removed]
-
Hi, my problem is that I can't connet to repository at all. In the log-file I can find as below LocalNamespaceService.java:3037): java.sql.SQLException: ORA-04063: package body "OWBREPOS_OWNER.NAMESPACESERVICEIMPL" has errors main.TaskScheduler timer