Strange problem in loading swf created in Flash Builder 4 !
Hi
I am facing a strange issue in all my flash builder projects.
Here is a sample flex 4 project: http://flashvisions.com/demos/flexdemo/
you will see when it loads, it showes the first progressbar as grey and then the next one covering it as per flex4's new preloader mechanism. The example given above is a new flex project, without any code. It shows the first preloader then hangs on that for quiet some time without any indication that anything is happening. Then it shows the second phaze of preloader after some time. This is happening to all my Flash builder projects.
can some one suggest anything ? If possible watch this link to a medium bandwidth, not too high : http://flashvisions.com/demos/flexdemo/
And this for 1.5:
"In Flex or Flash, a loaded SWF takes on the FrameRate of the
parent SWF. In flex you can set the framerate value for the main
application with "framerate" attribute in the
<mx:Application> tag."
Tracy
Similar Messages
-
Trace() not working with embedded SWFs created with Flash Builder
I have just migrated to Flash Builder 4.5 with the 4.5.1 SDK.
I have an application that loads a lot of child SWFs into it - some of which are created with Flash, some are created with Flash Builder.
I am noticing now that my trace() statements that are called from within SWFs produced with Flash Builder that are loading as child SWFs into my main SWF are NOT appearing. However, trace() statements called from within SWFs produced with Flash that are loading as child SWFs into my main SWF ARE appearing.
This is an extremely major problem and has short-circuited my debugging/development.
Any recommendations, workarounds, or suggestions?If the child SWFs were created by performing an "Export Release Build", then trace() statements would be omitted.
You can control this by setting the -omit-trace-statements compiler argument (in Project properties -> Flex Compiler -> Additional Compiler Arguments).
-Anirudh -
Do mobile users using Android/Apple apps created in flash builder 4.7 need to install Air in order to run the apps? Can the apps be ran without Air installation?
I haven't seen this come up, however you might want to give our latest AIR 3.5 build a try (12/11/2012 - AIR 3.5 Runtime and SDK Update). If it still occurs, could you please open a new bug report on this over at bugbase.adobe.com? Please post back with the URL so that others affected can add their comments and votes.
-
Problem loading swf file in flash player 9.0.47.0
Hi all!
I have a really strange problem and couldn't find any information over the internet.
The problem only occurs in flash player 9.0.47.0. It works in all the others players, newer and older..
I try to load a swf file to my web application and get the following error: "This content requires Adobe Flash Player 10.2. Would you like to install it now?"
the log file shows:
*** Security Sandbox Violation ***
SecurityDomain 'http://10.1.1.84:8080/app/jsp/flex/bin-release/LP_FLEX_project.html' tried to access incompatible context 'http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?0.5087 71003223956'
Warning: Reference to undeclared variable, 'out'
Warning: Reference to undeclared variable, 'out'
Warning: 'out' has no property 'text'
Warning: Reference to undeclared variable, 'cameraSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'microphoneSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'privacy'
Warning: checkPort is not a function
Warning: Reference to undeclared variable, 'xOffset'
Warning: Reference to undeclared variable, 'yOffset'
Warning: Reference to undeclared variable, 'cameraSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'microphoneSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'privacy'
Warning: checkPort is not a function
Warning: Reference to undeclared variable, 'cameraSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'microphoneSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'privacy'
Does anybody has a solution??
Thanks alot!
AssafMaybe FP9 does not support your application / swf file? How did you develop it?
-
Load swf created by Xcelsuis 2008 into another Flash by loadClip
I have a problem to load the swf file created by Xcelsuis 2008 into another empty flash file by using the function loadClip. It works on the swf created by Xcelsuis 4.5 pro . Could Anyone give me some suggestions. Is there another method to load the swf into another Flash?
Thanks a lot!publish the one that doesnt work to AS2 and see
-
Graphics using graphic API are drawn below the loaded content created using Flash authoring tool
Here is my problem.
I am developing a Analog Dial component. Here , I am
extending UIComponent and loading a swf file generated using Flash
CS3 authoring tool ( the swf basically has the circle and needle)
and adding the loaded content as child of Dial class.
Next I use Graphics API to draw the major and minor ticks on
the dial.
As mentioned in the curveTo method of flash.display.Graphics
class documentation (
http://livedocs.adobe.com/flex/201/langref/index.html),
if you are using graphics api and also loading content created
using the flash authoring environment the vector graphics will be
drawn underneath the loaded content.
Well , Is there any way to make the graphics appear on top of
the loaded contents?It appears that this may be accomplished more easily if I do something similar to the StrobeMediaPlayback implementation. Looking at the StrobeMediaPlayback source code it looks like Adobe has done something a little different than their ControlBarPlugin, placing the controlbar and root media element inside separate MediaContainers and then adding those containers to the display list. Is this recommended over using the frameworks ParallelElements? If so, is communication between the control bar and root media element still a matter of just updating the target reference via metadata?
-
Unable to load swf files in flash
Hi,
since creating all the animation in one flash file will
produce a big file i tried to split and create small flash files
and load these files in the main flash movie using the image and
swf loader component.
eg.
main.swf, sub1.swf, sub2.swf.
In the main swf , buttons are created to load sub1.swf and
sub2.swf.
The action script on button 1 is
on (release) {
//Movieclip GotoAndStop Behavior
this.gotoAndStop("sub1");
//End Behavior
where sub1 is frame label. the image loader loads the
sub1.swf file starting from this label. Everything works fine
locally but the swf files are not loading when i test in my server
or remotely.
can anyone please help
thanx in advanceI am also having a problem with action scripts. I upload
everything and still get the error message how can I solve this
problem? It's killing me. -
Need Your Help with Loading SWF into another Flash Movie!
Hello,
I have created TWO Flash movies. They work just fine
individually, but I get problem when I put one into another one!
The main Flash is a Menu and the second one if a Photo Album.
The Menu is series of animation (Moving Objects) which finally
comes into rest and create the menu. The photo album is another SWF
file which is called with in the first Flash Movie (The Menu). The
SWF file is loaded as follow into the Main Flash.
MovieClip.prototype.drawRect = function(x, y, w, h) {
this.beginFill(0xFF0000, 100);
this.moveTo(0, 0);
this.lineTo(0+w, 0);
this.lineTo(0+w, 0+h);
this.lineTo(0, 0+h);
this.lineTo(0, 0);
this.endFill();
this._x = x;
this._y = y;
this.createEmptyMovieClip("mc6", 6);
mc6.lineStyle (3, 0x000000, 100);
mc6.drawRect(-77, -17, 20, 20);
mc6._xscale = 100;
mc6._yscale = 100;
loadMovie("photoAlbum.swf", mc6);
Problem arises when I click on the Play Button of the
photoAlbum.swf (Photo Album) since the execution of the play button
causes the Flash starts once again from the beginning of the entire
Flash Movie (Beginning of the animation creating the menu) and it
simply jumps into the Firm One of my Flash Movie.
Could you tell me how I can isulate what is in layer 6 (Where
the photoAlbum is loaded to) from the rest of my Flash Movie?
I hope I managed to explain my problem. I would like to take
this opportunity to thank you in advance for your help.
Cheers,
BabakHello Anya,
I have realized the problem arises from the Wait Function
which causes the Photo Album to pause for a period of time (Two
Seconds) once a Photo is fully displayed (I have Fade in/out Photo
Album). I realized everything works OK once I remove the function
and rather left the Photos to be flipped without any pausing (This
is an Auto-loading Album which simply Flips the photos!).
Here is the Wait Function which is causing all the trouble.
function wait()
stop();
var myInterval = setInterval(function ()
play();
clearInterval(myInterval);
}, 2000);
Thank you so much for your help.
Cheers,
Babak -
Saving Flash 7 SWF created in Flash 8
I understand from experience that viewing Flash 8 SWF files
on the Flash 7 Player results in text not showing up. The Flash 8
text is obviously superior, but unfortunately, a major contingent
of my viewers are too afraid, too naive, or their systems are too
messed up to upgrade their Flash Players from earlier versions.
Obviously, to solve the problem, I can save the SWF as Flash 7
backward compatible; however, I am more than disappointed with the
results of this solution. The main problems with this approach is
that the text looks week and the bitmap alignment is no longer
perfect when trying to intermingle my flash content with existing
background content.
Please someone help me with a better solution by providing me
with a list of parameters that need to be in place so that my Flash
7 files created in Flash 8 look more presentable.> Peter, as for a list of parameters, I mean precisely
what options should
I
> check off in the Flash 8 export movie dialog box when
saving Flash 7
compatible
> SWF.
There seems to be come confusion here. It's not a matter of
'checking off'
options, rather of publish settings. In the 'Publish
Settings' dialogue,
under the 'Flash' tab, 'Version', select 'Flash Player 7'.
the important
thing is not to use any *features* that depend on Flash
Player 8 - these
include (but are not limited to!) filters, any of the new
text rendering
options (custom anti-alias), any of the new Classes (geom,
filters, display,
external) etc etc etc.
> I cannot dissagree more. I have examples where my symbol
elements shrink
about
> half a pixel compared to when exported normally in Flash
8. This is aweful
when
> the edges of my animated sections don't line up with the
non-Flash
content. I
> tried saving my FLA as Flash MX2004, reopened and
exported the movie as
Flash 7
> and that didn't help.
Again, you are a bit confused I think. Obviously they will be
different than
if published for FP8 - that wasn't my point. What I said was:
> > If you are publishing for Flash Player 7, your text
and bitmaps will
look
> > the same as
> > they would if yo uhad created the content in Flash
MX2004.
So, using Flash 8 to author but publishing for FP7 will look
the same as
using Flash MX2004 ('Flash 7') to create your content. You
are saying your
bitmaps shrink "compared to when exported normally in Flash
8" - I never
mentioned publishing for Flash 8.
> Hmmm, the exported Flash 7 text (generated in Flash 8)
looks weak even
when
> playing it on the Flash 8 Player. Something is converted
in the process
and my
> choice of fonts is set.
Well yes, of course. You said it yourself - you have exported
for FP7 -
playing it in FP8 won;t magically make it look better! For
that, you would
have to *publish* for FP8.
> How does one follow the FP7 method for this
> device/pixel font option when exporting? I assume we are
now spoiled by
better
> text rendering in Flash 8. I may have to live with that
one...
http://www.justfuckinggoogleit.com/?q=using+pixel+fonts+in+flash
Pete
Remove '_spamkiller_' to mail -
Please Help with background color problem in loaded .swf
I am stuck!
This is Flash CS4...
I created a flash application which loads in many other little flash applications (.swf files) based on menu selections.
When I change one of the little applications the changes are viewable except when I change the background color.
After the first time I view the application, the background color changes do not carry over to the main app. I run the little ones stand alone and they show the new color, then I run the main app and any other changes I have made are there but not the color change. When I remove the file and the load fails, the old backround color still displays in the container movie clip the .swf was previously loaded into.
I have tried several different options and the only thing that worked was renaming and copying and deleting and making a big mess. There has to be a way to force a refresh of this mysteriously saved color. doesn't there?
Please help!
Thanks!
VivianHi Antonia
I am loading the swf into an instance of a movie clip:
var myLoader:MovieClipLoader = new MovieClipLoader();
myLoader.loadClip("Capitalization.swf", contCapitalization);
it is the background of Capitalization.swf that will not change
this is AS 2 since the app was created before I upgraded
Any ideas? -
Problem in loading swf within Flex 1.5
Hi all,
I'm working with a flex project.The logo of that project is a
spinning wheel created with flash tweens. I ve loaded that swf file
into Flex using a Loader component. But despite of whatever
framerate i ve specified, the wheel spins in a constant speed,
which is a little bit slower than the expected speed of the wheel.
Is there any option in flex to increase the framerate, or is there
any other way to do this. Pls.help.And this for 1.5:
"In Flex or Flash, a loaded SWF takes on the FrameRate of the
parent SWF. In flex you can set the framerate value for the main
application with "framerate" attribute in the
<mx:Application> tag."
Tracy -
Hi,
I've an AIR application which is loading an swf file to swfloader. Its working properly when its running from builder. But not showing the swf file after exporting it as an air installer package and run it on desktop.The swf file is stored in src itself.The swf file was generated using flash.
Any help will be appreciated.
Thanks in advance.Hi,
It might be security issue.Air uses application sandbox.
You are trying to load the content from non-application sand box to
application sandbox.
Any one of the following may give solution to this error.
1.using HTMLLoader to load swf files.
2.using loadbytes.
3.creating sandboxbridge.
You can check the loadbytes method in the attachment.
vamshi.
2009/10/5 newflexcoder <[email protected]>
>
Hi,
>
I've an AIR application which is loading an swf file to swfloader.
Its working properly when its running from builder. But not showing the swf
file after exporting it as an air installer package and run it on
desktop.The swf file is stored in src itself.The swf file was generated
using flash.
>
Any help will be appreciated.
>
Thanks in advance.
> -
Problem Creating Project (Flash Builder 4) which uses LiveCycle DS
I have a web app which uses LiveCycle DS 2.6.1, however, when I try to create a new flex project I am getting this error:
Only LiveCycle Data Services 2.6 and higher are supported.
Here are the steps in Flash Builder 4
1. File -> New -> Flex Project
2. Set project name
3. Point folder to existing source code
4. Change "Application server type" to "J2EE"
5. Check the "Use remote object acces service"
6. Select "LiveCycle Data Services ES" radio button
7. Click next
8. Un-check "Use default location for local LiveCycle Data Services server
9. Set "Root Folder" to "C:\tomcat\webapps\myapp"
-- in myapp, I have WEB-INF\flex of course
10. Set root URL and context root
11. Click "Validate Configuration"
This gives me the error: "Only LiveCycle Data Services 2.6 and higher are supported."
Any ideas? How is Flash Builder determining the version of LiveCycle?Hi Jeremy,
I tried the steps you mentioned and cannot reproduce the problem. You mentioned you are pointing your project location to existing source code. Was there a previous FB project at that location? Was that project using an older version of LCDS before? If you create a new project and point it to a new emoty project location folder (or use default workspace location), do you still see the problem? Any more information you can give me to help reproduce the problem would help.
thanks!
-george -
Problem signing application to BlackBerry from Flash builder 4.6 premium
Hi,
I would like generate "BlackBerry" version of my application with Flash Builder, for this i'm using this guide.
http://docs.blackberry.com/en/developers/deliverables/37176/BlackBerry_Tablet_OS_SDK_for_A dobe_AIR-Getting_Started_Guide_for_Windows_Developers--1943146-1206065540-001-2.0_Beta-US. pdf
First, i have uninstalled older flash builder versions, and i have installed Flash builder 4.6 premium.
After, I have installed the BlackBerry Tablet OS SDK for Adobe AIR.
Next, I have updated the BlackBerry Tablet OS SDK plug-in.
But, my problem is using the deployment setup wizard.
I tried with the BlackBerry Tablet Simulator started, but when I click "Run the BlackBerry Tablet OS Deployment Setup Wizard" to configure your development environment, the wizard is not showing.
I would like generate my application, ".bar" file, signed with the reals certificates of BlackBerry. But i don´t know what is the problem.
Somebody have tested if this wizard is working to Flash builder 4.6.
Furthermore, i have tried to setting the reals certificates of BlackBerry, with the preferences window:
Flash Builder > Preferences > Flash Builder > Target Platforms > BlackBerry Tablet OS > Signing.
Such as at this url:
http://www.adobe.com/devnet/air/articles/packaging-air-apps-blackberry.html
But when i click Register button, the dialog is not showing.
Any idea is wellcome.
ThanksHi all,
I have found the problem
BlackBerry Tablet OS search a path that don´t exist in my spanish Windows X.
As my system is at spanish, BlackBerry Tablet OS installer create this path:
%HOMEPATH%\Configuraci¾n local\Datos de programa\Research In Motion
To resolve the problem, you must to create the path in english and copy the content of spanish path:
%HOMEPATH%\Local Settings\Application Data\Research In Motion
By default, code signing keys are stored in a central location in your profile directory and used by all BlackBerry Tablet OS development tools. The default locations of these files vary based on operating system and are outlined in the following table.
Note: In a Windows XP environment, the default %HOMEPATH% is C:\Documents and Settings\<username>. In a Windows Vista and Windows 7 environment, the default %HOMEPATH% is C:\Users\<username>.
Windows XP
%HOMEPATH%\Local Settings\Application Data\Research In Motion
Windows Vista and Windows 7
%HOMEPATH%\AppData\Local\Research In Motion
Mac OS
~/Library/Research In Motion
UNIX and Linux
~/.rim -
Problems deploying ear file created with ant build script
Hi All,
I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any Weblogic Server.
I created my ant build script and it compiles/builds fine - the .ear file looks good. However, when I attempt to deploy it, it fails with
javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
Truncated. see log file for complete stacktrace
>
<Nov 2, 2011 2:43:43 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320266599219' for task '3'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "###"
I am not sure how to tell weblogic where to find the classes needed. I have a pretty huge classpath used when compiling - should I be putting the classpath in the manifest (?) - I don't think I should need to include the .jar files manually in the .ear file - since all the libraries should already be available in weblogic - or is that a misconception?
Please help!!I answered my own question -
I had to manually add the following to the WEB-INF/lib to get the error to go away:
${ORACLE_HOME}/modules/javax.jsf_1.1.0.0_1-2.jar and
${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar and
${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar
that solved my problem. However, I think it'd be great if I could somehow just specify (in the weblogic-application.xml maybe?) that my application is using the above modules without having to copy the jar files into my WEB-INF/lib - any suggestions?
Thanks
Maybe you are looking for
-
System recovery failed new hard drive
I have an HP Pavilion g-6 1d26dx laptop. I just replaced the hard drive with one ordered directly from HP. When I went through the System Recovery, using the disks from HP, I got the following message: There might be unexpected reboot during specia
-
Please help.
-
G'day, I've just bought a 400/800 firewire cable to connect my G5 PowerMac and 2010 Macbook Pro 13". (Yes, I realised after purchase, the G5 has FW800... so I could have gone for a 800/800 cable... doh me). I tried connecting the 2 machines using Ta
-
Spell-checker keeps changing to US English when system language order is changed
When I switch the order of preferred system languages in System Preferences' Language and Text section, the spell-checker's language often changes to 'US English', even though it's disabled on my computer as I prefer the British spell-checker. My cur
-
Inability to revert to original in iPhoto
I edited a JPEG photo in iPhoto (cropped). However later and after editing some other photos, I decided to revert the first photo to its original version. However, the option Photo>Revert to original button was not lit. In the Quick Fixes tab of the