Loading external themes for my flex 4 application.
Hello.
I created a flex application and i created some themes using adobe flash.
when the flex application is running i want it to load a default theme and allow the user to switch themes
while running the application. each time is in a seperate swf file.
what is the recommended method to create the themes?
the method that i know of is to convert the symbols to flex components and publish the flash file and swc,
loading it into my application and then i can use it's components.
when i merge the swc file into the code (Link Type: merge into code) i can use the flex component i created and everything works fine.
the problem is that i want the swc to be loaded on runtime and to be able to load/unload.
Link Type: External - wasn't very useful. when i use any component i just get a blank screen with no errors.
maybe it means that the definition is there so i just need to load the module, so i tried to unzip the swc file,
place the swf file on the web and loading it with the Loader(). i still see a blank screen.
Link Type: Runtime Shared Library (RSL) - is not an option, because i want to be able to load and unload the modules on-the-fly.
Flex module:
Another option was a creating a flex module that loads the assets of the swc file and then to use this module,
the problem is that i found examples on how to load a module if it's a container of some sort and to display it on the screen,
i did not find a mothod to actually load different assets from that module and use them.
so as you can see i'm pretty lost here.
i would guess that using 'Link Type:External' is what i need i just don't know how to load the swc file properly afterwards, but who knows!
thanks for your assistance!
kfir
Hi,
Thanks for the reply. I'll try to edit the html page and let you know how it goes.
--Hyong
Similar Messages
-
I am looking for a load testing tool for my flex application
I am looking for a load testing tool for my flex application having a limited budghet of 1000-1500$. I have gone through NEOLoad,WebUiLoad all are very expensive.
Do you have iPad 1 or 2?
You can connect iPad 1 via a VGA adapter to any projector with a VGA input (all projectors have this).
You can connect iPad 2 via VGA or HDMI.
I like Epson or Sony for projectors. -
Best tools for profiling flex 3 application?
What are the best tools for profiling flex 3 applications?
What are the best tools for profiling flex 3 applications?
-
Solution for load external FONT sf file to iOS application
Hi,
i follow this instruction to load externalHosted sf files to iOS application.
http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/#comments
I need to load external swf files (Font only) on runtime and embed it runtime.
But I always got the uncompilled action script error on adhoc or release build.
how can I solve this problem? The Font is not an asset, and I can't load it on runtime on iOS?
thanksDid you try this doc? Packaging and loading multiple SWFs in AIR apps on iOS
-
Can you call external exe file from Flex Air Application like notepad.exe
Im trying to make my Air Application open an External exe file anyone know if this can be done?
Hi,
If you want to share code between a flex app and AIR, you
could isolate the common bits as a swc file and link to the swc
from both the flex and air project.
Also, you could have the flex mxml file and air mxml file
load the same module (which has the same stuff as your original
flex application) using ModuleLoader.
Or, you could even load the swf of your flex application
using SWFLoader in your air mxml file.
Basically, check out creating flex libraries, modules and
runtime loading of swfs. -
How to call custom themes for Web Dynpro ABAP Application?
Hi,
I need to change the appearance of Web Dynpro ABAP application. So far I followed below steps,
1. Created theme folder u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019 ).
2. used program BSP_UPDATE_MIMEREPOS to dowmloaod content of u2018sap_tradeshowu2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> sap_tradeshowu2019) to desktop.
3. Modified the themes using Eclipse Theme Editor.
4. used program BSP_UPDATE_MIMEREPOS to upload modified themes to MIME repository u2018testngou2019 (SE80->MIME Repositoty -> SAP->PUBLIC->BC->UR->nw5->themes -> u2018testngou2019) .
My current URL is like http://server.name:XXXX/sap/bc/webdynpro/sap/hrrcf_a_startpage_int_cand?sap-client=XXX.
Now I want to know how custom themes called for Web Dynpro ABAP Application.
Is my approach correct?
...NaddyHi Naddy,
What you used is one way and even I failed when tried that method,
Instead go to SE38 - WD_THEMES - and you need to upload the zip file and you need to follow a folder structure.
it is case sensitive, atleast the zip file.
Make a zip file by name "Project.zip" -
Create a Folder Project and have the below folder structure,
1 data - all the properties files and also the designinfo file, below is the code
2 themes - (to get all the files download the theme from portal and you will have all the folders)
2.1 ur
2.1.1 name of the theme
2.1.1.1 common
2.1.1.2 csf
2.1.1.3 r
2.1.1.4 ur - all the css files (would be good if you can get the files from the server.)
2.1.1.5 WSRP
3 war - empty folder
*.designinfo
isVisible=true
version=7.0.14.1.0
isDefault=false
isSapDesign=false
designName=**** name of the theme
Once done create a zip file and click on Start Import and give the path and will ask for transport request, it will take a while to upload once done as mentioned in the use the parameter sap-ep-themeroot="path"
This will resolve the issue.
Cheers-
Pramod
reward points if helpful -
Tutorial for Developing Flex Mobile applications.
Hello all,
Can anyone provide me Tutorials to devleop Flex Mobile applications which access data from SAP Netweaver Gateway via Flash Builder Plugin?
ThanksThis is not a product forum... do you need the flash builder forum?
How to Select a Forum http://forums.adobe.com/docs/DOC-1015 -
Is it possible to Load External SWF files into Flex Mobile projects?
Hi Guys,
I'm trying to load an external asset in this cse (a SWF file) into my flex project (Apple IOS IPAD), don't get any luck. Can any one suggest a solution ?In Apple's words, "No interpreted code may be downloaded or used in an Application except for code that is interpreted and run by Apple's Documented APIs and built-in interpreter(s)".
Hence external swfs cannot be loaded in iOS. -
How to Load a html page into Flex the application?
I want to load separate html page in to my flex application.
for example
think I am in my shopping cart and I wanna buy something and pay for that.Then I am try to pay they will load a separate html page into my shoipping cart.
How can I do that inside flex application?
Any ideas are appreciated..
thnxHi snkd,
You need to make use of iframe to load html content in Flex application.
Check out the link below...there is also source code included..
http://www.deitte.com/archives/2006/08/finally_updated.htm
Thanks,
Bhasker -
Pre-loading external images for XML-based gallery
I'm working-on an XML-based photo gallery here:
http://www.unionandparkwood.com/demo/flash_gallery/
It works how I want it, except that the first time a
thumbnail is clicked for an image, it pauses long enough to skip
the fade. If you click-through the images a second time, you'll see
that it works smoothly. My guess is that the first time the
thumbnail is clicked, the image isn't cached, yet.
I tried to fix this by creating a JavaScript file for the
page to pre-load each image and thumbnail:
0003a = new Image;
0003a.src = "images/Down-Range.jpg";
0003b = new Image;
0003b.src = "thumbnails/Down-Range.jpg";
But that didn't work. What would be the best way to do this?
I included a link to "Download ZIP" of the FLA project on
this page, too, because it wouldn't be easy for me to describe
what's happening. In a nutshell, a thumbnail click launches a
function that loads the appropriate image into the main image
holder. What seems to be happening the first time is the image
isn't loaded before the fade is finished, so the image just appears
after a short pause the first time.>>What seems to be happening the first time is the
image isn't loaded before
>>the fade is finished, so the image just appears after
a short pause the
>>first time.
As has been said many times in thos forum - use the
MovieClipLoader class to
load images, and then use that class' onLoadInit method to do
things with
the loaded image. Loading is asynchronous - you _have_ to
wait until the
image is done loading before doing a fade.
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Designing for Flash/Flex application
Hello,
I'm trying to create multiple themes for a flex application. It seems as though Flash is the best way to do that given the workflow. I'm looking for a Flex/Flash template within flash. I'd like to take the .Fla and edit it and export the .swc. I swear there was a folder in Flash with templates for this process. Can anyone tell me where those templates are?
Also, does this workflow make sense, when trying to update the look and feel every few months? I can use PS for example, but I'd like to avoid bitmaps where I can.
I'm using CS5 on a mac.
ThanksYou should definitely check out some online tutorials on design in FB4.5, such as Lee Brimelow's tutorials on "blitting" and skins/styles in Flex ("Intro to Flex: Part 3"):
http://www.gotoandlearn.com/
Also, the "Change the appearance of your application" videos on the Flash Builder "Test Drive" site:
http://www.adobe.com/devnet/flex/testdrive.html
Good luck! -
Oracle Apex Multilpe Theme for a single application
Hi All,
I have a query regarding display multiple theme for a single apex application. My object is to change the color scheme for an existing apex application and use both old and new color scheme in a single application. For example I'm planning to modify apex 3.1 theme 9 (Red theme) to green and wants to use red theme for some pages and green theme for some other pages in same application.
The following steps I have tried.
1. Copied /theme/theme_9 to my local
2. Changed color scheme of all the images.
3. Renamed my local folder name from theme_9 to theme_9_1
4. Moved my new folder to server path /theme/theme_9_1
Now I went to my application which have theme 9 and copied One Tab page template as One Tab Template 9.1. In my new page template I changed all the the /theme_9/ reference to /theme_9_1. In my application I applied this new page template to get green color scheme. But its appearing without any css scheme (even default style is not there).
So Please help me out to resolve my issue. and also suggest me if you have any other easy way to achieve my objective.
Thanks in advance.Hi,
You steps look okay to me, so not sure why you're CSS isn't working, I would need to see your actual templates to find out (perhaps you could put this up on apex.oracle.com). Just a few general pointers though, I would suggest using one of the newer themes, introduced in APEX 4.0 and APEX 4.1. Those themes are mostly DIV based, i.e. fewer HTML tables for formatting, and as a result, they are much smaller. They also use a DOCTYPE, prompting all modern browser to render your pages in standards more, ensuring better cross-browser compatibility. And most relevant for your task, they no longer use theme-specific class names, i.e. a class called "t9header", would now simply be "header". They also generally reference images directly from the CSS stylesheet, rather than inside your templates, making it much easier to modify your UI. So in essence, assuming you'd be using theme 21, all you'd have to do to switch from a red-look to (in this case) a blue-look, would be to reference the theme CSS file in /themes/theme_22, instead of /themes/theme_21, so in your templates, you would only need to change one path in your page templates.
Regards,
Marc -
Im wanting to make a photo gallery that I can update easy, I
thought if I could have a movieclip load external images for my
thumbnails it would be nice but Im not sure how to set it up. I
would make a file for my images and then another for my thumbnails,
then if or when I want to switch out pictures I'd just have to drop
new images into my folders and not even touch the FLA. Could anyone
point me in the right direction with the right action script to use
or a tutorial that explains how this is done..
And when I say load external I want it so I dont have to
click on the image for it to load, I want it to just load
automatically , I would put an invisible button or something to
that efect over the images for a animated effect.
Thanks for your help.I don't know if you are super enthusiastic about building it,
or if you just want the utility. If the later is the case, I just
purchased (cheap) a really great product that does all of what you
want, fairly automatically, including scaling large pictures down
to smaller size so that they load quickly.
I am not sure of the policy of recommending third-party
applicatons here. So, if you are interested, send an email (private
message) to me and I will show you the simple site I put together
using it and where to get it. -
Including External JARs for Java Application in OC4J
Hi Experts,
Here is my requirement.
I have developed my Java application using Tomcat Server & Eclipse. In my application I have used some External JARs & imported the classes in my JSP.
Now that I'm using OC4J Server instead of Tomcat I'v no clue as to where I have copy these External JARs for my application to work.
I have installed OBIEE-Client which includes OC4J server. The path where I have placed my application is as below
*"C:\OracleBI\oc4j_bi\j2ee\home\default-web-app"*
If I run my application the server does not import the classes in the JSP which we include using Import statement using JSP tags (*ex* - <%@ page import = "org.apache.commons.fileupload.*"%>).
This is the location which I found, where I need to put my Java-J2EE application. This OC4J_BI comes with OBIEE.
Kindly help me out on where to place these External JARs exact location in OC4J.
Also let me know if I have to alter any configuration/xml file (if so pls specify the file name & its location).
Thanks in advance,
VenkyYou can either include the external libraries in the application, by placing them into WEB-INF/lib, or you can import them into the server as "shared libraries", normally you'd use the "enterprise manager" application to do this. Having loaded a shared library you then add it to the classpath when you're deploying the application.
-
Loading an external webpage into the Flex app
Is there a way to load an external webpage into a Flex application. I only need to show a portion of the webpage not the entire page. For ex: Take the http://www.cnn.com main page. I only want to show the latest news column containing the bullted list of the news and not the entire page.
Thanks in advance.You could use Flex I Frame component. Here is the link
http://code.google.com/p/flex-iframe/
Maybe you are looking for
-
I have applied patch to upgrade Oracle E-business suite(11.5.10) database from 9.2.0.5 to 9.2.0.8. but after applying patch also it showing 9.2.0.5. please help me.
-
Is it possible to share my home internet with my 5...
I know that the 5230 has no wlan capability... but can i share my home internet with my phone via my toshiba sat pro laptops bluetooth? Also totally separate question... is 500mb monthly a reasonable amount of data acsess from my vodaphone contract a
-
SP05 Content - What do you think ?
A discussion threat to get some feedback on how you perceived the SP05 outlook ? Is SAP working on the right stuff or are they missing the "MDM" boat ? Toughts, Ideas ?
-
IPhone 6 pay & go can't send mms or get Mobil data
I've tried most things every thing changing settings like it says on O2 help sight when I do my text stop sending I get wi fi at home not away from it not even my free bt roaming just keeps searching
-
Audiobooks purchases can't be seen in iTunes store on devices.
Using iPhone 4 I can't review audiobook or iBook purchase details for reference # using support site. Many Apple users do not need laptop or desktops for daily use, so, using iTunes from these devices aren't a option. Do anyone know if audiobook purc