Need to reference controls in an Empty swf file ?
The current beta 2 of FABridge requires you to reference any
Flash controls you might want to create dynamically via Javascript
in the Empty .swf file first (the example just uses an array to
create a reference to each control). Trouble is, if you want to
have a generic .swf file that you use for different purposes with
different controls, referencing all the possible controls will make
the .swf file unnecessarily large (which affects download
performance etc.) - can Adobe confirm whether the final release
will still require you to reference controls in the .swf beforehand
or can controls be referenced dynamically as they are needed ?
Thanks
Can you provide code on how I can create a loop?
I'm not getting any error when calculating sum.
Here is what I'm trying to do, lets say I have two checks:
CHK1
Amount:200.00
Status: Issued
CHK2
Amount: 500.00
Status: Void
When calculatiing the tota for the checksl, I should see the total as 200 only because, the Check2 has been voided and it is considered zero.
I tried the following ways and it did not work:
Sum(OutboundPayment[OutboundPayment/PaymentStatus/Code=’ISSUED’]/PaymentAmount /Value)
I tried another way and even this did not work:
decode(PaymentStatus/Code, 'VOID', ‘0’, PaymentAmount/Value*100)
Please help!!!!!!
Similar Messages
-
Hello there,
I have an almost empty swf file (it had controls but in the
process of debugging we stripped them out) no code. I am playing 60
instances of it in my web page.
in IE 7 (and WindowsXP/server) the CPU utilization (open task
manager) - goes to 20% and STAYS THERE. (which is really bad,
because the page is idel - nothing is happening and the machine
perf goes doen)
Is this a known issue? - Is there anything in the settings I
can change?
Cheers
-MagedHello there,
I have an almost empty swf file (it had controls but in the
process of debugging we stripped them out) no code. I am playing 60
instances of it in my web page.
in IE 7 (and WindowsXP/server) the CPU utilization (open task
manager) - goes to 20% and STAYS THERE. (which is really bad,
because the page is idel - nothing is happening and the machine
perf goes doen)
Is this a known issue? - Is there anything in the settings I
can change?
Cheers
-Maged -
I have published several Captivate 2 projects as tutorials on
a web page, and they have worked fine. I recently (Friday)
installed Acrobat 8 on my pc, and today, when I attempted to
republish a project that I had made some changes to, the Captivate
created the .htm file just fine, and then went through the process
to create the .swf. However, the .swf file was empty. I have
uninstalled Acrobat 8 and restarted my pc, but the trouble
persists. Has anyone had this experience? What caused it, and how
did you fix it? I am publishing to Flash (SWF), writing the files
to local drive; I have "Export HTML" checked (and no other output
option checkboxes) and have tried separately with Flash 6, 7, and
8.
In addition to installing (the subsequently un-installed)
Acrobat 8 on Friday, I had also installed Ad-Aware and Spybot
(actually, our support group did this). Would either of these
applications affect the generation of the .swf files? I'm getting
pretty panicked about now. -- Thanks, LindaWe discovered that the windows ftp program used to upload the files messed them up. Probably transfer as text or something.
-
Need Help, Finding a site for uploading swf files
[moved from AS3 forum by moderator - is not an AS3 discussion]
Alright, so I'm kind of new to these forums. I searched them thoroughly several times, but couldn't a find a section for what I exactly needed. I used an older version of Flash and actionscript to make some interactive games and then exported them.
I've found plenty of sites that allow uploading of a variety of files, including flash based ones. The problem is that these sites are either for storage, downloading the file onto one's computer, or that they would have to go to a specific link to play the game.
What I want is to be able to place a file onto an uploading site and be able to embed it (I think that's the word) to my own site/forums. That way the game can be played on a site and or discussion forum, without members having to go to another site or downloading the game.
What file uploading site would you recommend for this? I've already tried several, but they don't allow embedding files. I would prefer for the site to be free, as I don't have enough files to make it worth paying a monthly fee.
Thanks in advance for any replies/information!Yes, why not upload it to your own website. Most of sites are not support swf file, but support flv file. To upload swf to your website you can use the code like
<object width="300" height="300">
<param name="movie" value="flashmovie.swf">
<embed src="flashmovie.swf" width="300" height="300">
</embed>
</object>
If you really need to upload swf to other websites, I think you need to convert your video but that will not a game. But maybe you can try to find some flash game websites. -
Help I need to convert my movie into a SWF file
Does anyone know how I can convert the movie into a swf file for flash?
http://smallbusiness.chron.com/format-iphone-voice-recorder-use-57197.html
ffiti wrote:
In what format are raw Voice Memos files anyways? -
Control loop times in swf file
Hello:
I have a sprite swf its framecount is 45.
How can control for example a loop three times and after that
stop the
animation?t
What parameter do I have to test?
thank you very muchThank you.
Can you tell me where do I put and call this behabiours?
In the frame .There isn't "go to the frame"
and in the sprite does not work.
Thanks
"Rob Dillon - Adobe Community Expert"
<[email protected]> escribi�
en el mensaje
news:[email protected]..
> You could probably test the _currentframe property of
the flash sprite
> and count how many times you see 45.
>
> Something like this might do the job:
>
> --------
> property mycounter
> property loopcount
> property totalFrames
> property thisSprite
>
> on getPropertyDescriptionList
> myPropList = [:]
> myProplist.addProp(#loopcount,[#comment:"number of times
to
>
loop:",#format:#integer,#default:3,#range:[#min:1,#max:10]])
> return myPropList
> end
>
> on beginSprite me
> thisSprite = me.spriteNum
> totalFrames = sprite(thisSprite)._totalframes
> mycounter = 0
> end
>
> on exitFrame me
> if sprite(thisSprite)._currentframe = totalFrames then
> mycounter = mycounter + 1
> end if
> if mycounter = loopcount then -- you're done
> sprite(thisSprite).stop() -- or
sprite(thisSprite).gotoAndStop(1)
> end if
> end
> ----------
>
> --
> Rob
> _______
> Rob Dillon
> Adobe Community Expert
>
http://www.ddg-designs.com
> 412-243-9119
>
>
http://www.macromedia.com/software/trial/ -
Step 1: rotating text, step: 2 publishing movie = empty swf
Hello to everybody,
and thank you for the attenction.
An easy to descipt, but hard to solve issue:
(Flash CS4).
I type some text in a flash document.
Then I rotate it with the scale/rotation tool.
Publishing my movie I have an empty swf file.
To solve this problem I had to Break Apart (Command+B) my
text two times, until I've lost text editability.
Is there a way to escape from this?
Thank you very much.
Best reguards.
Stefano Bianchi
TextProblem soved!
You know what?
You have to go in the Text propiety panel, select the "Anti
Alias" menu, and - to mantain visibility of text in the swf movie -
you have to select one of the others voices instead of the "use
device fonts" one.
Best things.
SB -
Continued/ linking .swf file to Dreamweaver
Hi ,
All I need is to link my swf file to a link in my HTML page,
the swf file has its own control buttons created in Captivate that
I need them to be shown in the swf file ratherthan new ones! and I
need all this to be shown as a smaller window in the middle of the
screen where the user can maximise and minimise the way he wants?
so
I have linked my link to HTML ( which is called Harmony.htm)
file atht has the published .swf file in it but I have these
problems:-
1- Once I click on the link the new HTML page is opened but
with this warning:
" Adobe Flash player has stopped a potentially unsafe
operation, the following local application on your computer or
network :
C:\..........\ Harmony_skin.swf is trying to communicate
withthis internet enabled location
c:\.......\Harmony.htm
to let this press ok ..."
I don't want this warning to appear for my users? how to get
rid of it ? or it is normal to have it on the internet I don't
know?
2- the Harmony_skin.swf is the actual movie I have implement
in Captivate which has the control buttons and the colsed
captioning in the middle bottom of the window which I want them to
appear, but when I publish it with the html file (Harmony.html)
they don't appear and for other swf files they appear slightly how
to make them appear? does thim mean I have to control the position
of the swf file in the HTML file ? how to do that?
3- I have seen this link sent to me by steve
http://javascript.about.com/library/blpopup10.htm
But I was not able to understand very well o to do that, I
mean how to control the position of the html window as I am very
new to HTMl and I am not very well practised can you help me in
that pleas?
Attached is my code and when you see the comment <!--here
please--> it is the link I am talking about.
Appreciate your helpSo you want your custom HTML page to open the Captivate movie
in a new window that's centered with the normal browser buttons?
If so, the "centered" part is a bit tricky. There's no way to
determine the exact height of the screen since the browser does not
know how the user's Windows Taskbar is displaying (hidden, one row
high, two rows high, etc). I always take an arbitrary 64 pixels off
the height just in case it's set to 2 rows high.
A suggestion would be to start with the example shown at
bottom, using the following as a reference for what each parameter
in the window.open() method does:
window.open()
Reference at MSDN
Also, you should NOT use spaces in any of your file and
folder names... that can be a problem in some cases.
Cheers,
John -
Help!! How do you build the SWF files?
Hi, I since I am new to Flex & Flex Builder2, I have
tried to recreate an empty swf file, similar to the sample file
"EmptySwf.swf"
However, when I replace the default EmptySwf.swf with mine, I
keep getting: TypeError: Error #1034: Type Coercion failed: cannot
convert flash.display::Sprite@fda2a81 to mx.core.IUIComponent.
Steps to reproduce:
i) I am using Flex Builder 2.0.143459
ii) in the mxml file created when choosing 'Flex Project', I
add the FAbridge information as instructed
<fab:FABridge xmlns:fab="bridge.*" />
(I have also tried using <bridge:FABridge
xmlns:bridge="bridge.*" id="bridgeInst" /> )
iii) Select BuildAll and then copy to the samples folder
(overwriting the original).
iv) The error occurs in the browser.
What gives?
The FA Bridge is supposed to be an easy 'learning curve' to
get into Flex.
This is quickly pushing me away!!!!!Thanks for the prompt reply. Obviously you guys are watching
this forum keenly.
For those others that are new to Flex, I found that creating
an
ActionScript Project in Flex builder to be the way to create
a 'blank' swf file that works.
Note:
- you'll also need to add a library reference:
${FRAMEWORKS}\libs\framework.swc
- you'll still need to add the FABridge reference:
x:\somepath\\FABridge\src
Then, make your main actionscript file look like EmptySwf.as
as shipped with the samples. -
Is it possible to load SWF files from an SQL database?
Hi all, I am very new to flash (I am primarily a C'# developer!) and I have been asked to investigate the possibility of doing the following;
Create an application that allows swf files to be uploaded and stored inside of a SQL database as binary data (Why a database is a long story!)
Allow this binary data to be extracted via a http request to be dynamically loaded inside of a web page.
Now the first part was easy. I have all of my swf's uploaded and stored inside of the database. I have code that can make a request for the binary and write it to the response, so far so good. Now this is where I am stuck.
I thought I could dynamically load the swf binary data by creating a very basic swf that simply contains a movie clip holder and for now a simple loadMovie statement. My idea being that I can could provide a url for the loadMovie statement that returns the swf binary data. This is where I have ground to a halt.
I can see the call being made from the swf, I can see the data being returned but I cannot get it to render. I remember seeing an article some time agao where someone stated that they had used this method with success but I cannot find now. Has anyone ever done anything like? Is it even possible? Am I missing something simple?
I have tried to return both the raw binary data and also used response.write but to no avail. Can anyone help?You are possibly trying to load AS3 swf into an AS2 Container at least the use of loadMovie() points in that direction. Be sure to use AS3 and target at least Flash 9 in your Loader/Main.swf. Also the AS3 concept of how to load swfs differs a lot from the old concept.
Look into the docu:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Loader.ht ml
But the biggest Problem seems to me -what you mentioned- that Loader needs a (defined) URLRepuest and since your swf files have no "real" URL and you surely don`t want to let the user directly write to your server, a workaround would be to write the BinaryStream with AIR-functionality to a local installlation directory and load it then from there. -
Actions not working to imported swf files in Flash Catalyst
Hi,
I have a problem with manipulating my imported swf files (created in Flash professional) in Flash Catalyst CS5. Whenever I add any of the swf control actions to a swf file in the timeline such as 'stop', the animation ignores it and keeps replaying. I tried to add action sequence when a certain button is pressed, and also tried to create 'On application Start' and added 'stop' so that the animation stops immediately when the application opens. No matter what I do, the animation refuses to perform the actions and simply replays. The animation is a simple shape tween between 2 states with no action script attached to it. I published the animation as an swf and exported it to Flash Catalyst. Is there any suggestions whatsoever on why this is happening? Is it something to do with setting up my flash file prior to import? The only way I figured out to stop the animation from playing is adding action script to the flash file in Flash Professional however this is not what I want because I would like the animation to be controlled by components in my flash Catalyst document.
ThanksYou can make you swf a custom component with 2 states.
The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
Then go back to your artboard/project, add your 2 buttons ON & OFF.
For the ON button add interaction "play transition to custom component ON"
For the OFF button add interaction "play transition to custom component OFF"
Here is an example swf_control -
Emdedding swf file as class throws error while previewing the component
Dear all,
I am using Flex SWFLoader to load an animated swf file and added it as a component in xcelsius by add on manager. When i click preview button it throws the folloing error.
TypeError: Error #2023: Class must inherit from Sprite to link to the root.
I am embedding swf file by using the following lines of code
Embed('Animation_1.swf')
public var Animation:Class;
Then i tried to create my class by extending Sprite, i got the same error,
Can you please anyone help me to solve this issue, all i need is the way to emded the swf file as class and using it in xcelsius. The embedded swf class is working fine alone (that is outside to the xcelsius).
Thanks & Regards,
Manimaran.
Edited by: manimaraninfo on Jun 18, 2009 10:47 AM
Edited by: manimaraninfo on Jun 18, 2009 10:48 AMHi
To embed a .swf file in xcelsius using SWFLoader, you have to pass the path of that swf file to the source property of SWFLoader.
By using class concept xcelsius does not get the path of the swf file you have embeded.
In flex It gets that file because that swf file is present in the same directory as your application.
Hope this helps
Regards
Rush-me -
Use a panoramic photo flash file in indesign and export it to a swf file for flipbook
hi,
i haven a 360° panoramic flash file.
when i put this file in indesign and make an export to pdf i can see my panoramic photo.
my problem:
i want to export this file to swf to use it as a flipbook.
but now, my panoramic flash file doesn`t work.
is this possible?
thanks
saschaHi, I have the same issue??
Even when exporting as an interactive pdf.
My problem is that I am trying to figure out how to export my swf embedded file into an interactive pdf.
I have created an interactive presentation with buttons, effects etc. After which I exported to swf so that all the effects work.
But when placing the swf file back into indesign and exporting again as an interactive pdf it doesn't work at all, all I get is a white screen. (I need a pdf for clients basically, they dont want any swf or flash files.)
Even though after placing the swf file, in the media window I ticked play on page load as well as chose a cover image for the swf file. Still just a white screen when exporting.
To repeat, I need to know how to convert my swf file into an interactive pdf.
Any pointers please would be great I have some swf presentations I need to change into pdf as soon as possible or before tomorrow to be exact before our monthly meeting with clients.
Please help -
Audio in .swf file will play on Mac, not on PC ...
here is another one i need help with.
I have a .swf file on the stage. when you press the space
bar, or press a button on the .swf, audio plays. This works
perfectly on a Mac. On a PC, the .swf file annimates as it is
supposed to, but there is no audio. When i open the .swf file in
internet explorer on a PC, it works as it is supposed to, so its
not a problem with my speakers or anything.
Thoughts? ... why would the audio in flash member play on a
Mac and not a PC? ... am I missing a setting somewhere?
thanks a million in advance!
And, in case it matters, this is being deloped with director
MX 2004, Mac 0S 10.5, PC running windows XP.Please don't post the same question to as many forums as you
can find. -
I need to general advice while protyping my website. I'm
creating separate somewhat large swf files for each page of my
website. Therefore, each will need its own html file if I don't
want it take 3 years to go between pages. I'm confused how to link
between the each page using a button in flash. Is this an action
script thing? My links will be static text buttons. Thanks.Thanks. I think I get it, but I want to be sure. I think I
need to be a little clearer:
One SWF file inserted as my entire index.html page. Right now
I have a static text button in the SWF file home page that says
"About Us". I'm designing a new page that will also be its own SWF
file for "About Us". I have a new www.xxxxx.com/aboutus.html page
that I plan to put the file in when finished. In the text button on
the homepage, do I use AS3 URLRequest("
http://www.xxxxxxx.com/aboutus.html")
to navigate. Thanks.
Maybe you are looking for
-
UCM 11g File missing from search result although file is accessable
When I do search without any criteria in UCM 11g, some files missing from search result although I know the files were checked into UCM already since I'm able to see these files using url similar to: http://ucm/cs/idcplg?idcService=GET_FILE&dID=12345
-
Boot Camp wont Partition- Worried about reinstalling Leopard from backup
Hello, I have been unable to create a partition through Boot Camp on my HD so that I can install Windows 7. I keep getting the error message: Cannot be partitioned because some of the files cannot be removed. I have ran Disk Utility and verified and
-
Hi, I have two queries which count the number of lines of the tables of the same schema in two databases . How can I compare the two result set. Thanks in advance
-
App sub-window has locked the use of the Applications.
I cannot access my Applications on my iPad because an app window is open and has locked the use of the Applications. How can I unlock this?
-
No Inventory record generated for zero stock check
Hi All, The issue is no inventory record created for zero stock check. prerequisite: 1. I activated the zero stock check for the storage type in warehouse, 2. I also activate the PZ inventory method for zero stock check for this storage type. 3. sto