Page 1 of 1

F-IN-BOX - slow motion !?!?

Posted: Sun Nov 22, 2009 8:37 pm
by superbabicka
Hi, however I try your .NET demo version of F-IN-BOX ... it's really great class for designer who know flash ...

A will buy F-In-BOX soon, but when i test my game with f-in-box, i notice that flash movie work with SLOW MOTION frame rate...

So my flash movie is for offline users and "normally" i put "Allow Smoothing " to all images in flash content and now my flash swf is 5-6 MB. Also I use SQLite database for scores and so on...

The frame rate that i use in my swf game is 35, also I try to publish again with compress and JPG quality 50% but nothing happen - its still slow motion.

When I put my game in AxShockwaveFlashObject class ... the swf works very well...


Any suggestion ?

Thanks!

Posted: Mon Nov 23, 2009 11:05 am
by Softanics
Thank you for your question.

What class you use, f_in_box__control or f_in_box__form ?

Thank you.

Posted: Fri Dec 11, 2009 1:55 pm
by superbabicka
So i try with :

Dim code As New f_in_box__lib.AxCode(StreamWithFlashOCXCode)
f_in_box__control1 = New f_in_box__lib.f_in_box__form(code)

but how to use on:

Dim FlashPlayerForm As New MyTranslucencyForm -> here (code) is not aceppted

Thanks

Posted: Sun Dec 13, 2009 2:27 pm
by Softanics
superbabicka wrote:So i try with :

Dim code As New f_in_box__lib.AxCode(StreamWithFlashOCXCode)
f_in_box__control1 = New f_in_box__lib.f_in_box__form(code)

but how to use on:

Dim FlashPlayerForm As New MyTranslucencyForm -> here (code) is not aceppted


You mean that you get a compilation error?...

Thank you.

Posted: Mon Dec 14, 2009 12:01 am
by superbabicka
So, the AxCode works very well with Normal VB Form, (woth no transparency). but AxCode is used like:

Code: Select all

Dim code As New f_in_box__lib.AxCode(StreamWithFlashOCXCode)
f_in_box__control1 = New f_in_box__lib.f_in_box__form(code)
etc...


And with AxCode (Flash10e.ocx) the SWF work in 35 frame rate excellent , but when I want to make translucency form with F-In-box like some king of "widget", (let's say) I must use:

Code: Select all

Dim FlashPlayerForm As New MyTranslucencyForm

because of translucency.

Now, here the SWF works SLOW MOTION with my 35 frame rate.

My question is how to use MyTranslucencyForm with AxCode together ?

Thanks!

Posted: Mon Dec 14, 2009 11:17 am
by Softanics
superbabicka wrote:My question is how to use MyTranslucencyForm with AxCode together ?


I see.

Please use the code below:

Code: Select all

Public Class MyTranslucencyForm
...
    Public Sub New(ByVal axcode As f_in_box__lib.AxCode)

        MyBase.New(axcode)

        InitializeComponent()

    End Sub
...


Usage:

Code: Select all

Dim FlashPlayerForm As New MyTranslucencyForm(YourAxCode)


Thank you.